public class QueryParameters
extends java.lang.Object
Constructor and Description |
---|
QueryParameters() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getGroupByColumns() |
java.lang.Long |
getLimit() |
java.lang.Long |
getOffset() |
AscDesc |
getOrderAscDesc()
Returns order ASCENDING or DESCENDING, see (
AscDesc.ASCENDING ). |
java.lang.String[] |
getOrderByColumns() |
QueryParameters |
setGroupByColumns(java.lang.String... groupByColumns) |
QueryParameters |
setLimit(java.lang.Long limit)
Sets LIMIT keyword for query.
|
QueryParameters |
setOffset(java.lang.Long offset) |
QueryParameters |
setOrderAscDesc(AscDesc orderAscDesc) |
QueryParameters |
setOrderByColumns(java.lang.String... orderByColumns) |
public java.lang.Long getLimit()
public QueryParameters setLimit(java.lang.Long limit)
limit
- limit of rows for query to processpublic java.lang.Long getOffset()
public QueryParameters setOffset(java.lang.Long offset)
public java.lang.String[] getGroupByColumns()
public QueryParameters setGroupByColumns(java.lang.String... groupByColumns)
public java.lang.String[] getOrderByColumns()
public QueryParameters setOrderByColumns(java.lang.String... orderByColumns)
public AscDesc getOrderAscDesc()
AscDesc.ASCENDING
).
By default order is ASCENDING.public QueryParameters setOrderAscDesc(AscDesc orderAscDesc)