org.d2rq.db.op
Class DistinctOp

java.lang.Object
  extended by org.d2rq.db.op.DatabaseOp.Wrapper
      extended by org.d2rq.db.op.DistinctOp
All Implemented Interfaces:
DatabaseOp

public class DistinctOp
extends DatabaseOp.Wrapper

Removes duplicates from the wrapped DatabaseOp.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.d2rq.db.op.DatabaseOp
DatabaseOp.Wrapper
 
Field Summary
 
Fields inherited from interface org.d2rq.db.op.DatabaseOp
TRUE
 
Constructor Summary
DistinctOp(DatabaseOp wrapped)
           
 
Method Summary
 void accept(OpVisitor visitor)
           
 boolean equals(Object o)
           
 Collection<Key> getUniqueKeys()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.d2rq.db.op.DatabaseOp.Wrapper
getColumns, getColumnType, getTableName, getWrapped, hasColumn, isNullable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistinctOp

public DistinctOp(DatabaseOp wrapped)
Method Detail

getUniqueKeys

public Collection<Key> getUniqueKeys()
Specified by:
getUniqueKeys in interface DatabaseOp
Overrides:
getUniqueKeys in class DatabaseOp.Wrapper

accept

public void accept(OpVisitor visitor)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object