public static class UnfilteredDeserializer.OldFormatDeserializer extends UnfilteredDeserializer
UnfilteredDeserializer.OldFormatDeserializerhelper, in, metadata| Modifier and Type | Method and Description |
|---|---|
long |
bytesReadForUnconsumedData()
For the legacy layout deserializer, we have to deal with the fact that a row can span multiple index blocks and that
the call to hasNext() reads the next element upfront.
|
void |
clearState()
Clears any state in this deserializer.
|
int |
compareNextTo(ClusteringBound bound)
Compare the provided bound to the next atom to read on disk.
|
boolean |
hasNext()
Whether or not there is more atom to read.
|
boolean |
nextIsRow()
Returns whether the next atom is a row or not.
|
boolean |
nextIsStatic()
Returns whether the next atom is the static row or not.
|
Unfiltered |
readNext()
Returns the next atom.
|
void |
setSkipStatic() |
void |
skipNext()
Skips the next atom.
|
createpublic void setSkipStatic()
public boolean hasNext()
throws java.io.IOException
UnfilteredDeserializerhasNext in class UnfilteredDeserializerjava.io.IOExceptionpublic int compareNextTo(ClusteringBound bound) throws java.io.IOException
UnfilteredDeserializercompareNextTo in class UnfilteredDeserializerjava.io.IOExceptionpublic boolean nextIsRow()
throws java.io.IOException
UnfilteredDeserializernextIsRow in class UnfilteredDeserializerjava.io.IOExceptionpublic boolean nextIsStatic()
throws java.io.IOException
UnfilteredDeserializernextIsStatic in class UnfilteredDeserializerjava.io.IOExceptionpublic Unfiltered readNext() throws java.io.IOException
UnfilteredDeserializerreadNext in class UnfilteredDeserializerjava.io.IOExceptionpublic void skipNext()
throws java.io.IOException
UnfilteredDeserializerskipNext in class UnfilteredDeserializerjava.io.IOExceptionpublic long bytesReadForUnconsumedData()
UnfilteredDeserializerbytesReadForUnconsumedData in class UnfilteredDeserializerpublic void clearState()
UnfilteredDeserializerclearState in class UnfilteredDeserializerCopyright © 2018 The Apache Software Foundation