com.espertech.esper.view.window
Enum ExpressionViewOAFieldEnum
java.lang.Object
java.lang.Enum<ExpressionViewOAFieldEnum>
com.espertech.esper.view.window.ExpressionViewOAFieldEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ExpressionViewOAFieldEnum>
public enum ExpressionViewOAFieldEnum
- extends java.lang.Enum<ExpressionViewOAFieldEnum>
Method Summary |
static java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
asMapOfTypes(EventType eventType)
|
static java.lang.Object[] |
getPrototypeOA()
|
static void |
populate(java.lang.Object[] properties,
int windowSize,
long oldestEventTimestamp,
long newestEventTimestamp,
java.lang.Object viewReference,
int expiredCount,
EventBean oldestEvent,
EventBean newestEvent)
|
static ExpressionViewOAFieldEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExpressionViewOAFieldEnum[] |
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 |
CURRENT_COUNT
public static final ExpressionViewOAFieldEnum CURRENT_COUNT
OLDEST_TIMESTAMP
public static final ExpressionViewOAFieldEnum OLDEST_TIMESTAMP
NEWEST_TIMESTAMP
public static final ExpressionViewOAFieldEnum NEWEST_TIMESTAMP
EXPIRED_COUNT
public static final ExpressionViewOAFieldEnum EXPIRED_COUNT
VIEW_REFERENCE
public static final ExpressionViewOAFieldEnum VIEW_REFERENCE
NEWEST_EVENT
public static final ExpressionViewOAFieldEnum NEWEST_EVENT
OLDEST_EVENT
public static final ExpressionViewOAFieldEnum OLDEST_EVENT
values
public static ExpressionViewOAFieldEnum[] 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 (ExpressionViewOAFieldEnum c : ExpressionViewOAFieldEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExpressionViewOAFieldEnum 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
asMapOfTypes
public static java.util.LinkedHashMap<java.lang.String,java.lang.Object> asMapOfTypes(EventType eventType)
populate
public static void populate(java.lang.Object[] properties,
int windowSize,
long oldestEventTimestamp,
long newestEventTimestamp,
java.lang.Object viewReference,
int expiredCount,
EventBean oldestEvent,
EventBean newestEvent)
getPrototypeOA
public static java.lang.Object[] getPrototypeOA()