Enum Operator

java.lang.Object
java.lang.Enum<Operator>
com.ibm.watson.discovery.v1.query.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, java.lang.constant.Constable

public enum Operator
extends Enum<Operator>
Deprecated.
This class has been replaced by the top-level version in com.ibm.watson.discovery.query.
Query Language Operator Syntax.
  • Enum Constant Details

    • FIELD_SEPARATOR

      public static final Operator FIELD_SEPARATOR
      Deprecated.
      The field separator.
    • EQUALS

      public static final Operator EQUALS
      Deprecated.
      The equals.
    • CONTAINS

      public static final Operator CONTAINS
      Deprecated.
      The contains.
    • ESCAPE

      public static final Operator ESCAPE
      Deprecated.
      The escape.
    • FUZZY

      public static final Operator FUZZY
      Deprecated.
      The fuzzy.
    • OR

      public static final Operator OR
      Deprecated.
      The or.
    • AND

      public static final Operator AND
      Deprecated.
      The and.
    • NOT

      public static final Operator NOT
      Deprecated.
      The not.
    • NEST_AGGREGATION

      public static final Operator NEST_AGGREGATION
      Deprecated.
      The nest aggregation.
    • LESS_THAN

      public static final Operator LESS_THAN
      Deprecated.
      The less than.
    • LESS_THAN_OR_EQUAL_TO

      public static final Operator LESS_THAN_OR_EQUAL_TO
      Deprecated.
      The less than or equal to.
    • GREATER_THAN

      public static final Operator GREATER_THAN
      Deprecated.
      The greater than.
    • GREATER_THAN_OR_EQUAL_TO

      public static final Operator GREATER_THAN_OR_EQUAL_TO
      Deprecated.
      The greater than or equal to.
    • BOOST

      public static final Operator BOOST
      Deprecated.
      The boost.
    • WILDCARD

      public static final Operator WILDCARD
      Deprecated.
      The wildcard.
    • OPENING_GROUPING

      public static final Operator OPENING_GROUPING
      Deprecated.
      The opening grouping.
    • CLOSING_GROUPING

      public static final Operator CLOSING_GROUPING
      Deprecated.
      The closing grouping.
    • OPENING_ARRAY

      public static final Operator OPENING_ARRAY
      Deprecated.
      The opening array.
    • CLOSING_ARRAY

      public static final Operator CLOSING_ARRAY
      Deprecated.
      The closing array.
    • DOUBLE_QUOTE

      public static final Operator DOUBLE_QUOTE
      Deprecated.
      The double quote.
  • Method Details

    • values

      public static Operator[] values()
      Deprecated.
      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

      public static Operator valueOf​(String name)
      Deprecated.
      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 name
      NullPointerException - if the argument is null
    • getSymbol

      public String getSymbol()
      Deprecated.
      Gets the symbol.
      Returns:
      the symbol
    • shouldEscape

      public boolean shouldEscape()
      Deprecated.
      Should escape.
      Returns:
      true, if successful
    • toString

      public String toString()
      Deprecated.
      To string.
      Overrides:
      toString in class Enum<Operator>
      Returns:
      the string