Class ContextDescriptorCategoryItem

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

public class ContextDescriptorCategoryItem extends Object implements ContextDescriptor
Context descriptor for categories.
See Also:
  • Constructor Details

    • ContextDescriptorCategoryItem

      public ContextDescriptorCategoryItem()
      Ctor.
    • ContextDescriptorCategoryItem

      public ContextDescriptorCategoryItem(Expression expression, String label)
      Ctor.
      Parameters:
      expression - category expression
      label - category label
  • Method Details

    • getExpression

      public Expression getExpression()
      Returns the category expression.
      Returns:
      expression
    • setExpression

      public void setExpression(Expression expression)
      Sets the category expression.
      Parameters:
      expression - to set
    • getLabel

      public String getLabel()
      Returns the category label
      Returns:
      category label
    • setLabel

      public void setLabel(String label)
      Sets the category label
      Parameters:
      label - category label
    • 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