Class NumericIndexParams

java.lang.Object
org.redisson.api.search.index.NumericIndexParams
All Implemented Interfaces:
FieldIndex, NumericIndex

public final class NumericIndexParams extends Object implements NumericIndex
Author:
Nikita Koksharov
  • Method Details

    • as

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

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

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

      public SortMode getSortMode()
    • isNoIndex

      public boolean isNoIndex()
    • getFieldName

      public String getFieldName()
    • getAs

      public String getAs()