com.espertech.esper.event.vaevent
Class VariantSpec

java.lang.Object
  extended by com.espertech.esper.event.vaevent.VariantSpec

public class VariantSpec
extends java.lang.Object

Specification for a variant event stream.


Constructor Summary
VariantSpec(java.lang.String variantStreamName, EventType[] eventTypes, ConfigurationVariantStream.TypeVariance typeVariance)
          Ctor.
 
Method Summary
 EventType[] getEventTypes()
          Returns types allowed for variant streams.
 ConfigurationVariantStream.TypeVariance getTypeVariance()
          Returns the type variance enum.
 java.lang.String getVariantStreamName()
          Returns name of variant stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariantSpec

public VariantSpec(java.lang.String variantStreamName,
                   EventType[] eventTypes,
                   ConfigurationVariantStream.TypeVariance typeVariance)
Ctor.

Parameters:
variantStreamName - name of variant stream
eventTypes - types of events for variant stream, or empty list
typeVariance - enum specifying type variance
Method Detail

getVariantStreamName

public java.lang.String getVariantStreamName()
Returns name of variant stream.

Returns:
name

getEventTypes

public EventType[] getEventTypes()
Returns types allowed for variant streams.

Returns:
types

getTypeVariance

public ConfigurationVariantStream.TypeVariance getTypeVariance()
Returns the type variance enum.

Returns:
type variance

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