Package org.eclipse.net4j.db.dml.fluent
Interface SQLInsertColumnsStep
public interface SQLInsertColumnsStep
An INSERT with explicit columns that requires its positional values before completion. This form cannot be combined with implicit values or named assignments; the compiler checks the column/value counts.
- Since:
- 4.15
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionselect(SQLSubSelect source) Supplies a SELECT definition as the source of the INSERT.values(SQLExpression first, SQLExpression... others) Supplies values positionally corresponding to the explicit target columns.
-
Method Details
-
values
Supplies values positionally corresponding to the explicit target columns. The compiler validates that the number of values matches the number of columns.- Parameters:
first- the first expression valueothers- additional values in matching column order- Returns:
- the next valid fluent stage
- Since:
- 4.15
-
select
Supplies a SELECT definition as the source of the INSERT. The SELECT projection count must match the explicit target-column count.- Parameters:
source- the SELECT definition supplying inserted rows- Returns:
- the completed INSERT definition
- Since:
- 4.15
-