Class CriteriaQuery
java.lang.Object
com.oracle.nosql.spring.data.core.query.NosqlQuery
com.oracle.nosql.spring.data.core.query.CriteriaQuery
-
Field Summary
Fields inherited from class com.oracle.nosql.spring.data.core.query.NosqlQuery
isCount, limit, pageable, sort
-
Constructor Summary
ConstructorsConstructorDescriptionCriteriaQuery
(Criteria criteria, org.springframework.data.mapping.context.MappingContext<?, NosqlPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptiongenerateSql
(String tableName, Map<String, Object> params, String idPropertyName, NosqlPersistentEntity<?> entity) getCriteriaByType
(CriteriaType criteriaType) org.springframework.data.domain.Pageable
Limit the number of returned rows tolimit
.project
(org.springframework.data.repository.query.ReturnedType returnedType) setCount
(boolean isCount) setDistinct
(boolean isDistinct) with
(org.springframework.data.domain.Pageable pageable) with
(org.springframework.data.domain.Sort sort) Methods inherited from class com.oracle.nosql.spring.data.core.query.NosqlQuery
getLimit, getSort, isCount
-
Constructor Details
-
CriteriaQuery
public CriteriaQuery(@Nullable Criteria criteria, org.springframework.data.mapping.context.MappingContext<?, NosqlPersistentProperty> mappingContext)
-
-
Method Details
-
with
- Overrides:
with
in classNosqlQuery
-
with
- Overrides:
with
in classNosqlQuery
-
limit
Limit the number of returned rows tolimit
.- Overrides:
limit
in classNosqlQuery
-
setCount
- Overrides:
setCount
in classNosqlQuery
-
getCriteria
-
getPageable
public org.springframework.data.domain.Pageable getPageable() -
getCriteriaByType
-
generateSql
public String generateSql(String tableName, Map<String, Object> params, String idPropertyName, NosqlPersistentEntity<?> entity) - Specified by:
generateSql
in classNosqlQuery
-
setDistinct
-
project
-