Package | Description |
---|---|
org.springframework.data.gemfire.repository.query |
Modifier and Type | Class and Description |
---|---|
class |
PagedQueryString
QueryString implementation handling paging functionality and behavior. |
Modifier and Type | Method and Description |
---|---|
QueryString |
QueryString.adjustLimit(Integer limit)
|
QueryString |
QueryString.asDistinct()
Replaces an OQL SELECT query with an OQL SELECT DISTINCT query if the
query
is not already distinct; i.e. does not contain the DISTINCT OQL keyword. |
QueryString |
QueryString.bindIn(Collection<?> values)
Binds the given
Collection of values into the first IN parameter of the OQL Query
(String ) by expanding the given values into a comma-separated list. |
static QueryString |
QueryString.count(Class<?> domainType)
Factory method used to construct a new instance of
QueryString that creates an OQL query
to count the number of objects of the specified application domain model type . |
static QueryString |
QueryString.from(Class<?> domainType)
Factory method used to construct a new instance of
QueryString initialized with the given
application domain model type from which the OQL query will be created. |
QueryString |
QueryString.fromRegion(Class<?> domainType,
org.apache.geode.cache.Region<?,?> region)
Deprecated.
|
QueryString |
QueryString.fromRegion(org.apache.geode.cache.Region<?,?> region,
Class<?> domainType)
|
protected QueryString |
StringBasedGemfireRepositoryQuery.getQuery()
Returns a reference to the
managed query . |
static QueryString |
QueryString.of(String query)
Factory method used to construct a new instance of
QueryString initialized with
the given OQL query statement . |
QueryString |
QueryString.orderBy(org.springframework.data.domain.Sort sort)
Appends the
Sort order to this GemFire OQL Query string. |
QueryString |
QueryString.withHints(String... hints)
Applies HINTS to the OQL Query.
|
QueryString |
QueryString.withImport(String importExpression)
Applies an IMPORT to the OQL Query.
|
QueryString |
QueryString.withLimit(Integer limit)
Applies a LIMIT to the OQL Query.
|
QueryString |
QueryString.withTrace()
Applies TRACE logging to the OQL Query.
|
Modifier and Type | Method and Description |
---|---|
static PagedQueryString |
PagedQueryString.of(QueryString queryString)
Factory method used to construct a new instance of
PagedQueryString from an existing, non-null
QueryString . |
protected String |
StringBasedGemfireRepositoryQuery.prepareQuery(org.springframework.data.repository.query.QueryMethod queryMethod,
QueryString query,
Object[] arguments)
Prepares the OQL query statement to execute.
|
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.