RecordInput@Deprecated @Public @Stable public class BinaryRecordInput extends java.lang.Object implements RecordInput
| Constructor | Description |
|---|---|
BinaryRecordInput(java.io.DataInput din) |
Deprecated.
Creates a new instance of BinaryRecordInput
|
BinaryRecordInput(java.io.InputStream strm) |
Deprecated.
Creates a new instance of BinaryRecordInput
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
endMap(java.lang.String tag) |
Deprecated.
Check the mark for end of the serialized map.
|
void |
endRecord(java.lang.String tag) |
Deprecated.
Check the mark for end of the serialized record.
|
void |
endVector(java.lang.String tag) |
Deprecated.
Check the mark for end of the serialized vector.
|
static BinaryRecordInput |
get(java.io.DataInput inp) |
Deprecated.
Get a thread-local record input for the supplied DataInput.
|
boolean |
readBool(java.lang.String tag) |
Deprecated.
Read a boolean from serialized record.
|
Buffer |
readBuffer(java.lang.String tag) |
Deprecated.
Read byte array from serialized record.
|
byte |
readByte(java.lang.String tag) |
Deprecated.
Read a byte from serialized record.
|
double |
readDouble(java.lang.String tag) |
Deprecated.
Read a double-precision number from serialized record.
|
float |
readFloat(java.lang.String tag) |
Deprecated.
Read a single-precision float from serialized record.
|
int |
readInt(java.lang.String tag) |
Deprecated.
Read an integer from serialized record.
|
long |
readLong(java.lang.String tag) |
Deprecated.
Read a long integer from serialized record.
|
java.lang.String |
readString(java.lang.String tag) |
Deprecated.
Read a UTF-8 encoded string from serialized record.
|
Index |
startMap(java.lang.String tag) |
Deprecated.
Check the mark for start of the serialized map.
|
void |
startRecord(java.lang.String tag) |
Deprecated.
Check the mark for start of the serialized record.
|
Index |
startVector(java.lang.String tag) |
Deprecated.
Check the mark for start of the serialized vector.
|
public BinaryRecordInput(java.io.InputStream strm)
public BinaryRecordInput(java.io.DataInput din)
public static BinaryRecordInput get(java.io.DataInput inp)
inp - data input streampublic byte readByte(java.lang.String tag)
throws java.io.IOException
RecordInputreadByte in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic boolean readBool(java.lang.String tag)
throws java.io.IOException
RecordInputreadBool in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic int readInt(java.lang.String tag)
throws java.io.IOException
RecordInputreadInt in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic long readLong(java.lang.String tag)
throws java.io.IOException
RecordInputreadLong in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic float readFloat(java.lang.String tag)
throws java.io.IOException
RecordInputreadFloat in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic double readDouble(java.lang.String tag)
throws java.io.IOException
RecordInputreadDouble in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic java.lang.String readString(java.lang.String tag)
throws java.io.IOException
RecordInputreadString in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic Buffer readBuffer(java.lang.String tag) throws java.io.IOException
RecordInputreadBuffer in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic void startRecord(java.lang.String tag)
throws java.io.IOException
RecordInputstartRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic void endRecord(java.lang.String tag)
throws java.io.IOException
RecordInputendRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic Index startVector(java.lang.String tag) throws java.io.IOException
RecordInputstartVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic void endVector(java.lang.String tag)
throws java.io.IOException
RecordInputendVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic Index startMap(java.lang.String tag) throws java.io.IOException
RecordInputstartMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionpublic void endMap(java.lang.String tag)
throws java.io.IOException
RecordInputendMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.