本文整理汇总了Java中org.apache.cassandra.db.Slices类的典型用法代码示例。如果您正苦于以下问题:Java Slices类的具体用法?Java Slices怎么用?Java Slices使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Slices类属于org.apache.cassandra.db包,在下文中一共展示了Slices类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: dataRange
import org.apache.cassandra.db.Slices; //导入依赖的package包/类
private static DataRange dataRange(CFMetaData 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);
}
示例2: unfilteredIterator
import org.apache.cassandra.db.Slices; //导入依赖的package包/类
/**
* Returns an UnfilteredRowIterator over the rows/RT contained by this partition
* selected by the provided slices.
*/
public UnfilteredRowIterator unfilteredIterator(ColumnFilter columns, Slices slices, boolean reversed);
示例3: getSlices
import org.apache.cassandra.db.Slices; //导入依赖的package包/类
public Slices getSlices(CFMetaData metadata);
示例4: iterator
import org.apache.cassandra.db.Slices; //导入依赖的package包/类
public abstract UnfilteredRowIterator iterator(DecoratedKey key, Slices slices, ColumnFilter selectedColumns, boolean reversed, boolean isForThrift);