Interface Select
AST for a
SELECT statement. Visiting order:
- Self
SELECT columnsFROM tablesclauseJOINsWHEREconditionORDER BY fields
- Since:
- 1.1
- Author:
- Mark Paluch, Myeonghyeon Lee
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelectBuilderbuilder()Creates a newSelectBuilder.getFrom()getLimit()Optional limit.@Nullable LockModeOptional offset.booleanFlag if this select is to return distinct rows.
-
Method Details
-
builder
Creates a newSelectBuilder.- Returns:
- a new
SelectBuilder.
-
getFrom
From getFrom() -
getOrderBy
List<OrderByField> getOrderBy() -
getLimit
OptionalLong getLimit()Optional limit. Used for limit/offset paging.- Returns:
-
getOffset
OptionalLong getOffset()Optional offset. Used for limit/offset paging.- Returns:
-
isDistinct
boolean isDistinct()Flag if this select is to return distinct rows.- Returns:
-
getLockMode
@Nullable LockMode getLockMode()
-