com.espertech.esper.core.service
Enum StatementType

java.lang.Object
  extended by java.lang.Enum<StatementType>
      extended by com.espertech.esper.core.service.StatementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatementType>

public enum StatementType
extends java.lang.Enum<StatementType>

Type of the statement.


Enum Constant Summary
CREATE_CONTEXT
          Create-context statement.
CREATE_DATAFLOW
          Create-graph statement.
CREATE_EXPRESSION
          Create-expression statement.
CREATE_INDEX
          Create-index statement.
CREATE_SCHEMA
          Create-schema statement.
CREATE_TABLE
          Create a table statement.
CREATE_VARIABLE
          Create a variable statement.
CREATE_WINDOW
          Create a named window statement.
ESPERIO
          EsperIO.
INSERT_INTO
          Insert-into statement.
ON_DELETE
          On-delete statement.
ON_INSERT
          On-insert statement.
ON_MERGE
          On-merge statement.
ON_SELECT
          On-select statement.
ON_SET
          On-set statement.
ON_SPLITSTREAM
          On-merge statement.
ON_UPDATE
          On-update statement.
PATTERN
          Pattern statement.
SELECT
          Select statement that may contain one or more patterns.
UPDATE
          Update statement.
 
Method Summary
static StatementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatementType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PATTERN

public static final StatementType PATTERN
Pattern statement.


SELECT

public static final StatementType SELECT
Select statement that may contain one or more patterns.


INSERT_INTO

public static final StatementType INSERT_INTO
Insert-into statement.


CREATE_WINDOW

public static final StatementType CREATE_WINDOW
Create a named window statement.


CREATE_VARIABLE

public static final StatementType CREATE_VARIABLE
Create a variable statement.


CREATE_TABLE

public static final StatementType CREATE_TABLE
Create a table statement.


CREATE_SCHEMA

public static final StatementType CREATE_SCHEMA
Create-schema statement.


CREATE_INDEX

public static final StatementType CREATE_INDEX
Create-index statement.


CREATE_CONTEXT

public static final StatementType CREATE_CONTEXT
Create-context statement.


CREATE_DATAFLOW

public static final StatementType CREATE_DATAFLOW
Create-graph statement.


CREATE_EXPRESSION

public static final StatementType CREATE_EXPRESSION
Create-expression statement.


ON_MERGE

public static final StatementType ON_MERGE
On-merge statement.


ON_SPLITSTREAM

public static final StatementType ON_SPLITSTREAM
On-merge statement.


ON_DELETE

public static final StatementType ON_DELETE
On-delete statement.


ON_SELECT

public static final StatementType ON_SELECT
On-select statement.


ON_INSERT

public static final StatementType ON_INSERT
On-insert statement.


ON_SET

public static final StatementType ON_SET
On-set statement.


ON_UPDATE

public static final StatementType ON_UPDATE
On-update statement.


UPDATE

public static final StatementType UPDATE
Update statement.


ESPERIO

public static final StatementType ESPERIO
EsperIO.

Method Detail

values

public static StatementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StatementType c : StatementType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StatementType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com