public class DataInputDecoder
extends org.apache.avro.io.Decoder
| Constructor and Description |
|---|
DataInputDecoder() |
| Modifier and Type | Method and Description |
|---|---|
long |
arrayNext() |
long |
mapNext() |
long |
readArrayStart() |
boolean |
readBoolean() |
ByteBuffer |
readBytes(ByteBuffer old) |
double |
readDouble() |
int |
readEnum() |
void |
readFixed(byte[] bytes,
int start,
int length) |
float |
readFloat() |
int |
readIndex() |
int |
readInt() |
long |
readLong() |
long |
readMapStart() |
void |
readNull() |
String |
readString() |
org.apache.avro.util.Utf8 |
readString(org.apache.avro.util.Utf8 old) |
static long |
readVarLongCount(DataInput in) |
void |
setIn(DataInput in) |
long |
skipArray() |
void |
skipBytes() |
void |
skipFixed(int length) |
long |
skipMap() |
void |
skipString() |
public void setIn(DataInput in)
public void readNull()
readNull in class org.apache.avro.io.Decoderpublic boolean readBoolean()
throws IOException
readBoolean in class org.apache.avro.io.DecoderIOExceptionpublic int readInt()
throws IOException
readInt in class org.apache.avro.io.DecoderIOExceptionpublic long readLong()
throws IOException
readLong in class org.apache.avro.io.DecoderIOExceptionpublic float readFloat()
throws IOException
readFloat in class org.apache.avro.io.DecoderIOExceptionpublic double readDouble()
throws IOException
readDouble in class org.apache.avro.io.DecoderIOExceptionpublic int readEnum()
throws IOException
readEnum in class org.apache.avro.io.DecoderIOExceptionpublic void readFixed(byte[] bytes,
int start,
int length)
throws IOException
readFixed in class org.apache.avro.io.DecoderIOExceptionpublic ByteBuffer readBytes(ByteBuffer old) throws IOException
readBytes in class org.apache.avro.io.DecoderIOExceptionpublic void skipFixed(int length)
throws IOException
skipFixed in class org.apache.avro.io.DecoderIOExceptionpublic void skipBytes()
throws IOException
skipBytes in class org.apache.avro.io.DecoderIOExceptionpublic org.apache.avro.util.Utf8 readString(org.apache.avro.util.Utf8 old)
throws IOException
readString in class org.apache.avro.io.DecoderIOExceptionpublic String readString() throws IOException
readString in class org.apache.avro.io.DecoderIOExceptionpublic void skipString()
throws IOException
skipString in class org.apache.avro.io.DecoderIOExceptionpublic long readArrayStart()
throws IOException
readArrayStart in class org.apache.avro.io.DecoderIOExceptionpublic long arrayNext()
throws IOException
arrayNext in class org.apache.avro.io.DecoderIOExceptionpublic long skipArray()
throws IOException
skipArray in class org.apache.avro.io.DecoderIOExceptionpublic long readMapStart()
throws IOException
readMapStart in class org.apache.avro.io.DecoderIOExceptionpublic long mapNext()
throws IOException
mapNext in class org.apache.avro.io.DecoderIOExceptionpublic long skipMap()
throws IOException
skipMap in class org.apache.avro.io.DecoderIOExceptionpublic int readIndex()
throws IOException
readIndex in class org.apache.avro.io.DecoderIOExceptionpublic static long readVarLongCount(DataInput in) throws IOException
IOExceptionCopyright © 2013–2014. All rights reserved.