Class ContextDescriptorKeyedSegmented
java.lang.Object
com.espertech.esper.common.client.soda.ContextDescriptorKeyedSegmented
- All Implemented Interfaces:
ContextDescriptor
,Serializable
Context dimension information for keyed segmented context.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.Ctor.ContextDescriptorKeyedSegmented
(List<ContextDescriptorKeyedSegmentedItem> items, List<ContextDescriptorConditionFilter> initiationConditions, ContextDescriptorCondition terminationCondition) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the initiation conditions, if any.getItems()
Returns the key set descriptionsReturns the terminating condition or null if there is nonevoid
setInitiationConditions
(List<ContextDescriptorConditionFilter> initiationConditions) Sets the initiation conditions, if any.void
Sets the key set descriptionsvoid
setTerminationCondition
(ContextDescriptorCondition terminationCondition) Sets the terminating condition or null if there is nonevoid
toEPL
(StringWriter writer, EPStatementFormatter formatter) Format as EPL.
-
Constructor Details
-
ContextDescriptorKeyedSegmented
public ContextDescriptorKeyedSegmented()Ctor. -
ContextDescriptorKeyedSegmented
Ctor.- Parameters:
items
- key set descriptions
-
ContextDescriptorKeyedSegmented
public ContextDescriptorKeyedSegmented(List<ContextDescriptorKeyedSegmentedItem> items, List<ContextDescriptorConditionFilter> initiationConditions, ContextDescriptorCondition terminationCondition) Ctor.- Parameters:
items
- key set descriptionsinitiationConditions
- initialization conditionsterminationCondition
- termination condition
-
-
Method Details
-
getItems
Returns the key set descriptions- Returns:
- list
-
setItems
Sets the key set descriptions- Parameters:
items
- list
-
toEPL
Description copied from interface:ContextDescriptor
Format as EPL.- Specified by:
toEPL
in interfaceContextDescriptor
- Parameters:
writer
- outputformatter
- formatter
-
getTerminationCondition
Returns the terminating condition or null if there is none- Returns:
- condition
-
setTerminationCondition
Sets the terminating condition or null if there is none- Parameters:
terminationCondition
- condition
-
getInitiationConditions
Returns the initiation conditions, if any.- Returns:
- null or list of filters for initiation
-
setInitiationConditions
Sets the initiation conditions, if any.- Parameters:
initiationConditions
- null or list of filters for initiation
-