public SqlDump build() { return new SqlDump(statementList); }
public SqlDump toSqlDump() { return SqlDump.newSqlDump(table, insertValueList); }
public static SqlDump dump(AbstractInsertable insertable, long id) { return builder() .dump(insertable, id) .build(); }
public static SqlDump dump(AbstractListInsertable insertable, int id) { return builder() .dump(insertable, id) .build(); }
public static SqlDump dump(AbstractInsertable insertable, long id) { return builder() .dump(insertable, id) .build(); }
public SqlDump build() { return new SqlDump(statementList); }
public SqlDump toSqlDump() { return SqlDump.newSqlDump(table, insertValueList); }
public static SqlDump dump(AbstractListInsertable insertable, String id) { return builder() .dump(insertable, id) .build(); }
public SqlDump build() { return new SqlDump(statementList); }
public SqlDump toSqlDump() { return SqlDump.newSqlDump(table, insertValueList); }
public static SqlDump dump(AbstractListInsertable insertable, long id) { return builder() .dump(insertable, id) .build(); }
static SqlDump newSqlDump(String tableName, List<InsertValue> insertValueList) { SqlDumpStatement statement = SqlDumpStatement.newStatement(tableName, insertValueList); List<SqlDumpStatement> statementList = ImmutableList.of(statement); return new SqlDump(statementList); }
public SqlDump toSqlDump(PrimaryKey pk) { boolean contained = false; for (InsertValue insertValue : insertValueList) { if (insertValue.isColumnNameEqual(pk.columnName())) { contained = true; break; } } return contained ? toSqlDump() : SqlDump.newSqlDump(table, insertValueList, pk); }
public static SqlDump dump(Insertable insertable, long id) { return builder() .dump(insertable, id) .build(); }
static SqlDump newSqlDump(String tableName, List<InsertValue> insertValueList, PrimaryKey pk) { SqlDumpStatement statement = SqlDumpStatement.newStatement(tableName, insertValueList, pk); List<SqlDumpStatement> statementList = ImmutableList.of(statement); return new SqlDump(statementList); }
public SqlDump toSqlDump(PrimaryKey pk) { boolean contained = false; for (InsertValue insertValue : insertValueList) { if (insertValue.isColumnNameEqual(pk.columnName())) { contained = true; break; } } return contained ? toSqlDump() : SqlDump.newSqlDump(table, insertValueList, pk, paramValueFactory()); }
public static SqlDump dump(ListInsertable insertable, long id) { return builder() .dump(insertable, id) .build(); }
static SqlDump newSqlDump(String tableName, List<InsertValue> insertValueList, PrimaryKey pk, ParamValueFactory factory) { SqlDumpStatement statement = SqlDumpStatement.newStatement(tableName, insertValueList, pk, factory); List<SqlDumpStatement> statementList = ImmutableList.of(statement); return new SqlDump(statementList); }
public SqlDump toSqlDump(PrimaryKey pk) { boolean contained = false; for (InsertValue insertValue : insertValueList) { if (insertValue.isColumnNameEqual(pk.columnName())) { contained = true; break; } } return contained ? toSqlDump() : SqlDump.newSqlDump(table, insertValueList, pk, paramValueFactory()); }
public static SqlDump dump(ListInsertable insertable, String id) { return builder() .dump(insertable, id) .build(); }