Class AnalyticsQuery
java.lang.Object
org.springframework.data.couchbase.core.query.AnalyticsQuery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidlimit(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 theAnalyticsQueryinstance.Adds aSortto theAnalyticsQueryinstance.
-
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 theAnalyticsQueryinstance. Will transparently setskipandlimitas well as applying theSortinstance defined with thePageable.- Parameters:
pageable-- Returns:
-
with
Adds aSortto theAnalyticsQueryinstance.- Parameters:
sort-- Returns:
-
appendSkipAndLimit
-
appendSort
-