public static class StreamReader.StreamDeserializer extends com.google.common.collect.UnmodifiableIterator<Unfiltered> implements UnfilteredRowIterator
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | BUFFER_FILE_PREFIX | 
| static java.lang.String | BUFFER_FILE_SUFFIX | 
| static int | INITIAL_MEM_BUFFER_SIZE | 
| static int | MAX_MEM_BUFFER_SIZE | 
| static int | MAX_SPILL_FILE_SIZE | 
| Constructor and Description | 
|---|
| StreamDeserializer(CFMetaData metadata,
                  java.io.InputStream in,
                  Version version,
                  SerializationHeader header,
                  long totalSize,
                  java.util.UUID sessionId) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkForExceptions() | 
| void | cleanup() | 
| 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 rows returned by this iterator are in reversed
 clustering order. | 
| CFMetaData | metadata()The metadata for the table this iterator on. | 
| StreamReader.StreamDeserializer | 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 but cannot be  null). | 
| EncodingStats | stats()Return "statistics" about what is returned by this iterator. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic static final int INITIAL_MEM_BUFFER_SIZE
public static final int MAX_MEM_BUFFER_SIZE
public static final int MAX_SPILL_FILE_SIZE
public static final java.lang.String BUFFER_FILE_PREFIX
public static final java.lang.String BUFFER_FILE_SUFFIX
public StreamDeserializer(CFMetaData metadata, java.io.InputStream in, Version version, SerializationHeader header, long totalSize, java.util.UUID sessionId) throws java.io.IOException
java.io.IOExceptionpublic StreamReader.StreamDeserializer newPartition() throws java.io.IOException
java.io.IOExceptionpublic CFMetaData metadata()
BaseRowIteratormetadata in interface BaseRowIterator<Unfiltered>public PartitionColumns columns()
BaseRowIteratorcolumns in interface BaseRowIterator<Unfiltered>public boolean isReverseOrder()
BaseRowIteratorisReverseOrder in interface BaseRowIterator<Unfiltered>public DecoratedKey partitionKey()
BaseRowIteratorpartitionKey in interface BaseRowIterator<Unfiltered>public DeletionTime partitionLevelDeletion()
UnfilteredRowIteratorpartitionLevelDeletion in interface UnfilteredRowIteratorpublic Row staticRow()
BaseRowIteratornull).staticRow in interface BaseRowIterator<Unfiltered>public EncodingStats stats()
UnfilteredRowIteratorstats in interface UnfilteredRowIteratorpublic 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.IOExceptionpublic void close()
close in interface java.lang.AutoCloseableclose in interface CloseableIterator<Unfiltered>public void cleanup()
Copyright © 2018 The Apache Software Foundation