this.indexIds = indexIds;
this.tableSchema = tableSchema;
Collection<IndexSchema> indices = this.tableSchema.getIndices();
checkState(indices.size() > 0, "Generated table schema must have an index.");
indexSchemas = PrimitiveGenerators.fixedValues(indices);
rows = new RowGenerator(this.tableSchema);
queryKeys = new QueryKeyGenerator(this.tableSchema);
this.order = order;
}