Package org.h2.command.dml
Class CommandWithValues
- java.lang.Object
-
- org.h2.command.Prepared
-
- org.h2.command.dml.DataChangeStatement
-
- org.h2.command.dml.CommandWithValues
-
public abstract class CommandWithValues extends DataChangeStatement
Command that supports VALUES clause.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<Expression[]>
valuesExpressionList
Expression data for the VALUES clause.-
Fields inherited from class org.h2.command.Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CommandWithValues(SessionLocal session)
Creates new instance of command with VALUES clause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow(Expression[] expr)
Add a row to this command.-
Methods inherited from class org.h2.command.dml.DataChangeStatement
getStatementName, getTable, isCacheable, isTransactional, queryMeta, update, update
-
Methods inherited from class org.h2.command.Prepared
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, getType, isQuery, isReadOnly, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, toString
-
-
-
-
Field Detail
-
valuesExpressionList
protected final java.util.ArrayList<Expression[]> valuesExpressionList
Expression data for the VALUES clause.
-
-
Constructor Detail
-
CommandWithValues
protected CommandWithValues(SessionLocal session)
Creates new instance of command with VALUES clause.- Parameters:
session
- the session
-
-
Method Detail
-
addRow
public void addRow(Expression[] expr)
Add a row to this command.- Parameters:
expr
- the list of values
-
-