public class TypedBytesRecordInput extends Object implements org.apache.hadoop.record.RecordInput
| Constructor and Description |
|---|
TypedBytesRecordInput(DataInput in)
Creates a new instance of TypedBytesRecordInput.
|
TypedBytesRecordInput(TypedBytesInput in)
Creates a new instance of TypedBytesRecordInput.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endMap(String tag) |
void |
endRecord(String tag) |
void |
endVector(String tag) |
static TypedBytesRecordInput |
get(DataInput in)
Get a thread-local typed bytes record input for the supplied
DataInput. |
static TypedBytesRecordInput |
get(TypedBytesInput in)
Get a thread-local typed bytes record input for the supplied
TypedBytesInput. |
boolean |
readBool(String tag) |
org.apache.hadoop.record.Buffer |
readBuffer(String tag) |
byte |
readByte(String tag) |
double |
readDouble(String tag) |
float |
readFloat(String tag) |
int |
readInt(String tag) |
long |
readLong(String tag) |
String |
readString(String tag) |
org.apache.hadoop.record.Index |
startMap(String tag) |
void |
startRecord(String tag) |
org.apache.hadoop.record.Index |
startVector(String tag) |
public TypedBytesRecordInput(TypedBytesInput in)
public TypedBytesRecordInput(DataInput in)
public static TypedBytesRecordInput get(TypedBytesInput in)
TypedBytesInput.in - typed bytes input objectTypedBytesInput.public static TypedBytesRecordInput get(DataInput in)
DataInput.in - data input objectDataInput.public boolean readBool(String tag) throws IOException
readBool in interface org.apache.hadoop.record.RecordInputIOExceptionpublic org.apache.hadoop.record.Buffer readBuffer(String tag) throws IOException
readBuffer in interface org.apache.hadoop.record.RecordInputIOExceptionpublic byte readByte(String tag) throws IOException
readByte in interface org.apache.hadoop.record.RecordInputIOExceptionpublic double readDouble(String tag) throws IOException
readDouble in interface org.apache.hadoop.record.RecordInputIOExceptionpublic float readFloat(String tag) throws IOException
readFloat in interface org.apache.hadoop.record.RecordInputIOExceptionpublic int readInt(String tag) throws IOException
readInt in interface org.apache.hadoop.record.RecordInputIOExceptionpublic long readLong(String tag) throws IOException
readLong in interface org.apache.hadoop.record.RecordInputIOExceptionpublic String readString(String tag) throws IOException
readString in interface org.apache.hadoop.record.RecordInputIOExceptionpublic void startRecord(String tag) throws IOException
startRecord in interface org.apache.hadoop.record.RecordInputIOExceptionpublic org.apache.hadoop.record.Index startVector(String tag) throws IOException
startVector in interface org.apache.hadoop.record.RecordInputIOExceptionpublic org.apache.hadoop.record.Index startMap(String tag) throws IOException
startMap in interface org.apache.hadoop.record.RecordInputIOExceptionpublic void endRecord(String tag) throws IOException
endRecord in interface org.apache.hadoop.record.RecordInputIOExceptionpublic void endVector(String tag) throws IOException
endVector in interface org.apache.hadoop.record.RecordInputIOExceptionpublic void endMap(String tag) throws IOException
endMap in interface org.apache.hadoop.record.RecordInputIOExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.