public class ContextDescriptorKeyedSegmented extends Object implements ContextDescriptor
Constructor and Description |
---|
ContextDescriptorKeyedSegmented()
Ctor.
|
ContextDescriptorKeyedSegmented(List<ContextDescriptorKeyedSegmentedItem> items)
Ctor.
|
ContextDescriptorKeyedSegmented(List<ContextDescriptorKeyedSegmentedItem> items,
List<ContextDescriptorConditionFilter> initiationConditions,
ContextDescriptorCondition terminationCondition)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<ContextDescriptorConditionFilter> |
getInitiationConditions()
Returns the initiation conditions, if any.
|
List<ContextDescriptorKeyedSegmentedItem> |
getItems()
Returns the key set descriptions
|
ContextDescriptorCondition |
getTerminationCondition()
Returns the terminating condition or null if there is none
|
void |
setInitiationConditions(List<ContextDescriptorConditionFilter> initiationConditions)
Sets the initiation conditions, if any.
|
void |
setItems(List<ContextDescriptorKeyedSegmentedItem> items)
Sets the key set descriptions
|
void |
setTerminationCondition(ContextDescriptorCondition terminationCondition)
Sets the terminating condition or null if there is none
|
void |
toEPL(StringWriter writer,
EPStatementFormatter formatter)
Format as EPL.
|
public ContextDescriptorKeyedSegmented()
public ContextDescriptorKeyedSegmented(List<ContextDescriptorKeyedSegmentedItem> items)
items
- key set descriptionspublic ContextDescriptorKeyedSegmented(List<ContextDescriptorKeyedSegmentedItem> items, List<ContextDescriptorConditionFilter> initiationConditions, ContextDescriptorCondition terminationCondition)
items
- key set descriptionsinitiationConditions
- initialization conditionsterminationCondition
- termination conditionpublic List<ContextDescriptorKeyedSegmentedItem> getItems()
public void setItems(List<ContextDescriptorKeyedSegmentedItem> items)
items
- listpublic void toEPL(StringWriter writer, EPStatementFormatter formatter)
ContextDescriptor
toEPL
in interface ContextDescriptor
writer
- outputformatter
- formatterpublic ContextDescriptorCondition getTerminationCondition()
public void setTerminationCondition(ContextDescriptorCondition terminationCondition)
terminationCondition
- conditionpublic List<ContextDescriptorConditionFilter> getInitiationConditions()
public void setInitiationConditions(List<ContextDescriptorConditionFilter> initiationConditions)
initiationConditions
- null or list of filters for initiationCopyright © 2005–2018. All rights reserved.