public class AnalyticsQuery extends Object
| Constructor and Description |
|---|
AnalyticsQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendSkipAndLimit(StringBuilder sb) |
void |
appendSort(StringBuilder sb) |
AnalyticsQuery |
limit(int limit)
Limit the number of returned documents to
limit. |
AnalyticsQuery |
skip(long skip)
Set number of documents to skip before returning results.
|
AnalyticsQuery |
with(Pageable pageable)
Sets the given pagination information on the
AnalyticsQuery instance. |
AnalyticsQuery |
with(Sort sort)
Adds a
Sort to the AnalyticsQuery instance. |
public AnalyticsQuery skip(long skip)
skip - public AnalyticsQuery limit(int limit)
limit.limit - public AnalyticsQuery with(Pageable pageable)
AnalyticsQuery instance. Will transparently set skip
and limit as well as applying the Sort instance defined with the Pageable.pageable - public AnalyticsQuery with(Sort sort)
Sort to the AnalyticsQuery instance.sort - public void appendSkipAndLimit(StringBuilder sb)
public void appendSort(StringBuilder sb)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.