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() |
Fetch |
getFetch() |
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
Expression s of the GROUP BY clause. |
Expression |
getHaving() |
List<Table> |
getIntoTables() |
List<Join> |
getJoins()
The list of
Join s |
Limit |
getLimit() |
Offset |
getOffset() |
OracleHierarchicalExpression |
getOracleHierarchical() |
List<OrderByElement> |
getOrderByElements() |
List<SelectItem> |
getSelectItems()
The
SelectItem s 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 |
isForUpdate() |
boolean |
isOracleSiblings() |
static String |
orderByToString(boolean oracleSiblings,
List<OrderByElement> orderByElements) |
static String |
orderByToString(List<OrderByElement> orderByElements) |
void |
setDistinct(Distinct distinct) |
void |
setFetch(Fetch fetch) |
void |
setForUpdate(boolean forUpdate) |
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 |
setOffset(Offset offset) |
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 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)
The same as getStringList(list, true, false)
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 bracketspublic void setFromItem(FromItem item)
public List<SelectItem> getSelectItems()
SelectItem
s in this query (for example the A,B,C in "SELECT
A,B,C")SelectItem
spublic void setSelectItems(List<SelectItem> list)
public Expression getWhere()
public void setWhere(Expression where)
public void addSelectItems(SelectItem... items)
public void accept(SelectVisitor selectVisitor)
accept
in interface SelectBody
public List<OrderByElement> getOrderByElements()
public void setOrderByElements(List<OrderByElement> orderByElements)
public Limit getLimit()
public void setLimit(Limit limit)
public Offset getOffset()
public void setOffset(Offset offset)
public Fetch getFetch()
public void setFetch(Fetch fetch)
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()
Expression
s of the GROUP BY clause. It is null in case
there is no GROUP BY clauseExpression
spublic void setGroupByColumnReferences(List<Expression> list)
public OracleHierarchicalExpression getOracleHierarchical()
public void setOracleHierarchical(OracleHierarchicalExpression oracleHierarchical)
public boolean isOracleSiblings()
public void setOracleSiblings(boolean oracleSiblings)
public boolean isForUpdate()
public void setForUpdate(boolean forUpdate)
Copyright © 2006–2018 TinyGroup. All rights reserved.