Enum Class AnyTokens

java.lang.Object
java.lang.Enum<AnyTokens>
org.neo4j.graphdb.schema.AnyTokens
All Implemented Interfaces:
Serializable, Comparable<AnyTokens>, Constable

public enum AnyTokens extends Enum<AnyTokens>
Type of tokens to use with Schema.indexFor(AnyTokens) to create IndexType.LOOKUP indexes.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static AnyTokens
    Returns the enum constant of this class with the specified name.
    static AnyTokens[]
    Returns an array containing the constants of this enum class, in the order they are declared.
  • Enum Constant Details

    • ANY_LABELS

      public static final AnyTokens ANY_LABELS
    • ANY_RELATIONSHIP_TYPES

      public static final AnyTokens ANY_RELATIONSHIP_TYPES
  • Method Details

    • values

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

      public static AnyTokens valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null