|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InsertStatement
Interface of an INSERT statement.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.SetStatement |
---|
SetStatement.SetValue |
Method Summary | |
---|---|
SelectStatement |
getSubSelect()
Returns a subselect previously being added with setSubSelect(SelectStatement) , or null. |
void |
setSubSelect(SelectStatement pStatement)
Adds a subselect; the columns returned by the subselect will be inserted. |
Methods inherited from interface org.apache.ws.jaxme.sqls.SetStatement |
---|
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 |
Methods inherited from interface org.apache.ws.jaxme.sqls.Statement |
---|
createFunction, getSQLFactory, getTableReference, newCase, setTable |
Method Detail |
---|
void setSubSelect(SelectStatement pStatement)
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 ...)
.
pStatement
- The statement being performed to create
the rows being inserted.SelectStatement getSubSelect()
Returns a subselect previously being added with
setSubSelect(SelectStatement)
, or null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |