com.espertech.esper.client
Class ConfigurationRevisionEventType

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

public class ConfigurationRevisionEventType
extends Object
implements 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 addAliasBaseEventType(String aliasBaseEventType)
          Add a base event type by it's alias name.
 void addAliasDeltaEventType(String aliasDeltaEventType)
          Add a delta event type by it's alias name.
 Set<String> getAliasBaseEventTypes()
          Returns the set of event type aliases that are base event types.
 Set<String> getAliasDeltaEventTypes()
          Returns the set of names of delta event types.
 String[] getKeyPropertyNames()
          Returns the key property names, which are the names of the properties that supply key values for relating base and delta events.
 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(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

addAliasBaseEventType

public void addAliasBaseEventType(String aliasBaseEventType)
Add a base event type by it's alias name.

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

getAliasBaseEventTypes

public Set<String> getAliasBaseEventTypes()
Returns the set of event type aliases that are base event types.

Returns:
aliases of base event types

getAliasDeltaEventTypes

public Set<String> getAliasDeltaEventTypes()
Returns the set of names of delta event types.

Returns:
names of delta event types

addAliasDeltaEventType

public void addAliasDeltaEventType(String aliasDeltaEventType)
Add a delta event type by it's alias name.

Parameters:
aliasDeltaEventType - 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 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(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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com