public interface IRetrievalSchema
Modifier and Type | Method and Description |
---|---|
ISortExpression |
addSortExpression(java.lang.String memberName,
ISortExpression.SortDirection sortDirection)
Adds a new sort expression to this request based on the given parameters.
|
void |
addSortExpressions(ISortExpression... sortExpressions)
Adds all <field,direction> tuples in the Map sort as SortExpressions to this request
|
void |
clearSortExpressions()
Removes all sort expressions from the list of sort expressions of this request.
|
long |
getAmount()
Returns the count of the result rows to be retrieved.
|
long |
getOffset()
Returns the start row from where the result will be retrieved.
|
java.util.List<? extends ISortExpression> |
getSortExpressions()
Returns the sort expressions which are used to sort the result data of this request.
|
void |
removeSortExpression(ISortExpression sortExpression)
Removes a sort expression from the list of sort expressions of this request.
|
void |
setAmount(long amount)
Sets the count of the result rows to be retrieved.
|
void |
setOffset(long offset)
Sets the start row from where the result will be retrieved.
|
long getOffset()
void setOffset(long offset)
long getAmount()
void setAmount(long amount)
java.util.List<? extends ISortExpression> getSortExpressions()
void addSortExpressions(ISortExpression... sortExpressions)
sortExpressions
- the sort expressions.ISortExpression addSortExpression(java.lang.String memberName, ISortExpression.SortDirection sortDirection)
memberName
- the member on which the query result must be sortedsortDirection
- the sort orderISortExpression
void removeSortExpression(ISortExpression sortExpression)
void clearSortExpressions()