public class ContextDescriptorKeyedSegmentedItem extends java.lang.Object implements ContextDescriptor
Constructor and Description |
---|
ContextDescriptorKeyedSegmentedItem()
Ctor.
|
ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames,
Filter filter)
Ctor.
|
ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames,
Filter filter,
java.lang.String streamName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Filter |
getFilter()
Returns the filter.
|
java.util.List<java.lang.String> |
getPropertyNames()
Returns the property names.
|
java.lang.String |
getStreamName()
Returns the stream name.
|
void |
setFilter(Filter filter)
Sets the filter.
|
void |
setPropertyNames(java.util.List<java.lang.String> propertyNames)
Sets the property names.
|
void |
setStreamName(java.lang.String streamName)
Sets the stream name.
|
void |
toEPL(java.io.StringWriter writer,
EPStatementFormatter formatter)
Format as EPL.
|
public ContextDescriptorKeyedSegmentedItem()
public ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames, Filter filter)
propertyNames
- list of property namesfilter
- event type name and optional filter predicatespublic ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames, Filter filter, java.lang.String streamName)
propertyNames
- list of property namesfilter
- event type name and optional filter predicatesstreamName
- alias namepublic Filter getFilter()
public void setFilter(Filter filter)
filter
- filterpublic java.util.List<java.lang.String> getPropertyNames()
public void setPropertyNames(java.util.List<java.lang.String> propertyNames)
propertyNames
- listpublic java.lang.String getStreamName()
public void setStreamName(java.lang.String streamName)
streamName
- stream namepublic void toEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
ContextDescriptor
toEPL
in interface ContextDescriptor
writer
- outputformatter
- formatter