public class BasicQuery extends Query
| Constructor and Description |
|---|
BasicQuery(QueryCriteriaDefinition criteria,
Map<String,String> projectionFields) |
BasicQuery(Query query,
Map<String,String> projectionFields)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isSorted() |
void |
setProjectionFields(Map<String,String> projectionFields)
Set the fields (projection)
CouchbaseDocument. |
void |
setSort(org.springframework.data.domain.Sort sort)
Set the sort
CouchbaseDocument. |
addCriteria, appendSkipAndLimit, appendSort, appendString, appendWhere, appendWhereString, buildQueryOptions, distinct, distinct, export, getCriteriaList, getDistinctFields, getMeta, getN1qlSpelValues, getN1qlSpelValues, getScanConsistency, isDistinct, limit, query, scanConsistency, setMeta, setNamedParameters, setPositionalParameters, skip, toN1qlRemoveString, toN1qlSelectString, toN1qlSelectString, toN1qlSelectString, with, with, withoutSortpublic BasicQuery(Query query, Map<String,String> projectionFields)
query - must not be null.projectionFields - must not be null.IllegalArgumentException - when sortObject or fieldsObject is null.public BasicQuery(QueryCriteriaDefinition criteria, Map<String,String> projectionFields)
public void setSort(org.springframework.data.domain.Sort sort)
CouchbaseDocument.sort - must not be null.IllegalArgumentException - when sortObject is null.public boolean isSorted()
public void setProjectionFields(Map<String,String> projectionFields)
CouchbaseDocument.projectionFields - must not be null.IllegalArgumentException - when fieldsObject is null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.