Class NosqlQuery
java.lang.Object
com.oracle.nosql.spring.data.core.query.NosqlQuery
- Direct Known Subclasses:
CriteriaQuery
,StringQuery
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
generateSql
(String tableName, Map<String, Object> params, String idPropertyName, NosqlPersistentEntity<?> entity) getLimit()
org.springframework.data.domain.Sort
getSort()
boolean
isCount()
Limit the number of returned rows tolimit
.setCount
(boolean isCount) with
(org.springframework.data.domain.Pageable pageable) with
(org.springframework.data.domain.Sort sort)
-
Field Details
-
sort
protected org.springframework.data.domain.Sort sort -
pageable
protected org.springframework.data.domain.Pageable pageable -
limit
-
isCount
protected boolean isCount
-
-
Constructor Details
-
NosqlQuery
public NosqlQuery()
-
-
Method Details
-
with
-
with
-
limit
Limit the number of returned rows tolimit
. Null if no limit. -
getLimit
-
getSort
public org.springframework.data.domain.Sort getSort() -
generateSql
-
setCount
-
isCount
public boolean isCount()
-