java.lang.Object
java.lang.Enum<OqlKeyword>
org.springframework.data.gemfire.repository.query.support.OqlKeyword
All Implemented Interfaces:
Serializable, Comparable<OqlKeyword>, Constable

public enum OqlKeyword extends Enum<OqlKeyword>
The OqlKeyword enum represents the complete set of keywords (Reserved Words) in Apache Geode's Object Query Language (OQL).
Since:
1.0.0
Author:
John Blum
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static OqlKeyword[] 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 OqlKeyword 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
    • valueOfIgnoreCase

      public static OqlKeyword valueOfIgnoreCase(String keyword)
      Looks up an OqlKeyword for the given keyword String.
      Parameters:
      keyword - name of the GemFire OQL Keyword to lookup.
      Returns:
      an OqlKeyword enumerated value for the given keyword String.
      Throws:
      IllegalArgumentException - if keyword is not a valid GemFire OQL Keyword.
    • getKeyword

      public String getKeyword()
      Returns name of this GemFire OQL Keyword enumerated value. The keyword may have been explicitly defined when the OqlKeyword enumerated value was constructed, in which case this value is returned, otherwise this method returns Enum.name().
      Returns:
      a String name for this GemFire OQL Keyword enumerated value.
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OqlKeyword>