Class ContextDescriptorKeyedSegmentedItem

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

public class ContextDescriptorKeyedSegmentedItem extends Object implements ContextDescriptor
Context detail for a key-filter pair for the keyed segmented context.
See Also:
  • Constructor Details

    • ContextDescriptorKeyedSegmentedItem

      public ContextDescriptorKeyedSegmentedItem()
      Ctor.
    • ContextDescriptorKeyedSegmentedItem

      public ContextDescriptorKeyedSegmentedItem(List<String> propertyNames, Filter filter)
      Ctor.
      Parameters:
      propertyNames - list of property names
      filter - event type name and optional filter predicates
    • ContextDescriptorKeyedSegmentedItem

      public ContextDescriptorKeyedSegmentedItem(List<String> propertyNames, Filter filter, String streamName)
      Ctor.
      Parameters:
      propertyNames - list of property names
      filter - event type name and optional filter predicates
      streamName - alias name
  • Method Details

    • getFilter

      public Filter getFilter()
      Returns the filter.
      Returns:
      filter
    • setFilter

      public void setFilter(Filter filter)
      Sets the filter.
      Parameters:
      filter - filter
    • getPropertyNames

      public List<String> getPropertyNames()
      Returns the property names.
      Returns:
      list
    • setPropertyNames

      public void setPropertyNames(List<String> propertyNames)
      Sets the property names.
      Parameters:
      propertyNames - list
    • getStreamName

      public String getStreamName()
      Returns the stream name.
      Returns:
      stream name
    • setStreamName

      public void setStreamName(String streamName)
      Sets the stream name.
      Parameters:
      streamName - stream name
    • toEPL

      public void toEPL(StringWriter writer, EPStatementFormatter formatter)
      Description copied from interface: ContextDescriptor
      Format as EPL.
      Specified by:
      toEPL in interface ContextDescriptor
      Parameters:
      writer - output
      formatter - formatter