|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.typedbytes.TypedBytesRecordOutput
public class TypedBytesRecordOutput
Deserialized for records that reads typed bytes.
Constructor Summary | |
---|---|
TypedBytesRecordOutput(DataOutput out)
Creates a new instance of TypedBytesRecordOutput. |
|
TypedBytesRecordOutput(TypedBytesOutput out)
Creates a new instance of TypedBytesRecordOutput. |
Method Summary | |
---|---|
void |
endMap(TreeMap m,
String tag)
|
void |
endRecord(org.apache.hadoop.record.Record r,
String tag)
|
void |
endVector(ArrayList v,
String tag)
|
static TypedBytesRecordOutput |
get(DataOutput out)
Get a thread-local typed bytes record output for the supplied DataOutput . |
static TypedBytesRecordOutput |
get(TypedBytesOutput out)
Get a thread-local typed bytes record input for the supplied TypedBytesOutput . |
void |
startMap(TreeMap m,
String tag)
|
void |
startRecord(org.apache.hadoop.record.Record r,
String tag)
|
void |
startVector(ArrayList v,
String tag)
|
void |
writeBool(boolean b,
String tag)
|
void |
writeBuffer(org.apache.hadoop.record.Buffer buf,
String tag)
|
void |
writeByte(byte b,
String tag)
|
void |
writeDouble(double d,
String tag)
|
void |
writeFloat(float f,
String tag)
|
void |
writeInt(int i,
String tag)
|
void |
writeLong(long l,
String tag)
|
void |
writeString(String s,
String tag)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypedBytesRecordOutput(TypedBytesOutput out)
public TypedBytesRecordOutput(DataOutput out)
Method Detail |
---|
public static TypedBytesRecordOutput get(TypedBytesOutput out)
TypedBytesOutput
.
out
- typed bytes output object
TypedBytesOutput
.public static TypedBytesRecordOutput get(DataOutput out)
DataOutput
.
out
- data output object
DataOutput
.public void writeBool(boolean b, String tag) throws IOException
writeBool
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeBuffer(org.apache.hadoop.record.Buffer buf, String tag) throws IOException
writeBuffer
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeByte(byte b, String tag) throws IOException
writeByte
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeDouble(double d, String tag) throws IOException
writeDouble
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeFloat(float f, String tag) throws IOException
writeFloat
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeInt(int i, String tag) throws IOException
writeInt
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeLong(long l, String tag) throws IOException
writeLong
in interface org.apache.hadoop.record.RecordOutput
IOException
public void writeString(String s, String tag) throws IOException
writeString
in interface org.apache.hadoop.record.RecordOutput
IOException
public void startRecord(org.apache.hadoop.record.Record r, String tag) throws IOException
startRecord
in interface org.apache.hadoop.record.RecordOutput
IOException
public void startVector(ArrayList v, String tag) throws IOException
startVector
in interface org.apache.hadoop.record.RecordOutput
IOException
public void startMap(TreeMap m, String tag) throws IOException
startMap
in interface org.apache.hadoop.record.RecordOutput
IOException
public void endRecord(org.apache.hadoop.record.Record r, String tag) throws IOException
endRecord
in interface org.apache.hadoop.record.RecordOutput
IOException
public void endVector(ArrayList v, String tag) throws IOException
endVector
in interface org.apache.hadoop.record.RecordOutput
IOException
public void endMap(TreeMap m, String tag) throws IOException
endMap
in interface org.apache.hadoop.record.RecordOutput
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |