public class InsertStatementImpl extends SetStatementImpl implements InsertStatement
SetStatementImpl.SetValueImpl
SetStatement.SetValue
Modifier and Type | Method and Description |
---|---|
SelectStatement |
getSubSelect()
Returns a subselect previously being added with
InsertStatement.setSubSelect(SelectStatement) , or null. |
void |
setSubSelect(SelectStatement pStatement)
Adds a subselect; the columns returned by the subselect
will be inserted.
|
addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSetDate, addSetDate, addSetDate, addSetDateTime, addSetDateTime, addSetDateTime, addSetNull, addSetNull, addSetNull, addSetTime, addSetTime, addSetTime, getSetValues
createFunction, getSQLFactory, getTableReference, newCase, newTableReference, setTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSet, addSetDate, addSetDate, addSetDate, addSetDateTime, addSetDateTime, addSetDateTime, addSetNull, addSetNull, addSetNull, addSetTime, addSetTime, addSetTime, getSetValues
createFunction, getSQLFactory, getTableReference, newCase, setTable
public void setSubSelect(SelectStatement pStatement)
InsertStatement
Adds a subselect; the columns returned by the subselect
will be inserted. This is used for bulk inserts like
INSERT INTO foo (col1, col2, col2) (SELECT * FROM ...)
.
setSubSelect
in interface InsertStatement
pStatement
- The statement being performed to create
the rows being inserted.public SelectStatement getSubSelect()
InsertStatement
Returns a subselect previously being added with
InsertStatement.setSubSelect(SelectStatement)
, or null.
getSubSelect
in interface InsertStatement