public class Select<T extends Select<T>> extends StatementSqlBuilder implements Statement
Modifier and Type | Field and Description |
---|---|
protected PlainSelect |
plainSelect |
stringBuilder
Modifier | Constructor and Description |
---|---|
protected |
Select() |
Modifier and Type | Method and Description |
---|---|
Select |
copy() |
static CustomSelectItem |
customSelectItem(String format,
SelectItem... selectItems) |
T |
forUpdate() |
T |
from(FromItem... fromItems) |
T |
from(FromItem fromItem) |
String |
getId() |
PlainSelect |
getPlainSelect() |
T |
groupBy(Expression... expressions) |
T |
having(Condition condition) |
void |
id(String id)
语句的标识,仅用于日志记录时更清晰
|
T |
join(Join... joins) |
protected Select |
newSelect() |
T |
orderBy(OrderByElement... orderByElements) |
protected void |
parserStatementBody() |
static Select |
select(SelectItem... selectItems) |
static Select |
selectFrom(Table... tables) |
void |
setPlainSelect(PlainSelect plainSelect) |
String |
toString() |
T |
where(Condition condition) |
addParamName, addParamValue, and, appendSql, build, deparseFetch, deparseJoin, deparseLimit, deparseOffset, deparseOrderBy, deparseOrderBy, getLimitString, getNamedList, getStringBuilder, getValues, isNamedSql, isUseBracketsInExprList, mapValue, newSql, or, parsedSql, reset, setUseBracketsInExprList, sql, visitBinaryExpression, visitOldOracleJoinBinaryExpression
protected PlainSelect plainSelect
public static Select select(SelectItem... selectItems)
public static CustomSelectItem customSelectItem(String format, SelectItem... selectItems)
public String getId()
public PlainSelect getPlainSelect()
public void setPlainSelect(PlainSelect plainSelect)
public T groupBy(Expression... expressions)
public T orderBy(OrderByElement... orderByElements)
public T forUpdate()
protected void parserStatementBody()
parserStatementBody
in class StatementSqlBuilder
public Select copy()
protected Select newSelect()
Copyright © 2006–2018 TinyGroup. All rights reserved.