Class DataInputDecoder
java.lang.Object
org.apache.avro.io.Decoder
org.apache.flink.formats.avro.utils.DataInputDecoder
public class DataInputDecoder
extends org.apache.avro.io.Decoder
A
Decoder that reads from a DataInput.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongmapNext()longbooleanreadBytes(ByteBuffer old) doubleintreadEnum()voidreadFixed(byte[] bytes, int start, int length) floatintintreadInt()longreadLong()longvoidreadNull()org.apache.avro.util.Utf8readString(org.apache.avro.util.Utf8 old) static longvoidlongvoidvoidskipFixed(int length) longskipMap()voidMethods inherited from class org.apache.avro.io.Decoder
readFixed
-
Constructor Details
-
DataInputDecoder
public DataInputDecoder()
-
-
Method Details
-
setIn
-
readNull
public void readNull()- Specified by:
readNullin classorg.apache.avro.io.Decoder
-
readBoolean
- Specified by:
readBooleanin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readInt
- Specified by:
readIntin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readLong
- Specified by:
readLongin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readFloat
- Specified by:
readFloatin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readDouble
- Specified by:
readDoublein classorg.apache.avro.io.Decoder- Throws:
IOException
-
readEnum
- Specified by:
readEnumin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readFixed
- Specified by:
readFixedin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readBytes
- Specified by:
readBytesin classorg.apache.avro.io.Decoder- Throws:
IOException
-
skipFixed
- Specified by:
skipFixedin classorg.apache.avro.io.Decoder- Throws:
IOException
-
skipBytes
- Specified by:
skipBytesin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readString
- Specified by:
readStringin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readString
- Specified by:
readStringin classorg.apache.avro.io.Decoder- Throws:
IOException
-
skipString
- Specified by:
skipStringin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readArrayStart
- Specified by:
readArrayStartin classorg.apache.avro.io.Decoder- Throws:
IOException
-
arrayNext
- Specified by:
arrayNextin classorg.apache.avro.io.Decoder- Throws:
IOException
-
skipArray
- Specified by:
skipArrayin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readMapStart
- Specified by:
readMapStartin classorg.apache.avro.io.Decoder- Throws:
IOException
-
mapNext
- Specified by:
mapNextin classorg.apache.avro.io.Decoder- Throws:
IOException
-
skipMap
- Specified by:
skipMapin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readIndex
- Specified by:
readIndexin classorg.apache.avro.io.Decoder- Throws:
IOException
-
readVarLongCount
- Throws:
IOException
-