Class ContextDescriptorKeyedSegmentedItem
java.lang.Object
com.espertech.esper.common.client.soda.ContextDescriptorKeyedSegmentedItem
- All Implemented Interfaces:
ContextDescriptor
,Serializable
Context detail for a key-filter pair for the keyed segmented context.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.ContextDescriptorKeyedSegmentedItem
(List<String> propertyNames, Filter filter) Ctor.ContextDescriptorKeyedSegmentedItem
(List<String> propertyNames, Filter filter, String streamName) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the filter.Returns the property names.Returns the stream name.void
Sets the filter.void
setPropertyNames
(List<String> propertyNames) Sets the property names.void
setStreamName
(String streamName) Sets the stream name.void
toEPL
(StringWriter writer, EPStatementFormatter formatter) Format as EPL.
-
Constructor Details
-
ContextDescriptorKeyedSegmentedItem
public ContextDescriptorKeyedSegmentedItem()Ctor. -
ContextDescriptorKeyedSegmentedItem
Ctor.- Parameters:
propertyNames
- list of property namesfilter
- event type name and optional filter predicates
-
ContextDescriptorKeyedSegmentedItem
public ContextDescriptorKeyedSegmentedItem(List<String> propertyNames, Filter filter, String streamName) Ctor.- Parameters:
propertyNames
- list of property namesfilter
- event type name and optional filter predicatesstreamName
- alias name
-
-
Method Details
-
getFilter
Returns the filter.- Returns:
- filter
-
setFilter
Sets the filter.- Parameters:
filter
- filter
-
getPropertyNames
Returns the property names.- Returns:
- list
-
setPropertyNames
Sets the property names.- Parameters:
propertyNames
- list
-
getStreamName
Returns the stream name.- Returns:
- stream name
-
setStreamName
Sets the stream name.- Parameters:
streamName
- stream name
-
toEPL
Description copied from interface:ContextDescriptor
Format as EPL.- Specified by:
toEPL
in interfaceContextDescriptor
- Parameters:
writer
- outputformatter
- formatter
-