com.espertech.esper.event
Enum EventTypeMetadata.TypeClass

java.lang.Object
  extended by java.lang.Enum<EventTypeMetadata.TypeClass>
      extended by com.espertech.esper.event.EventTypeMetadata.TypeClass
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventTypeMetadata.TypeClass>
Enclosing class:
EventTypeMetadata

public static enum EventTypeMetadata.TypeClass
extends java.lang.Enum<EventTypeMetadata.TypeClass>

Metatype.


Enum Constant Summary
ANONYMOUS
          An anonymous event type.
APPLICATION
          An application-defined event type such as JavaBean or legacy Java, XML or Map.
NAMED_WINDOW
          A type representing a named window.
REVISION
          A revision event type.
STREAM
          A type that represents the information made available via insert-into.
TABLE
          A type representing a table.
VARIANT
          A variant stream event type.
 
Method Summary
 boolean isPublic()
          Returns true to indicate this is a public type that may be queried for name.
static EventTypeMetadata.TypeClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventTypeMetadata.TypeClass[] 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

STREAM

public static final EventTypeMetadata.TypeClass STREAM
A type that represents the information made available via insert-into.


REVISION

public static final EventTypeMetadata.TypeClass REVISION
A revision event type.


VARIANT

public static final EventTypeMetadata.TypeClass VARIANT
A variant stream event type.


APPLICATION

public static final EventTypeMetadata.TypeClass APPLICATION
An application-defined event type such as JavaBean or legacy Java, XML or Map.


NAMED_WINDOW

public static final EventTypeMetadata.TypeClass NAMED_WINDOW
A type representing a named window.


TABLE

public static final EventTypeMetadata.TypeClass TABLE
A type representing a table.


ANONYMOUS

public static final EventTypeMetadata.TypeClass ANONYMOUS
An anonymous event type.

Method Detail

values

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

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

valueOf

public static EventTypeMetadata.TypeClass 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

isPublic

public boolean isPublic()
Returns true to indicate this is a public type that may be queried for name.

Returns:
indicator public type versus anonymous

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