public class FireAndForgetInsert extends java.lang.Object implements FireAndForgetClause
The insert-into clause holds the named window name and column names. The select-clause list holds the values to be inserted.
Constructor and Description |
---|
FireAndForgetInsert()
Ctor.
|
FireAndForgetInsert(boolean useValuesKeyword)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<Expression>> |
getRows()
Returns the rows.
|
boolean |
isUseValuesKeyword()
Returns indicator whether to use the values keyword.
|
void |
setRows(java.util.List<java.util.List<Expression>> rows)
Sets the rows.
|
void |
setUseValuesKeyword(boolean useValuesKeyword)
Sets indicator whether to use the values keyword.
|
void |
toEPL(java.io.StringWriter writer) |
public FireAndForgetInsert(boolean useValuesKeyword)
useValuesKeyword
- whether to use the "values" keyword or whether the syntax is based on selectpublic FireAndForgetInsert()
public boolean isUseValuesKeyword()
public void setUseValuesKeyword(boolean useValuesKeyword)
useValuesKeyword
- indicatorpublic java.util.List<java.util.List<Expression>> getRows()
public void setRows(java.util.List<java.util.List<Expression>> rows)
rows
- rows wherein each row is a list of expressionspublic void toEPL(java.io.StringWriter writer)