public class ContextDescriptorKeyedSegmentedItem extends Object implements ContextDescriptor
Constructor and Description |
---|
ContextDescriptorKeyedSegmentedItem()
Ctor.
|
ContextDescriptorKeyedSegmentedItem(List<String> propertyNames,
Filter filter)
Ctor.
|
ContextDescriptorKeyedSegmentedItem(List<String> propertyNames,
Filter filter,
String streamName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Filter |
getFilter()
Returns the filter.
|
List<String> |
getPropertyNames()
Returns the property names.
|
String |
getStreamName()
Returns the stream name.
|
void |
setFilter(Filter filter)
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.
|
public ContextDescriptorKeyedSegmentedItem()
public ContextDescriptorKeyedSegmentedItem(List<String> propertyNames, Filter filter)
propertyNames
- list of property namesfilter
- event type name and optional filter predicatespublic Filter getFilter()
public void setFilter(Filter filter)
filter
- filterpublic void setPropertyNames(List<String> propertyNames)
propertyNames
- listpublic String getStreamName()
public void setStreamName(String streamName)
streamName
- stream namepublic void toEPL(StringWriter writer, EPStatementFormatter formatter)
ContextDescriptor
toEPL
in interface ContextDescriptor
writer
- outputformatter
- formatterCopyright © 2005–2018. All rights reserved.