Top Description Fields Constructors Methods
org.h2.command.dml

public abstract Class CommandWithValues

extends DataChangeStatement
Class Inheritance
Known Direct Subclasses
org.h2.command.dml.Insert, org.h2.command.dml.Merge
Imports
java.util.ArrayList, org.h2.engine.SessionLocal, org.h2.expression.Expression, org.h2.util.Utils

Command that supports VALUES clause.

Field Summary

Modifier and TypeField and Description
protected final ArrayList<Expression[]>
valuesExpressionList

Expression data for the VALUES clause.

Constructor Summary

AccessConstructor and Description
protected
CommandWithValues(SessionLocal
the session
session
)

Creates new instance of command with VALUES clause.

Method Summary

Modifier and TypeMethod and Description
public void
addRow(Expression[]
the list of values
expr
)

Add a row to this command.

Inherited from org.h2.command.dml.DataChangeStatement:
doPreparegetStatementNamegetTableisCacheableisTransactionalpreparequeryMetaupdateupdate

Field Detail

valuesExpressionListback to summary
protected final ArrayList<Expression[]> valuesExpressionList

Expression data for the VALUES clause.

Constructor Detail

CommandWithValuesback to summary
protected CommandWithValues(SessionLocal session)

Creates new instance of command with VALUES clause.

Parameters
session:SessionLocal

the session

Method Detail

addRowback to summary
public void addRow(Expression[] expr)

Add a row to this command.

Parameters
expr:Expression[]

the list of values