Class ContextDescriptorCategoryItem
java.lang.Object
com.espertech.esper.common.client.soda.ContextDescriptorCategoryItem
- All Implemented Interfaces:
ContextDescriptor
,Serializable
Context descriptor for categories.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.ContextDescriptorCategoryItem
(Expression expression, String label) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the category expression.getLabel()
Returns the category labelvoid
setExpression
(Expression expression) Sets the category expression.void
Sets the category labelvoid
toEPL
(StringWriter writer, EPStatementFormatter formatter) Format as EPL.
-
Constructor Details
-
ContextDescriptorCategoryItem
public ContextDescriptorCategoryItem()Ctor. -
ContextDescriptorCategoryItem
Ctor.- Parameters:
expression
- category expressionlabel
- category label
-
-
Method Details
-
getExpression
Returns the category expression.- Returns:
- expression
-
setExpression
Sets the category expression.- Parameters:
expression
- to set
-
getLabel
Returns the category label- Returns:
- category label
-
setLabel
Sets the category label- Parameters:
label
- category label
-
toEPL
Description copied from interface:ContextDescriptor
Format as EPL.- Specified by:
toEPL
in interfaceContextDescriptor
- Parameters:
writer
- outputformatter
- formatter
-