Enum Index.Type

java.lang.Object
java.lang.Enum<Index.Type>
ac.simons.neo4j.migrations.core.catalog.Index.Type
All Implemented Interfaces:
ItemType, Serializable, Comparable<Index.Type>
Enclosing class:
Index

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

    • PROPERTY

      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.
    • FULLTEXT

      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.
    • CONSTRAINT_BACKING_INDEX

      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.
      Returns:
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      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
      Returns:
      a unique textual representation of this type.