|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConfigurationRevisionEventType.PropertyRevision>
com.espertech.esper.client.ConfigurationRevisionEventType.PropertyRevision
public static enum ConfigurationRevisionEventType.PropertyRevision
Enumeration for specifying a strategy to use to merge or overlay properties.
Enum Constant Summary | |
---|---|
MERGE_DECLARED
A strategy for revising events by merging properties provided by base and delta events, considering null values and non-existing (dynamic) properties as well. |
|
MERGE_EXISTS
A strategy for revising events by merging properties provided by base and delta events, considering only values supplied by event properties that exist. |
|
MERGE_NON_NULL
A strategy for revising events by merging properties provided by base and delta events, considering only non-null values. |
|
OVERLAY_DECLARED
A fast strategy for revising events that groups properties provided by base and delta events and overlays contributed properties to compute a revision. |
Method Summary | |
---|---|
static ConfigurationRevisionEventType.PropertyRevision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ConfigurationRevisionEventType.PropertyRevision[] |
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 |
---|
public static final ConfigurationRevisionEventType.PropertyRevision OVERLAY_DECLARED
For use when there is a limited number of combinations of properties that change on an event, and such combinations are known in advance.
The properties available on the output revision events are all properties of the base event type. Delta event types do not add any additional properties that are not present on the base event type.
Any null values or non-existing property on a delta (or base) event results in a null values for the same property on the output revision event.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_DECLARED
For use when there is a limited number of combinations of properties that change on an event, and such combinations are known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
Any null values or non-existing property on a delta (or base) event results in a null values for the same property on the output revision event.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_NON_NULL
For use when there is an unlimited number of combinations of properties that change on an event, or combinations are not known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
Null values returned by delta (or base) event properties provide no value to output revision events, i.e. null values are not merged.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_EXISTS
For use when there is an unlimited number of combinations of properties that change on an event, or combinations are not known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
All properties are treated as dynamic properties: If an event property does not exist on a delta event (or base) event the property provides no value to output revision events, i.e. non-existing property values are not merged.
Method Detail |
---|
public static ConfigurationRevisionEventType.PropertyRevision[] values()
for (ConfigurationRevisionEventType.PropertyRevision c : ConfigurationRevisionEventType.PropertyRevision.values()) System.out.println(c);
public static ConfigurationRevisionEventType.PropertyRevision valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |