Class AnalyticsQuery
java.lang.Object
org.springframework.data.couchbase.core.query.AnalyticsQuery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
limit
(int limit) Limit the number of returned documents tolimit
.skip
(long skip) Set number of documents to skip before returning results.Sets the given pagination information on theAnalyticsQuery
instance.Adds aSort
to theAnalyticsQuery
instance.
-
Constructor Details
-
AnalyticsQuery
public AnalyticsQuery()
-
-
Method Details
-
skip
Set number of documents to skip before returning results.- Parameters:
skip
-- Returns:
-
limit
Limit the number of returned documents tolimit
.- Parameters:
limit
-- Returns:
-
with
Sets the given pagination information on theAnalyticsQuery
instance. Will transparently setskip
andlimit
as well as applying theSort
instance defined with thePageable
.- Parameters:
pageable
-- Returns:
-
with
Adds aSort
to theAnalyticsQuery
instance.- Parameters:
sort
-- Returns:
-
appendSkipAndLimit
-
appendSort
-