Enum OIndexReuseType
- All Implemented Interfaces:
Serializable,Comparable<OIndexReuseType>,java.lang.constant.Constable
Represents hint how index can be used to calculate result of operator execution.
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResults of this operator can be calculated as intersection of results for left and right operators.Result of execution of this operator can be replaced by call to one ofOIndexmethods.Result of execution of this operator can be replaced by call to one ofOIndexmethods depending on user implementation.Results of this operator can be calculated as union of results for left and right operators.Index cna be used to calculate result of given operator. -
Method Summary
Modifier and TypeMethodDescriptionstatic OIndexReuseTypeReturns the enum constant of this type with the specified name.static OIndexReuseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDEX_INTERSECTION
Results of this operator can be calculated as intersection of results for left and right operators. -
INDEX_UNION
Results of this operator can be calculated as union of results for left and right operators. -
NO_INDEX
Index cna be used to calculate result of given operator. -
INDEX_METHOD
Result of execution of this operator can be replaced by call to one ofOIndexmethods. -
INDEX_OPERATOR
Result of execution of this operator can be replaced by call to one ofOIndexmethods depending on user implementation.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-