public class DataInputDecoder
extends org.apache.avro.io.Decoder
Decoder
that reads from a DataInput
.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.Decoder
public boolean readBoolean() throws IOException
readBoolean
in class org.apache.avro.io.Decoder
IOException
public int readInt() throws IOException
readInt
in class org.apache.avro.io.Decoder
IOException
public long readLong() throws IOException
readLong
in class org.apache.avro.io.Decoder
IOException
public float readFloat() throws IOException
readFloat
in class org.apache.avro.io.Decoder
IOException
public double readDouble() throws IOException
readDouble
in class org.apache.avro.io.Decoder
IOException
public int readEnum() throws IOException
readEnum
in class org.apache.avro.io.Decoder
IOException
public void readFixed(byte[] bytes, int start, int length) throws IOException
readFixed
in class org.apache.avro.io.Decoder
IOException
public ByteBuffer readBytes(ByteBuffer old) throws IOException
readBytes
in class org.apache.avro.io.Decoder
IOException
public void skipFixed(int length) throws IOException
skipFixed
in class org.apache.avro.io.Decoder
IOException
public void skipBytes() throws IOException
skipBytes
in class org.apache.avro.io.Decoder
IOException
public org.apache.avro.util.Utf8 readString(org.apache.avro.util.Utf8 old) throws IOException
readString
in class org.apache.avro.io.Decoder
IOException
public String readString() throws IOException
readString
in class org.apache.avro.io.Decoder
IOException
public void skipString() throws IOException
skipString
in class org.apache.avro.io.Decoder
IOException
public long readArrayStart() throws IOException
readArrayStart
in class org.apache.avro.io.Decoder
IOException
public long arrayNext() throws IOException
arrayNext
in class org.apache.avro.io.Decoder
IOException
public long skipArray() throws IOException
skipArray
in class org.apache.avro.io.Decoder
IOException
public long readMapStart() throws IOException
readMapStart
in class org.apache.avro.io.Decoder
IOException
public long mapNext() throws IOException
mapNext
in class org.apache.avro.io.Decoder
IOException
public long skipMap() throws IOException
skipMap
in class org.apache.avro.io.Decoder
IOException
public int readIndex() throws IOException
readIndex
in class org.apache.avro.io.Decoder
IOException
public static long readVarLongCount(DataInput in) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.