org.springframework.data.mongodb.core.aggregation
Class SkipOperation
java.lang.Object
org.springframework.data.mongodb.core.aggregation.SkipOperation
- All Implemented Interfaces:
- AggregationOperation
public class SkipOperation
- extends Object
- implements AggregationOperation
Encapsulates the aggregation framework $skip-operation.
- Since:
- 1.3
- Author:
- Thomas Darimont, Oliver Gierke
- See Also:
http://docs.mongodb.org/manual/reference/aggregation/skip/
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkipOperation
public SkipOperation(long skipCount)
- Creates a new
SkipOperation skipping the given number of elements.
- Parameters:
skipCount - number of documents to skip.
toDBObject
public com.mongodb.DBObject toDBObject(AggregationOperationContext context)
- Description copied from interface:
AggregationOperation
- Turns the
AggregationOperation into a DBObject by using the given
AggregationOperationContext.
- Specified by:
toDBObject in interface AggregationOperation
- Returns:
- the DBObject
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.