Class GeoIndexParams

java.lang.Object
org.redisson.api.search.index.GeoIndexParams
All Implemented Interfaces:
FieldIndex, GeoIndex

public final class GeoIndexParams extends Object implements GeoIndex
Author:
Nikita Koksharov
  • Constructor Details

    • GeoIndexParams

      protected GeoIndexParams(String name)
  • Method Details

    • as

      public GeoIndexParams as(String as)
      Description copied from interface: GeoIndex
      Defines the attribute associated to the field name
      Specified by:
      as in interface GeoIndex
      Parameters:
      as - the associated attribute
      Returns:
      options object
    • sortMode

      public GeoIndexParams sortMode(SortMode sortMode)
      Description copied from interface: GeoIndex
      Defines sort mode applied to the value of this attribute
      Specified by:
      sortMode in interface GeoIndex
      Parameters:
      sortMode - sort mode
      Returns:
      options object
    • noIndex

      public GeoIndexParams noIndex()
      Description copied from interface: GeoIndex
      Defines to not index this attribute
      Specified by:
      noIndex in interface GeoIndex
      Returns:
      options object
    • getSortMode

      public SortMode getSortMode()
    • isNoIndex

      public boolean isNoIndex()
    • getFieldName

      public String getFieldName()
    • getAs

      public String getAs()