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

public enum FieldOperator extends Enum<FieldOperator>
Author:
Luca Frosini (ISTI - CNR) Methods: also called "Field Operators" SQL Methods are similar to SQL functions but they apply to values. In Object Oriented paradigm they are called "methods", as functions related to a class. So what's the difference between a function and a method? This is a SQL function: SELECT sum( salary ) FROM employee This is a SQL method: SELECT salary.toJSON() FROM employee As you can see the method is executed against a field/value. Methods can receive parameters, like functions. You can concatenate N operators in sequence. See https://orientdb.com/docs/3.0.x/sql/SQL-Where.html#methods http://orientdb.com/docs/3.0.x/sql/SQL-Methods.html
  • Method Details

    • values

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