Enum Index.Type

All Implemented Interfaces:
ItemType, Serializable, Comparable<Index.Type>
Enclosing class:

public static enum Index.Type extends Enum<Index.Type> implements ItemType
Enumerates the different kinds of indexes.
  • Enum Constant Details


      public static final Index.Type PROPERTY
      An index on properties. The actual type depends on the options.
    • LOOKUP

      public static final Index.Type LOOKUP
      A lookup index. Those indexes are paramount for the database to perform proper. They provide mapping from labels to nodes, or from relationships types to relationships, instead of between properties and entities and should usually not be changed.

      public static final Index.Type FULLTEXT
      Fulltext indexes for long text properties.
    • TEXT

      public static final Index.Type TEXT
      Text indexes for 4.4 and later.
    • POINT

      public static final Index.Type POINT
      Point indexes for 5.0 and later.

      public static final Index.Type CONSTRAINT_BACKING_INDEX
      An index backing a constraint.
  • Method Details

    • values

      public static Index.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Index.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Specified by:
      getName in interface ItemType
      a unique textual representation of this type.