Enum ProjectionOperator
- java.lang.Object
-
- java.lang.Enum<ProjectionOperator>
-
- org.gcube.informationsystem.resourceregistry.queries.operators.ProjectionOperator
-
- All Implemented Interfaces:
Serializable,Comparable<ProjectionOperator>
public enum ProjectionOperator extends Enum<ProjectionOperator>
- Author:
- Luca Frosini (ISTI - CNR) See https://www.orientdb.com/docs/3.0.x/sql/SQL-Where.html
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMIT
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Stringoperator
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetOperator()static Set<String>getOperators()static ProjectionOperatorgetQueryLogicalOperator(String key)static ProjectionOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectionOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMIT
public static final ProjectionOperator EMIT
-
-
Method Detail
-
values
public static ProjectionOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProjectionOperator c : ProjectionOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectionOperator 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 nameNullPointerException- if the argument is null
-
getOperator
public String getOperator()
-
getDescription
public String getDescription()
-
getQueryLogicalOperator
public static ProjectionOperator getQueryLogicalOperator(String key)
-
-