|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.typedbytes.TypedBytesWritableOutput
public class TypedBytesWritableOutput
Provides functionality for writing Writable objects as typed bytes.
TypedBytesOutput
Constructor Summary | |
---|---|
TypedBytesWritableOutput(DataOutput dout)
Creates a new instance of TypedBytesWritableOutput. |
|
TypedBytesWritableOutput(TypedBytesOutput out)
Creates a new instance of TypedBytesWritableOutput. |
Method Summary | |
---|---|
static TypedBytesWritableOutput |
get(DataOutput out)
Get a thread-local typed bytes writable output for the supplied DataOutput . |
static TypedBytesWritableOutput |
get(TypedBytesOutput out)
Get a thread-local typed bytes writable input for the supplied TypedBytesOutput . |
void |
write(Writable w)
|
void |
writeArray(ArrayWritable aw)
|
void |
writeBoolean(BooleanWritable bw)
|
void |
writeByte(ByteWritable bw)
|
void |
writeBytes(BytesWritable bw)
|
void |
writeDouble(DoubleWritable dw)
|
void |
writeFloat(FloatWritable fw)
|
void |
writeInt(IntWritable iw)
|
void |
writeLong(LongWritable lw)
|
void |
writeMap(MapWritable mw)
|
void |
writeRecord(Record r)
|
void |
writeSortedMap(SortedMapWritable smw)
|
void |
writeText(Text t)
|
void |
writeTypedBytes(TypedBytesWritable tbw)
|
void |
writeVInt(VIntWritable viw)
|
void |
writeVLong(VLongWritable vlw)
|
void |
writeWritable(Writable w)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypedBytesWritableOutput(TypedBytesOutput out)
public TypedBytesWritableOutput(DataOutput dout)
Method Detail |
---|
public static TypedBytesWritableOutput get(TypedBytesOutput out)
TypedBytesOutput
.
out
- typed bytes output object
TypedBytesOutput
.public static TypedBytesWritableOutput get(DataOutput out)
DataOutput
.
out
- data output object
DataOutput
.public void write(Writable w) throws IOException
IOException
public void writeTypedBytes(TypedBytesWritable tbw) throws IOException
IOException
public void writeBytes(BytesWritable bw) throws IOException
IOException
public void writeByte(ByteWritable bw) throws IOException
IOException
public void writeBoolean(BooleanWritable bw) throws IOException
IOException
public void writeInt(IntWritable iw) throws IOException
IOException
public void writeVInt(VIntWritable viw) throws IOException
IOException
public void writeLong(LongWritable lw) throws IOException
IOException
public void writeVLong(VLongWritable vlw) throws IOException
IOException
public void writeFloat(FloatWritable fw) throws IOException
IOException
public void writeDouble(DoubleWritable dw) throws IOException
IOException
public void writeText(Text t) throws IOException
IOException
public void writeArray(ArrayWritable aw) throws IOException
IOException
public void writeMap(MapWritable mw) throws IOException
IOException
public void writeSortedMap(SortedMapWritable smw) throws IOException
IOException
public void writeRecord(Record r) throws IOException
IOException
public void writeWritable(Writable w) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |