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.RecordInput
java.io.IOException
public org.apache.hadoop.record.Buffer readBuffer(java.lang.String tag) throws java.io.IOException
readBuffer
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public byte readByte(java.lang.String tag) throws java.io.IOException
readByte
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public double readDouble(java.lang.String tag) throws java.io.IOException
readDouble
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public float readFloat(java.lang.String tag) throws java.io.IOException
readFloat
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public int readInt(java.lang.String tag) throws java.io.IOException
readInt
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public long readLong(java.lang.String tag) throws java.io.IOException
readLong
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public java.lang.String readString(java.lang.String tag) throws java.io.IOException
readString
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public void startRecord(java.lang.String tag) throws java.io.IOException
startRecord
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public org.apache.hadoop.record.Index startVector(java.lang.String tag) throws java.io.IOException
startVector
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public org.apache.hadoop.record.Index startMap(java.lang.String tag) throws java.io.IOException
startMap
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public void endRecord(java.lang.String tag) throws java.io.IOException
endRecord
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public void endVector(java.lang.String tag) throws java.io.IOException
endVector
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
public void endMap(java.lang.String tag) throws java.io.IOException
endMap
in interface org.apache.hadoop.record.RecordInput
java.io.IOException
Copyright © 2009 The Apache Software Foundation