Class PagedQueryString
java.lang.Object
org.springframework.data.gemfire.repository.query.QueryString
org.springframework.data.gemfire.repository.query.PagedQueryString
QueryString
implementation handling paging functionality and behavior.- Since:
- 2.4.0
- See Also:
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.repository.query.QueryString
COUNT_PROJECTION, COUNT_QUERY, HINT_PATTERN, HINTS_OQL_TEMPLATE, IMPORT_OQL_TEMPLATE, IMPORT_PATTERN, IN_PARAMETER_PATTERN, IN_PATTERN, IN_VALUES_TEMPLATE, LIMIT_OQL_TEMPLATE, LIMIT_PATTERN, REGION_PATTERN, SELECT_OQL_TEMPLATE, STAR_PROJECTION, STAR_QUERY, TRACE_OQL_TEMPLATE, TRACE_PATTERN
-
Constructor Summary
ConstructorDescriptionPagedQueryString
(String query) Constructs a new instance ofPagedQueryString
initialized with the given OQL-based query. -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<GemfireQueryMethod>
static PagedQueryString
Factory method used to construct a new instance ofPagedQueryString
initialized with the given OQL-based query.static PagedQueryString
of
(QueryString queryString) Factory method used to construct a new instance ofPagedQueryString
from an existing, non-nullQueryString
.withQueryMethod
(GemfireQueryMethod queryMethod) Methods inherited from class org.springframework.data.gemfire.repository.query.QueryString
adjustLimit, asDistinct, bindIn, count, from, fromRegion, fromRegion, getDigitsOnly, getInParameterIndexes, getLimit, getQuery, isLimited, orderBy, toString, withHints, withImport, withLimit, withTrace
-
Constructor Details
-
PagedQueryString
Constructs a new instance ofPagedQueryString
initialized with the given OQL-based query.- Parameters:
query
-String
containing the OQL query statement.- Throws:
IllegalArgumentException
- if theOQL query
is null or empty.
-
-
Method Details
-
of
Factory method used to construct a new instance ofPagedQueryString
from an existing, non-nullQueryString
.- Parameters:
queryString
-QueryString
on which thePagedQueryString
will be based.- Returns:
- a new instance of
PagedQueryString
initialized with the OQL query from the givenQueryString
. - Throws:
IllegalArgumentException
- ifQueryString
is null.- See Also:
-
of
Factory method used to construct a new instance ofPagedQueryString
initialized with the given OQL-based query.- Parameters:
query
-String
containing the OQL query statement.- Returns:
- a new instance of
PagedQueryString
initialized with the given OQL-based query. - Throws:
IllegalArgumentException
- if theOQL query
is null or empty.- See Also:
-
getQueryMethod
-
withQueryMethod
-