com.ninja_squad.dbsetup.operation
Interface Insert.RowRepeater

Enclosing class:
Insert

public static interface Insert.RowRepeater

Allows inserting the same list of non-generated values several times.


Method Summary
 Insert.Builder times(int times)
          Adds several rows with the same non-generated values to the insert.
 

Method Detail

times

Insert.Builder times(int times)
Adds several rows with the same non-generated values to the insert. This method can only be called once.

Parameters:
times - the number of rows to add. Must be >= 0. If zero, no row is added.
Returns:
the Insert Builder, for chaining
Throws:
java.lang.IllegalStateException - if the rows have already been added