use of org.apache.cassandra.db.filter.ClusteringIndexSliceFilter in project cassandra by apache.
the class SSTableScannerTest method dataRange.
private static DataRange dataRange(TableMetadata metadata, PartitionPosition start, boolean startInclusive, PartitionPosition end, boolean endInclusive) {
Slices.Builder sb = new Slices.Builder(metadata.comparator);
ClusteringIndexSliceFilter filter = new ClusteringIndexSliceFilter(sb.build(), false);
return new DataRange(AbstractBounds.bounds(start, startInclusive, end, endInclusive), filter);
}
Aggregations