Class CreateContextClause

java.lang.Object
com.espertech.esper.common.client.soda.CreateContextClause
All Implemented Interfaces:
Serializable

public class CreateContextClause extends Object implements Serializable
Create a context.
See Also:
  • Constructor Details

    • CreateContextClause

      public CreateContextClause()
      Ctor.
    • CreateContextClause

      public CreateContextClause(String contextName, ContextDescriptor descriptor)
      Ctor.
      Parameters:
      contextName - context name
      descriptor - context dimension descriptor
  • Method Details

    • getContextName

      public String getContextName()
      Returns the context name
      Returns:
      context name
    • setContextName

      public void setContextName(String contextName)
      Sets the context name
      Parameters:
      contextName - context name
    • getDescriptor

      public ContextDescriptor getDescriptor()
      Returns the context dimension informatin
      Returns:
      context descriptor
    • setDescriptor

      public void setDescriptor(ContextDescriptor descriptor)
      Sets the context dimension informatin
      Parameters:
      descriptor - context descriptor
    • toEPL

      public void toEPL(StringWriter writer, EPStatementFormatter formatter)
      Render as EPL.
      Parameters:
      writer - to output to
      formatter - formatter