Class VariantSpec
java.lang.Object
com.espertech.esper.common.internal.event.variant.VariantSpec
Specification for a variant event stream.
-
Constructor Summary
ConstructorDescriptionVariantSpec
(EventType[] eventTypes, ConfigurationCommonVariantStream.TypeVariance typeVariance) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns types allowed for variant streams.Returns the type variance enum.
-
Constructor Details
-
VariantSpec
public VariantSpec(EventType[] eventTypes, ConfigurationCommonVariantStream.TypeVariance typeVariance) Ctor.- Parameters:
eventTypes
- types of events for variant stream, or empty listtypeVariance
- enum specifying type variance
-
-
Method Details
-
getEventTypes
Returns types allowed for variant streams.- Returns:
- types
-
getTypeVariance
Returns the type variance enum.- Returns:
- type variance
-