Interface Select
AST for a
SELECT
statement. Visiting order:
- Self
SELECT columns
FROM tables
clauseJOINs
WHERE
conditionORDER BY fields
- Since:
- 1.1
- Author:
- Mark Paluch, Myeonghyeon Lee
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelectBuilder
builder()
Creates a newSelectBuilder
.getFrom()
getLimit()
Optional limit.Optional offset.boolean
Flag 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
-