com.espertech.esper.client
Class ConfigurationVariantStream

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

public class ConfigurationVariantStream
extends Object
implements Serializable

Configures a variant stream.

See Also:
Serialized Form

Nested Class Summary
static class ConfigurationVariantStream.TypeVariance
          Enumeration specifying whether only the predefine types or any type of event is accepted by the variant stream.
 
Constructor Summary
ConfigurationVariantStream()
          Ctor.
 
Method Summary
 void addEventTypeAlias(String eventTypeAlias)
          Adds an aliases of an event types that is one of the predefined event typs allowed for the variant stream.
 ConfigurationVariantStream.TypeVariance getTypeVariance()
          Returns the type variance setting specifying whether the variant stream accepts event of only the predefined types or any type.
 List<String> getVariantTypeAliases()
          Returns the aliases of event types that a predefined for the variant stream.
 void setTypeVariance(ConfigurationVariantStream.TypeVariance typeVariance)
          Sets the type variance setting specifying whether the variant stream accepts event of only the predefined types or any type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationVariantStream

public ConfigurationVariantStream()
Ctor.

Method Detail

getTypeVariance

public ConfigurationVariantStream.TypeVariance getTypeVariance()
Returns the type variance setting specifying whether the variant stream accepts event of only the predefined types or any type.

Returns:
type variance setting

setTypeVariance

public void setTypeVariance(ConfigurationVariantStream.TypeVariance typeVariance)
Sets the type variance setting specifying whether the variant stream accepts event of only the predefined types or any type.

Parameters:
typeVariance - type variance setting

getVariantTypeAliases

public List<String> getVariantTypeAliases()
Returns the aliases of event types that a predefined for the variant stream.

Returns:
predefined types in the variant stream

addEventTypeAlias

public void addEventTypeAlias(String eventTypeAlias)
Adds an aliases of an event types that is one of the predefined event typs allowed for the variant stream.

Parameters:
eventTypeAlias - name of the event type to allow in the variant stream

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