public interface SelectStatement extends Statement<SelectStatement,RowResult>
Statement.LockContention
Modifier and Type | Method and Description |
---|---|
FilterParams |
getFilterParams()
Return
FilterParams defined for this statement. |
SelectStatement |
groupBy(java.lang.String... groupBy)
Add/replace the aggregation fields for this query.
|
SelectStatement |
having(java.lang.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(java.lang.String... sortFields)
Add/replace the order specification for this query.
|
SelectStatement |
where(java.lang.String searchCondition)
Add/replace the search condition for this query.
|
bind, bind, bind, bind, clearBindings, execute, executeAsync
SelectStatement where(java.lang.String searchCondition)
searchCondition
- search condition expressionSelectStatement
SelectStatement groupBy(java.lang.String... groupBy)
groupBy
- groupBy expressionSelectStatement
SelectStatement having(java.lang.String having)
having
- having expressionSelectStatement
SelectStatement orderBy(java.lang.String... sortFields)
sortFields
- sort expressionSelectStatement
SelectStatement limit(long numberOfRows)
numberOfRows
- limitSelectStatement
SelectStatement offset(long limitOffset)
limitOffset
- limit offsetSelectStatement
SelectStatement lockShared()
SelectStatement
SelectStatement lockShared(Statement.LockContention lockContention)
lockContention
- The Statement.LockContention
value to set.SelectStatement
SelectStatement lockExclusive()
SelectStatement
SelectStatement lockExclusive(Statement.LockContention lockContention)
lockContention
- The Statement.LockContention
value to set.SelectStatement
FilterParams getFilterParams()
FilterParams
defined for this statement.FilterParams