public abstract class BaseQuery extends Object implements Query
Modifier and Type | Class and Description |
---|---|
static class |
BaseQuery.BaseQueryBuilder<Q extends BaseQuery,SELF extends BaseQuery.BaseQueryBuilder<Q,SELF>> |
protected static class |
BaseQuery.QueryData
Data container that holds the state of a query object.
|
Modifier | Constructor and Description |
---|---|
protected |
BaseQuery(BaseQuery.QueryData queryData) |
Modifier and Type | Method and Description |
---|---|
Set<QueryHint> |
getHints()
The hints to apply when executing the query.
|
Integer |
getLimit()
The maximum number of results.
|
Integer |
getOffset()
The offset of the first result.
|
Predicate |
getPredicate()
The predicate to match.
|
List<Ordering> |
getSorting()
The order criteria to sort the results.
|
String |
toString() |
protected BaseQuery(BaseQuery.QueryData queryData)
public Predicate getPredicate()
Query
getPredicate
in interface Query
public Integer getOffset()
Query
public Integer getLimit()
Query
public List<Ordering> getSorting()
Query
getSorting
in interface Query
public Set<QueryHint> getHints()
Query
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.