this.SSTableWriters.put(CObjectShardList.SHARD_INDEX_TABLE_NAME, Pair.create(this.buildSSTableWriterForShardIndexTable(sorted), (Map<CIndex, CQLSSTableWriter>) null));
for (String defName : definitions.keySet()) {
// Build the CQLSSTableWriter for the static table
CQLSSTableWriter staticWriter = buildSSTableWriterForStaticTable(definitions.get(defName), sorted);
// Build the CQLSSTableWriter for all the index tables
List<CIndex> indexes = definitions.get(defName).getIndexesAsList();
Map<CIndex, CQLSSTableWriter> indexWriters = Maps.newHashMap();
for (CIndex index : indexes) {
CQLSSTableWriter writer = buildSSTableWriterForWideTable(definitions.get(defName), index, sorted);
indexWriters.put(index, writer);
}
this.SSTableWriters.put(defName, Pair.create(staticWriter, indexWriters));
}
}