Class CreateClassClause

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

public class CreateClassClause extends Object implements Serializable
Clause for creating an application-provided class for use across one or more statements.
See Also:
  • Constructor Details

    • CreateClassClause

      public CreateClassClause()
      Ctor.
    • CreateClassClause

      public CreateClassClause(ClassProvidedExpression classProvidedExpression)
      Ctor.
      Parameters:
      classProvidedExpression - class
    • CreateClassClause

      public CreateClassClause(String classtext)
      Ctor.
      Parameters:
      classtext - class text
  • Method Details

    • getClassProvidedExpression

      public ClassProvidedExpression getClassProvidedExpression()
      Returns class-provided that contains the class text.
      Returns:
      class-provided
    • setClassProvidedExpression

      public void setClassProvidedExpression(ClassProvidedExpression classProvidedExpression)
      Sets class-provided that contains the class text.
      Parameters:
      classProvidedExpression - class-provided
    • toEPL

      public void toEPL(StringWriter writer)
      EPL output
      Parameters:
      writer - to write to