if (metadata.isSuper())
{
CellNameType columnType = new SimpleDenseCellNameType(metadata.comparator.subtype(column_path.column == null ? 0 : 1));
SortedSet<CellName> names = new TreeSet<CellName>(columnType);
names.add(columnType.cellFromByteBuffer(column_path.column == null ? column_path.super_column : column_path.column));
filter = SuperColumns.fromSCNamesFilter(metadata.comparator, column_path.column == null ? null : column_path.bufferForSuper_column(), new NamesQueryFilter(names));
}
else
{
SortedSet<CellName> names = new TreeSet<CellName>(metadata.comparator);
names.add(metadata.comparator.cellFromByteBuffer(column_path.column));
filter = new NamesQueryFilter(names);
}
long now = System.currentTimeMillis();
ReadCommand command = ReadCommand.create(keyspace, key, column_path.column_family, now, filter);