Unique (query directive)
From WandoraWiki
(Difference between revisions)
Latest revision as of 11:37, 24 August 2009
[edit] Description
Removes duplicate rows from the result of inner query.
[edit] Constructor
Unique(Directive directive)
[edit] Examples
Following example gets the union of instances and subclasses but removes duplicate rows.
importPackage(org.wandora.query2); importPackage(org.wandora.topicmap); new Unique( new Union( new Instances(), new Players(XTMPSI.SUPERCLASS_SUBCLASS,XTMPSI.SUBCLASS) .whereInputIs(XTMPSI.SUPERCLASS).as("#DEFAULT") ) )