com.espertech.esper.client
Class ConfigurationVariantStream

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

public class ConfigurationVariantStream
extends java.lang.Object
implements java.io.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 addEventTypeName(java.lang.String eventTypeName)
          Adds names 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.
 java.util.List<java.lang.String> getVariantTypeNames()
          Returns the names 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

getVariantTypeNames

public java.util.List<java.lang.String> getVariantTypeNames()
Returns the names of event types that a predefined for the variant stream.

Returns:
predefined types in the variant stream

addEventTypeName

public void addEventTypeName(java.lang.String eventTypeName)
Adds names of an event types that is one of the predefined event typs allowed for the variant stream.

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

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