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
IOExceptionpublic void writeTypedBytes(TypedBytesWritable tbw) throws IOException
IOExceptionpublic void writeBytes(BytesWritable bw) throws IOException
IOExceptionpublic void writeByte(ByteWritable bw) throws IOException
IOExceptionpublic void writeBoolean(BooleanWritable bw) throws IOException
IOExceptionpublic void writeInt(IntWritable iw) throws IOException
IOExceptionpublic void writeVInt(VIntWritable viw) throws IOException
IOExceptionpublic void writeLong(LongWritable lw) throws IOException
IOExceptionpublic void writeVLong(VLongWritable vlw) throws IOException
IOExceptionpublic void writeFloat(FloatWritable fw) throws IOException
IOExceptionpublic void writeDouble(DoubleWritable dw) throws IOException
IOExceptionpublic void writeText(Text t) throws IOException
IOExceptionpublic void writeArray(ArrayWritable aw) throws IOException
IOExceptionpublic void writeMap(MapWritable mw) throws IOException
IOExceptionpublic void writeSortedMap(SortedMapWritable smw) throws IOException
IOExceptionpublic void writeRecord(Record r) throws IOException
IOExceptionpublic void writeWritable(Writable w) throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation