Package | Description |
---|---|
org.springframework.data.gemfire.repository.query |
Modifier and Type | Method and Description |
---|---|
QueryString |
QueryString.asDistinct()
Replaces the SELECT query with a SELECT DISTINCT query if the
query
is not already distinct; i.e. does not contain the DISTINCT keyword. |
QueryString |
QueryString.bindIn(Collection<?> values)
Binds the given
Collection of values into the IN parameters of the OQL Query by expanding
the given values into a comma-separated String . |
static QueryString |
QueryString.count(Class<?> domainType)
Factory method used to construct an instance of
QueryString initialized with
the given domain type for which a count query will be created. |
static QueryString |
QueryString.from(Class<?> domainType)
Factory method used to construct an instance of
QueryString initialized with
the given domain type for which the query will be created. |
QueryString |
QueryString.fromRegion(Class<?> domainClass,
org.apache.geode.cache.Region<?,?> region)
|
protected QueryString |
StringBasedGemfireRepositoryQuery.getQuery()
Returns a reference to the
managed query . |
static QueryString |
QueryString.of(String query)
Factory method used to construct an instance of
QueryString initialized with the given query . |
QueryString |
QueryString.orderBy(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.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.