Enum Class StatementProperty

java.lang.Object
java.lang.Enum<StatementProperty>
com.espertech.esper.common.client.util.StatementProperty
All Implemented Interfaces:
Serializable, Comparable<StatementProperty>, Constable

public enum StatementProperty extends Enum<StatementProperty>
Provides well-known statement properties.
  • Enum Constant Details

    • EPL

      public static final StatementProperty EPL
      The statement EPL text, of type String
    • STATEMENTTYPE

      public static final StatementProperty STATEMENTTYPE
      The statement type, of type StatementType
    • CREATEOBJECTNAME

      public static final StatementProperty CREATEOBJECTNAME
      The name of the EPL-object created by the statement, of type String, or null if not applicable, i.e. the name of the name window, table, variable, expression, index, schema or expression created by the statement.

      Use together with the statement type to determine the type of object.

    • CONTEXTNAME

      public static final StatementProperty CONTEXTNAME
      The context name, of type String, or null if the statement is not associated to a context.
    • CONTEXTDEPLOYMENTID

      public static final StatementProperty CONTEXTDEPLOYMENTID
      The context deployment id, of type String, or null if the statement is not associated to a context.
  • Method Details

    • values

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