public static class StreamReader.StreamDeserializer extends com.google.common.collect.UnmodifiableIterator<Unfiltered> implements UnfilteredRowIterator
Constructor and Description |
---|
StreamDeserializer(CFMetaData metadata,
DataInputPlus in,
Version version,
SerializationHeader header) |
Modifier and Type | Method and Description |
---|---|
void |
checkForExceptions() |
void |
close() |
PartitionColumns |
columns()
A subset of the columns for the (static and regular) rows returned by this iterator.
|
boolean |
hasNext() |
boolean |
isReverseOrder()
Whether or not the atom returned by this iterator are in reversed
clustering order.
|
CFMetaData |
metadata()
The metadata for the table this iterator on.
|
DecoratedKey |
newPartition() |
Unfiltered |
next() |
DecoratedKey |
partitionKey()
The partition key of the partition this in an iterator over.
|
DeletionTime |
partitionLevelDeletion()
The partition level deletion for the partition this iterate over.
|
Row |
staticRow()
The static part corresponding to this partition (this can be an empty
row).
|
EncodingStats |
stats()
Return "statistics" about what is returned by this iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty
public StreamDeserializer(CFMetaData metadata, DataInputPlus in, Version version, SerializationHeader header)
public DecoratedKey newPartition() throws java.io.IOException
java.io.IOException
public CFMetaData metadata()
UnfilteredRowIterator
metadata
in interface UnfilteredRowIterator
public PartitionColumns columns()
UnfilteredRowIterator
columns
in interface UnfilteredRowIterator
public boolean isReverseOrder()
UnfilteredRowIterator
isReverseOrder
in interface UnfilteredRowIterator
public DecoratedKey partitionKey()
UnfilteredRowIterator
partitionKey
in interface UnfilteredRowIterator
public DeletionTime partitionLevelDeletion()
UnfilteredRowIterator
partitionLevelDeletion
in interface UnfilteredRowIterator
public Row staticRow()
UnfilteredRowIterator
staticRow
in interface UnfilteredRowIterator
public EncodingStats stats()
UnfilteredRowIterator
stats
in interface UnfilteredRowIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<Unfiltered>
public Unfiltered next()
next
in interface java.util.Iterator<Unfiltered>
public void checkForExceptions() throws java.io.IOException
java.io.IOException
public void close()
close
in interface java.lang.AutoCloseable
close
in interface UnfilteredRowIterator
Copyright © 2015 The Apache Software Foundation