public class TypedBytesRecordInput
extends java.lang.Object
implements org.apache.hadoop.record.RecordInput
| Constructor and Description |
|---|
TypedBytesRecordInput(java.io.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(java.lang.String tag) |
void |
endRecord(java.lang.String tag) |
void |
endVector(java.lang.String tag) |
static TypedBytesRecordInput |
get(java.io.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(java.lang.String tag) |
org.apache.hadoop.record.Buffer |
readBuffer(java.lang.String tag) |
byte |
readByte(java.lang.String tag) |
double |
readDouble(java.lang.String tag) |
float |
readFloat(java.lang.String tag) |
int |
readInt(java.lang.String tag) |
long |
readLong(java.lang.String tag) |
java.lang.String |
readString(java.lang.String tag) |
org.apache.hadoop.record.Index |
startMap(java.lang.String tag) |
void |
startRecord(java.lang.String tag) |
org.apache.hadoop.record.Index |
startVector(java.lang.String tag) |
public TypedBytesRecordInput(TypedBytesInput in)
public TypedBytesRecordInput(java.io.DataInput in)
public static TypedBytesRecordInput get(TypedBytesInput in)
TypedBytesInput.in - typed bytes input objectTypedBytesInput.public static TypedBytesRecordInput get(java.io.DataInput in)
DataInput.in - data input objectDataInput.public boolean readBool(java.lang.String tag)
throws java.io.IOException
readBool in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic org.apache.hadoop.record.Buffer readBuffer(java.lang.String tag)
throws java.io.IOException
readBuffer in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic byte readByte(java.lang.String tag)
throws java.io.IOException
readByte in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic double readDouble(java.lang.String tag)
throws java.io.IOException
readDouble in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic float readFloat(java.lang.String tag)
throws java.io.IOException
readFloat in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic int readInt(java.lang.String tag)
throws java.io.IOException
readInt in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic long readLong(java.lang.String tag)
throws java.io.IOException
readLong in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic java.lang.String readString(java.lang.String tag)
throws java.io.IOException
readString in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic void startRecord(java.lang.String tag)
throws java.io.IOException
startRecord in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic org.apache.hadoop.record.Index startVector(java.lang.String tag)
throws java.io.IOException
startVector in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic org.apache.hadoop.record.Index startMap(java.lang.String tag)
throws java.io.IOException
startMap in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic void endRecord(java.lang.String tag)
throws java.io.IOException
endRecord in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic void endVector(java.lang.String tag)
throws java.io.IOException
endVector in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionpublic void endMap(java.lang.String tag)
throws java.io.IOException
endMap in interface org.apache.hadoop.record.RecordInputjava.io.IOExceptionCopyright © 2009 The Apache Software Foundation