public interface SelectStatement extends Statement<SelectStatement,RowResult>
Statement.LockContention| Modifier and Type | Method | Description |
|---|---|---|
FilterParams |
getFilterParams() |
Return
FilterParams defined for this statement. |
SelectStatement |
groupBy(String... groupBy) |
Add/replace the aggregation fields for this query.
|
SelectStatement |
having(String having) |
Add/replace the aggregate criteria for this query.
|
SelectStatement |
limit(long numberOfRows) |
Add/replace the row limit for this query.
|
SelectStatement |
lockExclusive() |
Locks matching rows exclusively so no other transactions can read or write to them.
|
SelectStatement |
lockExclusive(Statement.LockContention lockContention) |
Locks matching rows exclusively so no other transactions can read or write to them, using the provided lock contention option.
|
SelectStatement |
lockShared() |
Locks matching rows against updates.
|
SelectStatement |
lockShared(Statement.LockContention lockContention) |
Locks matching rows against updates using the provided lock contention option.
|
SelectStatement |
offset(long limitOffset) |
Add/replace the row offset for this query.
|
SelectStatement |
orderBy(String... sortFields) |
Add/replace the order specification for this query.
|
SelectStatement |
where(String searchCondition) |
Add/replace the search condition for this query.
|
bind, bind, bind, bind, clearBindings, execute, executeAsyncSelectStatement where(String searchCondition)
searchCondition - search condition expressionSelectStatementSelectStatement groupBy(String... groupBy)
groupBy - groupBy expressionSelectStatementSelectStatement having(String having)
having - having expressionSelectStatementSelectStatement orderBy(String... sortFields)
sortFields - sort expressionSelectStatementSelectStatement limit(long numberOfRows)
numberOfRows - limitSelectStatementSelectStatement offset(long limitOffset)
limitOffset - limit offsetSelectStatementSelectStatement lockShared()
SelectStatementSelectStatement lockShared(Statement.LockContention lockContention)
lockContention - The Statement.LockContention value to set.SelectStatementSelectStatement lockExclusive()
SelectStatementSelectStatement lockExclusive(Statement.LockContention lockContention)
lockContention - The Statement.LockContention value to set.SelectStatementFilterParams getFilterParams()
FilterParams defined for this statement.FilterParams