Package org.h2.command.dml
Class CommandWithValues
java.lang.Object
org.h2.command.Prepared
org.h2.command.dml.DataChangeStatement
org.h2.command.dml.CommandWithValues
Command that supports VALUES clause.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArrayList
<Expression[]> Expression data for the VALUES clause.Fields inherited from class org.h2.command.Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CommandWithValues
(SessionLocal session) Creates new instance of command with VALUES clause. -
Method Summary
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 Details
-
valuesExpressionList
Expression data for the VALUES clause.
-
-
Constructor Details
-
CommandWithValues
Creates new instance of command with VALUES clause.- Parameters:
session
- the session
-
-
Method Details
-
addRow
Add a row to this command.- Parameters:
expr
- the list of values
-