Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Interface Shape

All Superinterfaces:
Serializable, org.springframework.data.geo.Shape

Deprecated. As of release 1.5, replaced by Shape. This class is scheduled to be removed in the next major release.

@Deprecated
public interface Shape
extends org.springframework.data.geo.Shape

Common interface for all shapes. Allows building MongoDB representations of them.

Author:
Oliver Gierke, Thomas Darimont

Method Summary
 List<? extends Object> asList()
          Deprecated. Returns the Shape as a list of usually Double or Lists of Doubles.
 String getCommand()
          Deprecated. Returns the command to be used to create the $within criterion.
 

Method Detail

asList

List<? extends Object> asList()
Deprecated. 
Returns the Shape as a list of usually Double or Lists of Doubles. Wildcard bound to allow implementations to return a more concrete element type.

Returns:

getCommand

String getCommand()
Deprecated. 
Returns the command to be used to create the $within criterion.

Returns:

Spring Data MongoDB - Core

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.