Class ContextDescriptorCategory
java.lang.Object
com.espertech.esper.common.client.soda.ContextDescriptorCategory
- All Implemented Interfaces:
ContextDescriptor
,Serializable
Category-segmented context.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.ContextDescriptorCategory
(List<ContextDescriptorCategoryItem> items, Filter filter) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns type name and predicate expressions (filter)getItems()
Returns categories.void
Sets type name and predicate expressions (filter)void
Sets categoriesvoid
toEPL
(StringWriter writer, EPStatementFormatter formatter) Format as EPL.
-
Constructor Details
-
ContextDescriptorCategory
public ContextDescriptorCategory()Ctor. -
ContextDescriptorCategory
Ctor.- Parameters:
items
- categoriesfilter
- event type and predicate
-
-
Method Details
-
getItems
Returns categories.- Returns:
- categories
-
setItems
Sets categories- Parameters:
items
- categories to set
-
getFilter
Returns type name and predicate expressions (filter)- Returns:
- filter
-
setFilter
Sets type name and predicate expressions (filter)- Parameters:
filter
- filter
-
toEPL
Description copied from interface:ContextDescriptor
Format as EPL.- Specified by:
toEPL
in interfaceContextDescriptor
- Parameters:
writer
- outputformatter
- formatter
-