public InputLargeCombines newLargeCombines(int partSize, String mainTable, String condition, Object conditionParams1,
String... joinInfos) {
JoinTableInfo[] joinTables = new JoinTableInfo[joinInfos.length / 3];
for (int i=0; i < joinTables.length; i++) {
int offset = 3 * i;
joinTables[i] = new JoinTableInfo(joinInfos[offset], joinInfos[offset +1], joinInfos[offset +2]);
}
Object[] conditionParams = conditionParams1 != null ? new Object[]{conditionParams1} : new Object[0];
return new InputLargeCombines(flashDatabase, partSize, mainTable, condition, conditionParams, joinTables);
}