Class CreateContextClause
java.lang.Object
com.espertech.esper.common.client.soda.CreateContextClause
- All Implemented Interfaces:
Serializable
Create a context.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.CreateContextClause
(String contextName, ContextDescriptor descriptor) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the context nameReturns the context dimension informatinvoid
setContextName
(String contextName) Sets the context namevoid
setDescriptor
(ContextDescriptor descriptor) Sets the context dimension informatinvoid
toEPL
(StringWriter writer, EPStatementFormatter formatter) Render as EPL.
-
Constructor Details
-
CreateContextClause
public CreateContextClause()Ctor. -
CreateContextClause
Ctor.- Parameters:
contextName
- context namedescriptor
- context dimension descriptor
-
-
Method Details
-
getContextName
Returns the context name- Returns:
- context name
-
setContextName
Sets the context name- Parameters:
contextName
- context name
-
getDescriptor
Returns the context dimension informatin- Returns:
- context descriptor
-
setDescriptor
Sets the context dimension informatin- Parameters:
descriptor
- context descriptor
-
toEPL
Render as EPL.- Parameters:
writer
- to output toformatter
- formatter
-