Enum OIndexReuseType

java.lang.Object
java.lang.Enum<OIndexReuseType>
com.orientechnologies.orient.core.sql.operator.OIndexReuseType
All Implemented Interfaces:
Serializable, Comparable<OIndexReuseType>, java.lang.constant.Constable

public enum OIndexReuseType extends Enum<OIndexReuseType>
Represents hint how index can be used to calculate result of operator execution.
Author:
Andrey Lomakin (a.lomakin-at-orientdb.com)
See Also:
  • Enum Constant Details

    • INDEX_INTERSECTION

      public static final OIndexReuseType INDEX_INTERSECTION
      Results of this operator can be calculated as intersection of results for left and right operators.
    • INDEX_UNION

      public static final OIndexReuseType INDEX_UNION
      Results of this operator can be calculated as union of results for left and right operators.
    • NO_INDEX

      public static final OIndexReuseType NO_INDEX
      Index cna be used to calculate result of given operator.
    • INDEX_METHOD

      public static final OIndexReuseType INDEX_METHOD
      Result of execution of this operator can be replaced by call to one of OIndex methods.
    • INDEX_OPERATOR

      public static final OIndexReuseType INDEX_OPERATOR
      Result of execution of this operator can be replaced by call to one of OIndex methods depending on user implementation.
  • Method Details

    • values

      public static OIndexReuseType[] 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 OIndexReuseType 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