Class FireAndForgetInsert

java.lang.Object
com.espertech.esper.common.client.soda.FireAndForgetInsert
All Implemented Interfaces:
FireAndForgetClause, Serializable

public class FireAndForgetInsert extends Object implements FireAndForgetClause
Fire-and-forget (on-demand) insert DML.

The insert-into clause holds the named window name and column names. The select-clause list holds the values to be inserted.

See Also:
  • Constructor Details

    • FireAndForgetInsert

      public FireAndForgetInsert(boolean useValuesKeyword)
      Ctor.
      Parameters:
      useValuesKeyword - whether to use the "values" keyword or whether the syntax is based on select
    • FireAndForgetInsert

      public FireAndForgetInsert()
      Ctor.
  • Method Details

    • isUseValuesKeyword

      public boolean isUseValuesKeyword()
      Returns indicator whether to use the values keyword.
      Returns:
      indicator
    • setUseValuesKeyword

      public void setUseValuesKeyword(boolean useValuesKeyword)
      Sets indicator whether to use the values keyword.
      Parameters:
      useValuesKeyword - indicator
    • getRows

      public List<List<Expression>> getRows()
      Returns the rows. Only applicable when using the "values"-keyword i.e. "values (...row...), (...row...)".
      Returns:
      rows wherein each row is a list of expressions
    • setRows

      public void setRows(List<List<Expression>> rows)
      Sets the rows. Only applicable when using the "values"-keyword i.e. "values (...row...), (...row...)".
      Parameters:
      rows - rows wherein each row is a list of expressions
    • toEPL

      public void toEPL(StringWriter writer)