添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
extends Object implements AggregationOperation
Encapsulates the aggregation framework $skip -operation. We recommend to use the static factory method Aggregation.skip(int) instead of creating instances of this class directly.

Since:
Author:
Thomas Darimont, Oliver Gierke, Christoph Strobl
See Also:
  • MongoDB Aggregation Framework: $skip
  • Return the MongoDB operator that is used for this AggregationOperation .
    org.bson.Document
    Turns the AggregationOperation into a Document by using the given AggregationOperationContext .

    Methods inherited from class java.lang. Object

    clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

    Methods inherited from interface org.springframework.data.mongodb.core.aggregation. AggregationOperation

    toPipelineStages

    SkipOperation

    public SkipOperation (long skipCount)
    Creates a new SkipOperation skipping the given number of elements.
    Parameters:
    skipCount - number of documents to skip, must not be less than zero.

    toDocument

    public org.bson.Document toDocument ( AggregationOperationContext context)
    Description copied from interface: AggregationOperation
    Turns the AggregationOperation into a Document by using the given AggregationOperationContext .
    Specified by:
    toDocument in interface AggregationOperation
    Parameters:
    context - the AggregationOperationContext to operate within. Must not be null.
    Returns:
    the Document

    getOperator

    public String getOperator ()
    Description copied from interface: AggregationOperation
    Return the MongoDB operator that is used for this AggregationOperation . Aggregation operations should implement this method to avoid document rendering.
    Specified by:
    getOperator in interface AggregationOperation
    Returns:
    the operator used for this AggregationOperation .