@Documented @Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) public @interface Query
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
allowFiltering
Specifies whether to allow filtering using query derivation without a
string query. |
boolean |
count
Returns whether the defined query should be executed as a count projection.
|
boolean |
exists
Returns whether the defined query should be executed as an exists projection.
|
Query.Idempotency |
idempotent
Specifies whether the
CQL query is
Request.isIdempotent(). |
String |
value
A Cassandra CQL3 string to define the actual query to be executed.
|
public abstract String value
?0, ?1, etc are
supported.public abstract boolean allowFiltering
string query.public abstract Query.Idempotency idempotent
CQL query is
Request.isIdempotent(). SELECT statements are considered
idempotent by default.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.