java.lang.Object
java.lang.Enum<ProjectionOperator>
org.gcube.informationsystem.resourceregistry.queries.operators.ProjectionOperator
All Implemented Interfaces:
Serializable, Comparable<ProjectionOperator>, Constable

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 Details

  • Field Details

    • operator

      protected final String operator
      The operator key string.
    • description

      protected final String description
      The operator description.
  • Method Details

    • values

      public static ProjectionOperator[] 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 ProjectionOperator 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
    • getOperator

      public String getOperator()
      Returns the operator key.
      Returns:
      the operator key string
    • getDescription

      public String getDescription()
      Returns the operator description.
      Returns:
      the operator description string
    • getOperators

      public static Set<String> getOperators()
      Returns the set of all recognized operator keys.
      Returns:
      the set of operator keys
    • getQueryLogicalOperator

      public static ProjectionOperator getQueryLogicalOperator(String key)
      Returns the matching ProjectionOperator for the specified key.
      Parameters:
      key - the operator key string
      Returns:
      the matching operator, or null if not found