Class FireAndForgetInsert
java.lang.Object
com.espertech.esper.common.client.soda.FireAndForgetInsert
- All Implemented Interfaces:
FireAndForgetClause
,Serializable
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRows()
Returns the rows.boolean
Returns indicator whether to use the values keyword.void
setRows
(List<List<Expression>> rows) Sets the rows.void
setUseValuesKeyword
(boolean useValuesKeyword) Sets indicator whether to use the values keyword.void
toEPL
(StringWriter writer)
-
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
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
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
-