|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.typedbytes.TypedBytesRecordInput
public class TypedBytesRecordInput
Serializer for records that writes typed bytes.
| Constructor Summary | |
|---|---|
TypedBytesRecordInput(DataInput in)
Creates a new instance of TypedBytesRecordInput. |
|
TypedBytesRecordInput(TypedBytesInput in)
Creates a new instance of TypedBytesRecordInput. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypedBytesRecordInput(TypedBytesInput in)
public TypedBytesRecordInput(DataInput in)
| Method Detail |
|---|
public static TypedBytesRecordInput get(TypedBytesInput in)
TypedBytesInput.
in - typed bytes input object
TypedBytesInput.public static TypedBytesRecordInput get(DataInput in)
DataInput.
in - data input object
DataInput.
public boolean readBool(String tag)
throws IOException
readBool in interface org.apache.hadoop.record.RecordInputIOException
public org.apache.hadoop.record.Buffer readBuffer(String tag)
throws IOException
readBuffer in interface org.apache.hadoop.record.RecordInputIOException
public byte readByte(String tag)
throws IOException
readByte in interface org.apache.hadoop.record.RecordInputIOException
public double readDouble(String tag)
throws IOException
readDouble in interface org.apache.hadoop.record.RecordInputIOException
public float readFloat(String tag)
throws IOException
readFloat in interface org.apache.hadoop.record.RecordInputIOException
public int readInt(String tag)
throws IOException
readInt in interface org.apache.hadoop.record.RecordInputIOException
public long readLong(String tag)
throws IOException
readLong in interface org.apache.hadoop.record.RecordInputIOException
public String readString(String tag)
throws IOException
readString in interface org.apache.hadoop.record.RecordInputIOException
public void startRecord(String tag)
throws IOException
startRecord in interface org.apache.hadoop.record.RecordInputIOException
public org.apache.hadoop.record.Index startVector(String tag)
throws IOException
startVector in interface org.apache.hadoop.record.RecordInputIOException
public org.apache.hadoop.record.Index startMap(String tag)
throws IOException
startMap in interface org.apache.hadoop.record.RecordInputIOException
public void endRecord(String tag)
throws IOException
endRecord in interface org.apache.hadoop.record.RecordInputIOException
public void endVector(String tag)
throws IOException
endVector in interface org.apache.hadoop.record.RecordInputIOException
public void endMap(String tag)
throws IOException
endMap in interface org.apache.hadoop.record.RecordInputIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||