Example #1
0
 public UnfilteredRowIterator next() {
   Map.Entry<PartitionPosition, AtomicBTreePartition> entry = iter.next();
   // Actual stored key should be true DecoratedKey
   assert entry.getKey() instanceof DecoratedKey;
   DecoratedKey key = (DecoratedKey) entry.getKey();
   ClusteringIndexFilter filter = dataRange.clusteringIndexFilter(key);
   return filter.getUnfilteredRowIterator(columnFilter, entry.getValue());
 }
Example #2
0
 public PartitionColumns get() {
   PartitionColumns.Builder builder = PartitionColumns.builder();
   for (Map.Entry<ColumnDefinition, AtomicBoolean> e : predefined.entrySet())
     if (e.getValue().get()) builder.add(e.getKey());
   return builder.addAll(extra).build();
 }