public class DataInputDecoder
extends org.apache.avro.io.Decoder
Decoder that reads from a DataInput.| 构造器和说明 |
|---|
DataInputDecoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 org.apache.avro.io.Decoderpublic boolean readBoolean()
throws IOException
readBoolean 在类中 org.apache.avro.io.DecoderIOExceptionpublic int readInt()
throws IOException
readInt 在类中 org.apache.avro.io.DecoderIOExceptionpublic long readLong()
throws IOException
readLong 在类中 org.apache.avro.io.DecoderIOExceptionpublic float readFloat()
throws IOException
readFloat 在类中 org.apache.avro.io.DecoderIOExceptionpublic double readDouble()
throws IOException
readDouble 在类中 org.apache.avro.io.DecoderIOExceptionpublic int readEnum()
throws IOException
readEnum 在类中 org.apache.avro.io.DecoderIOExceptionpublic void readFixed(byte[] bytes,
int start,
int length)
throws IOException
readFixed 在类中 org.apache.avro.io.DecoderIOExceptionpublic ByteBuffer readBytes(ByteBuffer old) throws IOException
readBytes 在类中 org.apache.avro.io.DecoderIOExceptionpublic void skipFixed(int length)
throws IOException
skipFixed 在类中 org.apache.avro.io.DecoderIOExceptionpublic void skipBytes()
throws IOException
skipBytes 在类中 org.apache.avro.io.DecoderIOExceptionpublic org.apache.avro.util.Utf8 readString(org.apache.avro.util.Utf8 old)
throws IOException
readString 在类中 org.apache.avro.io.DecoderIOExceptionpublic String readString() throws IOException
readString 在类中 org.apache.avro.io.DecoderIOExceptionpublic void skipString()
throws IOException
skipString 在类中 org.apache.avro.io.DecoderIOExceptionpublic long readArrayStart()
throws IOException
readArrayStart 在类中 org.apache.avro.io.DecoderIOExceptionpublic long arrayNext()
throws IOException
arrayNext 在类中 org.apache.avro.io.DecoderIOExceptionpublic long skipArray()
throws IOException
skipArray 在类中 org.apache.avro.io.DecoderIOExceptionpublic long readMapStart()
throws IOException
readMapStart 在类中 org.apache.avro.io.DecoderIOExceptionpublic long mapNext()
throws IOException
mapNext 在类中 org.apache.avro.io.DecoderIOExceptionpublic long skipMap()
throws IOException
skipMap 在类中 org.apache.avro.io.DecoderIOExceptionpublic int readIndex()
throws IOException
readIndex 在类中 org.apache.avro.io.DecoderIOExceptionpublic static long readVarLongCount(DataInput in) throws IOException
IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.