Class SchemaColumnDesc

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

public class SchemaColumnDesc extends Object implements Serializable
Descriptor for use in create-schema syntax to define property name and type of an event property.
See Also:
  • Constructor Details

    • SchemaColumnDesc

      public SchemaColumnDesc()
      Ctor.
    • SchemaColumnDesc

      public SchemaColumnDesc(String name, String type)
      Ctor.
      Parameters:
      name - column name
      type - type name
  • Method Details

    • getName

      public String getName()
      Returns property name.
      Returns:
      name
    • getType

      public String getType()
      Returns property type.
      Returns:
      type
    • setName

      public void setName(String name)
      Set property name.
      Parameters:
      name - to set
    • setType

      public void setType(String type)
      Set property type.
      Parameters:
      type - type
    • toEPL

      public void toEPL(StringWriter writer)
      Render to EPL.
      Parameters:
      writer - to render to