public class PlainSelect extends Object implements SelectBody
| Constructor and Description |
|---|
PlainSelect() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectVisitor selectVisitor) |
void |
addSelectItems(SelectItem... items) |
Distinct |
getDistinct() |
static String |
getFormatedList(List<?> list,
String expression) |
static String |
getFormatedList(List<?> list,
String expression,
boolean useComma,
boolean useBrackets) |
FromItem |
getFromItem()
The
FromItem in this query |
List<Expression> |
getGroupByColumnReferences()
A list of
Expressions of the GROUP BY clause. |
Expression |
getHaving() |
List<Table> |
getIntoTables() |
List<Join> |
getJoins()
The list of
Joins |
Limit |
getLimit() |
OracleHierarchicalExpression |
getOracleHierarchical() |
List<OrderByElement> |
getOrderByElements() |
List<SelectItem> |
getSelectItems()
The
SelectItems in this query (for example the A,B,C in "SELECT
A,B,C") |
static String |
getStringList(List<?> list)
List the toString out put of the objects in the List comma separated.
|
static String |
getStringList(List<?> list,
boolean useComma,
boolean useBrackets)
List the toString out put of the objects in the List that can be comma
separated.
|
Top |
getTop() |
Expression |
getWhere() |
boolean |
isOracleSiblings() |
static String |
orderByToString(boolean oracleSiblings,
List<OrderByElement> orderByElements) |
static String |
orderByToString(List<OrderByElement> orderByElements) |
void |
setDistinct(Distinct distinct) |
void |
setFromItem(FromItem item) |
void |
setGroupByColumnReferences(List<Expression> list) |
void |
setHaving(Expression expression) |
void |
setIntoTables(List<Table> intoTables) |
void |
setJoins(List<Join> list) |
void |
setLimit(Limit limit) |
void |
setOracleHierarchical(OracleHierarchicalExpression oracleHierarchical) |
void |
setOracleSiblings(boolean oracleSiblings) |
void |
setOrderByElements(List<OrderByElement> orderByElements) |
void |
setSelectItems(List<SelectItem> list) |
void |
setTop(Top top) |
void |
setWhere(Expression where) |
String |
toString() |
public List<SelectItem> getSelectItems()
SelectItems in this query (for example the A,B,C in "SELECT
A,B,C")SelectItemspublic Expression getWhere()
public void setFromItem(FromItem item)
public void setSelectItems(List<SelectItem> list)
public void addSelectItems(SelectItem... items)
public void setWhere(Expression where)
public void accept(SelectVisitor selectVisitor)
accept in interface SelectBodypublic List<OrderByElement> getOrderByElements()
public void setOrderByElements(List<OrderByElement> orderByElements)
public Limit getLimit()
public void setLimit(Limit limit)
public Top getTop()
public void setTop(Top top)
public Distinct getDistinct()
public void setDistinct(Distinct distinct)
public Expression getHaving()
public void setHaving(Expression expression)
public List<Expression> getGroupByColumnReferences()
Expressions of the GROUP BY clause. It is null in case
there is no GROUP BY clauseExpressionspublic void setGroupByColumnReferences(List<Expression> list)
public OracleHierarchicalExpression getOracleHierarchical()
public void setOracleHierarchical(OracleHierarchicalExpression oracleHierarchical)
public boolean isOracleSiblings()
public void setOracleSiblings(boolean oracleSiblings)
public static String orderByToString(List<OrderByElement> orderByElements)
public static String orderByToString(boolean oracleSiblings, List<OrderByElement> orderByElements)
public static String getFormatedList(List<?> list, String expression, boolean useComma, boolean useBrackets)
public static String getStringList(List<?> list)
list - list of objects with toString methodsgetStringList(List, boolean, boolean)public static String getStringList(List<?> list, boolean useComma, boolean useBrackets)
list - list of objects with toString methodsuseComma - true if the list has to be comma separateduseBrackets - true if the list has to be enclosed in bracketsCopyright © 2004–2014 JSQLParser. All rights reserved.