com.espertech.esper.client.soda
Class ContextDescriptorKeyedSegmentedItem

java.lang.Object
  extended by com.espertech.esper.client.soda.ContextDescriptorKeyedSegmentedItem
All Implemented Interfaces:
ContextDescriptor, java.io.Serializable

public class ContextDescriptorKeyedSegmentedItem
extends java.lang.Object
implements ContextDescriptor

Context detail for a key-filter pair for the keyed segmented context.

See Also:
Serialized Form

Constructor Summary
ContextDescriptorKeyedSegmentedItem()
          Ctor.
ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames, Filter filter)
          Ctor.
 
Method Summary
 Filter getFilter()
          Returns the filter.
 java.util.List<java.lang.String> getPropertyNames()
          Returns the property names.
 void setFilter(Filter filter)
          Sets the filter.
 void setPropertyNames(java.util.List<java.lang.String> propertyNames)
          Sets the property names.
 void toEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
          Format as EPL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextDescriptorKeyedSegmentedItem

public ContextDescriptorKeyedSegmentedItem()
Ctor.


ContextDescriptorKeyedSegmentedItem

public ContextDescriptorKeyedSegmentedItem(java.util.List<java.lang.String> propertyNames,
                                           Filter filter)
Ctor.

Parameters:
propertyNames - list of property names
filter - event type name and optional filter predicates
Method Detail

getFilter

public Filter getFilter()
Returns the filter.

Returns:
filter

setFilter

public void setFilter(Filter filter)
Sets the filter.

Parameters:
filter - filter

getPropertyNames

public java.util.List<java.lang.String> getPropertyNames()
Returns the property names.

Returns:
list

setPropertyNames

public void setPropertyNames(java.util.List<java.lang.String> propertyNames)
Sets the property names.

Parameters:
propertyNames - list

toEPL

public void toEPL(java.io.StringWriter writer,
                  EPStatementFormatter formatter)
Description copied from interface: ContextDescriptor
Format as EPL.

Specified by:
toEPL in interface ContextDescriptor
Parameters:
writer - output
formatter - formatter

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com