Class GeospatialIndex

java.lang.Object
org.springframework.data.mongodb.core.index.GeospatialIndex
All Implemented Interfaces:
IndexDefinition

public class GeospatialIndex extends Object implements IndexDefinition
Value object to capture data to create a geo index.
Author:
Jon Brisbin, Oliver Gierke, Laurent Canet, Christoph Strobl, Mark Paluch
  • Constructor Details

    • GeospatialIndex

      public GeospatialIndex(String field)
      Creates a new GeospatialIndex for the given field.
      Parameters:
      field - must not be empty or null.
  • Method Details