@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
RecordInputreadByte in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic boolean readBool(String tag) throws IOException
RecordInputreadBool in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic int readInt(String tag) throws IOException
RecordInputreadInt in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic long readLong(String tag) throws IOException
RecordInputreadLong in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic float readFloat(String tag) throws IOException
RecordInputreadFloat in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic double readDouble(String tag) throws IOException
RecordInputreadDouble in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic String readString(String tag) throws IOException
RecordInputreadString in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Buffer readBuffer(String tag) throws IOException
RecordInputreadBuffer in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void startRecord(String tag) throws IOException
RecordInputstartRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endRecord(String tag) throws IOException
RecordInputendRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Index startVector(String tag) throws IOException
RecordInputstartVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endVector(String tag) throws IOException
RecordInputendVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Index startMap(String tag) throws IOException
RecordInputstartMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endMap(String tag) throws IOException
RecordInputendMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.