Class Indexes.IndexImpl

java.lang.Object
org.apache.gravitino.rel.indexes.Indexes.IndexImpl
All Implemented Interfaces:
Index
Enclosing class:
Indexes

public static final class Indexes.IndexImpl extends Object implements Index
The user side implementation of the index.
  • Method Details

    • type

      public Index.IndexType type()
      Specified by:
      type in interface Index
      Returns:
      The type of the index
    • name

      public String name()
      Specified by:
      name in interface Index
      Returns:
      The name of the index
    • fieldNames

      public String[][] fieldNames()
      Specified by:
      fieldNames in interface Index
      Returns:
      The field names under the table contained in the index
    • builder

      public static Indexes.IndexImpl.Builder builder()
      Returns:
      the builder for creating a new instance of IndexImpl.