net.sf.jsqlparser.statement.select
Class Distinct
java.lang.Object
net.sf.jsqlparser.statement.select.Distinct
public class Distinct
- extends java.lang.Object
A DISTINCT [ON (expression, ...)] clause
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
onSelectItems
private java.util.List onSelectItems
Distinct
public Distinct()
getOnSelectItems
public java.util.List getOnSelectItems()
- A list of
SelectItem
s expressions, as in "select DISTINCT ON (a,b,c) a,b FROM..."
- Returns:
- a list of
SelectItem
s expressions
setOnSelectItems
public void setOnSelectItems(java.util.List list)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object