@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class BinaryRecordInput extends Object implements RecordInput
Constructor and Description |
---|
BinaryRecordInput(DataInput din)
Deprecated.
Creates a new instance of BinaryRecordInput
|
BinaryRecordInput(InputStream strm)
Deprecated.
Creates a new instance of BinaryRecordInput
|
Modifier and Type | Method and Description |
---|---|
void |
endMap(String tag)
Deprecated.
Check the mark for end of the serialized map.
|
void |
endRecord(String tag)
Deprecated.
Check the mark for end of the serialized record.
|
void |
endVector(String tag)
Deprecated.
Check the mark for end of the serialized vector.
|
static BinaryRecordInput |
get(DataInput inp)
Deprecated.
Get a thread-local record input for the supplied DataInput.
|
boolean |
readBool(String tag)
Deprecated.
Read a boolean from serialized record.
|
Buffer |
readBuffer(String tag)
Deprecated.
Read byte array from serialized record.
|
byte |
readByte(String tag)
Deprecated.
Read a byte from serialized record.
|
double |
readDouble(String tag)
Deprecated.
Read a double-precision number from serialized record.
|
float |
readFloat(String tag)
Deprecated.
Read a single-precision float from serialized record.
|
int |
readInt(String tag)
Deprecated.
Read an integer from serialized record.
|
long |
readLong(String tag)
Deprecated.
Read a long integer from serialized record.
|
String |
readString(String tag)
Deprecated.
Read a UTF-8 encoded string from serialized record.
|
Index |
startMap(String tag)
Deprecated.
Check the mark for start of the serialized map.
|
void |
startRecord(String tag)
Deprecated.
Check the mark for start of the serialized record.
|
Index |
startVector(String tag)
Deprecated.
Check the mark for start of the serialized vector.
|
public BinaryRecordInput(InputStream strm)
public BinaryRecordInput(DataInput din)
public static BinaryRecordInput get(DataInput inp)
inp
- data input streampublic byte readByte(String tag) throws IOException
RecordInput
readByte
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public boolean readBool(String tag) throws IOException
RecordInput
readBool
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public int readInt(String tag) throws IOException
RecordInput
readInt
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public long readLong(String tag) throws IOException
RecordInput
readLong
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public float readFloat(String tag) throws IOException
RecordInput
readFloat
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public double readDouble(String tag) throws IOException
RecordInput
readDouble
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public String readString(String tag) throws IOException
RecordInput
readString
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public Buffer readBuffer(String tag) throws IOException
RecordInput
readBuffer
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public void startRecord(String tag) throws IOException
RecordInput
startRecord
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public void endRecord(String tag) throws IOException
RecordInput
endRecord
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public Index startVector(String tag) throws IOException
RecordInput
startVector
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public void endVector(String tag) throws IOException
RecordInput
endVector
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public Index startMap(String tag) throws IOException
RecordInput
startMap
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
public void endMap(String tag) throws IOException
RecordInput
endMap
in interface RecordInput
tag
- Used by tagged serialization formats (such as XML)IOException
Copyright © 2021 Apache Software Foundation. All rights reserved.