com.espertech.esper.client
Class ConfigurationRevisionEventType

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationRevisionEventType
All Implemented Interfaces:
java.io.Serializable

public class ConfigurationRevisionEventType
extends java.lang.Object
implements java.io.Serializable

Configuration information for revision event types.

The configuration information consists of the names of the base event type and the delta event types, as well as the names of properties that supply key values, and a strategy.

Events of the base event type arrive before delta events; Delta events arriving before the base event for the same key value are not processed, as delta events as well as base events represent new versions.

See Also:
Serialized Form

Nested Class Summary
static class ConfigurationRevisionEventType.PropertyRevision
          Enumeration for specifying a strategy to use to merge or overlay properties.
 
Constructor Summary
ConfigurationRevisionEventType()
          Ctor.
 
Method Summary
 void addNameBaseEventType(java.lang.String nameBaseEventType)
          Add a base event type by it's name.
 void addNameDeltaEventType(java.lang.String nameDeltaEventType)
          Add a delta event type by it's name.
 java.lang.String[] getKeyPropertyNames()
          Returns the key property names, which are the names of the properties that supply key values for relating base and delta events.
 java.util.Set<java.lang.String> getNameBaseEventTypes()
          Returns the set of event type names that are base event types.
 java.util.Set<java.lang.String> getNameDeltaEventTypes()
          Returns the set of names of delta event types.
 ConfigurationRevisionEventType.PropertyRevision getPropertyRevision()
          Returns the enumeration value defining the strategy to use for overlay or merging multiple versions of an event (instances of base and delta events).
 void setKeyPropertyNames(java.lang.String[] keyPropertyNames)
          Sets the key property names, which are the names of the properties that supply key values for relating base and delta events.
 void setPropertyRevision(ConfigurationRevisionEventType.PropertyRevision propertyRevision)
          Sets the enumeration value defining the strategy to use for overlay or merging multiple versions of an event (instances of base and delta events).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationRevisionEventType

public ConfigurationRevisionEventType()
Ctor.

Method Detail

addNameBaseEventType

public void addNameBaseEventType(java.lang.String nameBaseEventType)
Add a base event type by it's name.

Parameters:
nameBaseEventType - the name of the base event type to add

getNameBaseEventTypes

public java.util.Set<java.lang.String> getNameBaseEventTypes()
Returns the set of event type names that are base event types.

Returns:
names of base event types

getNameDeltaEventTypes

public java.util.Set<java.lang.String> getNameDeltaEventTypes()
Returns the set of names of delta event types.

Returns:
names of delta event types

addNameDeltaEventType

public void addNameDeltaEventType(java.lang.String nameDeltaEventType)
Add a delta event type by it's name.

Parameters:
nameDeltaEventType - the name of the delta event type to add

getPropertyRevision

public ConfigurationRevisionEventType.PropertyRevision getPropertyRevision()
Returns the enumeration value defining the strategy to use for overlay or merging multiple versions of an event (instances of base and delta events).

Returns:
strategy enumerator

setPropertyRevision

public void setPropertyRevision(ConfigurationRevisionEventType.PropertyRevision propertyRevision)
Sets the enumeration value defining the strategy to use for overlay or merging multiple versions of an event (instances of base and delta events).

Parameters:
propertyRevision - strategy enumerator

getKeyPropertyNames

public java.lang.String[] getKeyPropertyNames()
Returns the key property names, which are the names of the properties that supply key values for relating base and delta events.

Returns:
array of names of key properties

setKeyPropertyNames

public void setKeyPropertyNames(java.lang.String[] keyPropertyNames)
Sets the key property names, which are the names of the properties that supply key values for relating base and delta events.

Parameters:
keyPropertyNames - array of names of key properties

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