public static class Memtable.MemtableUnfilteredPartitionIterator extends AbstractUnfilteredPartitionIterator
Constructor and Description |
---|
MemtableUnfilteredPartitionIterator(ColumnFamilyStore cfs,
java.util.Iterator<java.util.Map.Entry<PartitionPosition,AtomicBTreePartition>> iter,
boolean isForThrift,
int minLocalDeletionTime,
ColumnFilter columnFilter,
DataRange dataRange) |
Modifier and Type | Method and Description |
---|---|
int |
getMinLocalDeletionTime() |
boolean |
hasNext() |
boolean |
isForThrift()
Whether that partition iterator is for a thrift queries.
|
CFMetaData |
metadata() |
UnfilteredRowIterator |
next() |
close, remove
public MemtableUnfilteredPartitionIterator(ColumnFamilyStore cfs, java.util.Iterator<java.util.Map.Entry<PartitionPosition,AtomicBTreePartition>> iter, boolean isForThrift, int minLocalDeletionTime, ColumnFilter columnFilter, DataRange dataRange)
public boolean isForThrift()
UnfilteredPartitionIterator
If this is true, the partition iterator may return some empty UnfilteredRowIterator and those should be preserved as thrift include partitions that "exists" (have some cells even if this are actually deleted) but have nothing matching the query.
public int getMinLocalDeletionTime()
public CFMetaData metadata()
public boolean hasNext()
public UnfilteredRowIterator next()
Copyright © 2020 The Apache Software Foundation