public class TypedBytesWritableOutput extends Object
TypedBytesOutput
构造器和说明 |
---|
TypedBytesWritableOutput(DataOutput dout)
Creates a new instance of TypedBytesWritableOutput.
|
TypedBytesWritableOutput(TypedBytesOutput out)
Creates a new instance of TypedBytesWritableOutput.
|
限定符和类型 | 方法和说明 |
---|---|
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) |
public TypedBytesWritableOutput(TypedBytesOutput out)
public TypedBytesWritableOutput(DataOutput dout)
public static TypedBytesWritableOutput get(TypedBytesOutput out)
TypedBytesOutput
.out
- typed bytes output objectTypedBytesOutput
.public static TypedBytesWritableOutput get(DataOutput out)
DataOutput
.out
- data output objectDataOutput
.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
Copyright © 2009 The Apache Software Foundation