Enum Class ProjectionOperator
java.lang.Object
java.lang.Enum<ProjectionOperator>
org.gcube.informationsystem.resourceregistry.queries.operators.ProjectionOperator
- All Implemented Interfaces:
Serializable,Comparable<ProjectionOperator>,Constable
- Author:
- Luca Frosini (ISTI - CNR) See https://www.orientdb.com/docs/3.0.x/sql/SQL-Where.html
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the operator description.Returns the operator key.Returns the set of all recognized operator keys.static ProjectionOperatorReturns the matchingProjectionOperatorfor the specified key.static ProjectionOperatorReturns the enum constant of this class with the specified name.static ProjectionOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMIT
The emit projection operator.
-
-
Field Details
-
operator
The operator key string. -
description
The operator description.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getOperator
Returns the operator key.- Returns:
- the operator key string
-
getDescription
Returns the operator description.- Returns:
- the operator description string
-
getOperators
Returns the set of all recognized operator keys.- Returns:
- the set of operator keys
-
getQueryLogicalOperator
Returns the matchingProjectionOperatorfor the specified key.- Parameters:
key- the operator key string- Returns:
- the matching operator, or
nullif not found
-