Package com.github.eikecochu.sqlbuilder
Interface BeforeInsert<T extends BeforeInsert<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
- All Known Implementing Classes:
With
public interface BeforeInsert<T extends BeforeInsert<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the INSERT statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Insertinsert(Insert insert)Accept an existing INSERT statement as predecessordefault Insertinsert(Table table)Continue query with INSERTdefault Insertinsert(java.lang.String table)Continue query with INSERTdefault InsertinsertSQL(java.lang.String sql)Use plain SQL to form this INSERT statement-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
Method Detail
-
insert
default Insert insert(java.lang.String table)
Continue query with INSERT- Parameters:
table- The name of the table to insert to- Returns:
- The new INSERT statement
-
insert
default Insert insert(Table table)
Continue query with INSERT- Parameters:
table- The Table representation of the table to insert to- Returns:
- The new INSERT statement
-
insert
default Insert insert(Insert insert)
Accept an existing INSERT statement as predecessor- Parameters:
insert- The existing INSERT statement- Returns:
- Returns the passed INSERT statement
-
insertSQL
default Insert insertSQL(java.lang.String sql)
Use plain SQL to form this INSERT statement- Parameters:
sql- The sql string- Returns:
- The new INSERT statement
-
-