net.sf.jsqlparser.statement.select
Class Distinct

java.lang.Object
  extended by net.sf.jsqlparser.statement.select.Distinct

public class Distinct
extends java.lang.Object

A DISTINCT [ON (expression, ...)] clause


Field Summary
private  java.util.List onSelectItems
           
 
Constructor Summary
Distinct()
           
 
Method Summary
 java.util.List getOnSelectItems()
          A list of SelectItems expressions, as in "select DISTINCT ON (a,b,c) a,b FROM..."
 void setOnSelectItems(java.util.List list)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

onSelectItems

private java.util.List onSelectItems
Constructor Detail

Distinct

public Distinct()
Method Detail

getOnSelectItems

public java.util.List getOnSelectItems()
A list of SelectItems expressions, as in "select DISTINCT ON (a,b,c) a,b FROM..."

Returns:
a list of SelectItems expressions

setOnSelectItems

public void setOnSelectItems(java.util.List list)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object