Unique (query directive)
From WandoraWiki
Description
Removes duplicate rows from the result of inner query.
Constructor
Unique(Directive directive)
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") ) )