Spring Data MongoDB - Core

org.springframework.data.mongodb.core.aggregation
Class GeoNearOperation

java.lang.Object
  extended by org.springframework.data.mongodb.core.aggregation.GeoNearOperation
All Implemented Interfaces:
AggregationOperation

public class GeoNearOperation
extends Object
implements AggregationOperation

Since:
1.3
Author:
Thomas Darimont

Constructor Summary
GeoNearOperation(NearQuery nearQuery)
           
 
Method Summary
 com.mongodb.DBObject toDBObject(AggregationOperationContext context)
          Turns the AggregationOperation into a DBObject by using the given AggregationOperationContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoNearOperation

public GeoNearOperation(NearQuery nearQuery)
Method Detail

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

Spring Data MongoDB - Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.