com.espertech.esper.client.soda
Enum StreamSelector

java.lang.Object
  extended by java.lang.Enum<StreamSelector>
      extended by com.espertech.esper.client.soda.StreamSelector
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StreamSelector>

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

Enumeration for representing selection of the remove stream or the insert stream, or both.


Enum Constant Summary
ISTREAM_ONLY
          Indicates selection of the insert stream only.
RSTREAM_ISTREAM_BOTH
          Indicates selection of both the insert and the remove stream.
RSTREAM_ONLY
          Indicates selection of the remove stream only.
 
Method Summary
 java.lang.String getEpl()
          Returns syntactic text
static StreamSelector valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StreamSelector[] 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

RSTREAM_ONLY

public static final StreamSelector RSTREAM_ONLY
Indicates selection of the remove stream only.


ISTREAM_ONLY

public static final StreamSelector ISTREAM_ONLY
Indicates selection of the insert stream only.


RSTREAM_ISTREAM_BOTH

public static final StreamSelector RSTREAM_ISTREAM_BOTH
Indicates selection of both the insert and the remove stream.

Method Detail

values

public static StreamSelector[] 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 (StreamSelector c : StreamSelector.values())
    System.out.println(c);

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

valueOf

public static StreamSelector 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

getEpl

public java.lang.String getEpl()
Returns syntactic text

Returns:
epl text

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