Class GeoIndexedPropertyValue

java.lang.Object
org.springframework.data.redis.core.convert.GeoIndexedPropertyValue
All Implemented Interfaces:
IndexedData

public class GeoIndexedPropertyValue extends Object implements IndexedData
IndexedData implementation indicating storage of data within a Redis GEO structure.
Since:
1.8
Author:
Christoph Strobl
  • Constructor Details

    • GeoIndexedPropertyValue

      public GeoIndexedPropertyValue(String keyspace, String indexName, Point value)
  • Method Details

    • getIndexName

      public String getIndexName()
      Description copied from interface: IndexedData
      Get the String representation of the index name.
      Specified by:
      getIndexName in interface IndexedData
      Returns:
      never null.
    • getKeyspace

      public String getKeyspace()
      Description copied from interface: IndexedData
      Get the associated keyspace the index resides in.
      Specified by:
      getKeyspace in interface IndexedData
      Returns:
    • getPoint

      public Point getPoint()
    • geoIndexName

      public static String geoIndexName(String path)
    • getValue

      public Point getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • toString

      public String toString()
      Overrides:
      toString in class Object