use of org.apache.cassandra.db.RegularAndStaticColumns in project cassandra by apache.
the class PartitionIteratorMergeListener method columns.
protected RegularAndStaticColumns columns(List<UnfilteredRowIterator> versions) {
Columns statics = Columns.NONE;
Columns regulars = Columns.NONE;
for (UnfilteredRowIterator iter : versions) {
if (iter == null)
continue;
RegularAndStaticColumns cols = iter.columns();
statics = statics.mergeTo(cols.statics);
regulars = regulars.mergeTo(cols.regulars);
}
return new RegularAndStaticColumns(statics, regulars);
}
Aggregations