public class TypedBytesWritableOutput extends Object
TypedBytesOutput
Constructor and Description |
---|
TypedBytesWritableOutput(DataOutput dout)
Creates a new instance of TypedBytesWritableOutput.
|
TypedBytesWritableOutput(TypedBytesOutput out)
Creates a new instance of TypedBytesWritableOutput.
|
Modifier and Type | Method and Description |
---|---|
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(org.apache.hadoop.io.Writable w) |
void |
writeArray(org.apache.hadoop.io.ArrayWritable aw) |
void |
writeBoolean(org.apache.hadoop.io.BooleanWritable bw) |
void |
writeByte(ByteWritable bw) |
void |
writeBytes(org.apache.hadoop.io.BytesWritable bw) |
void |
writeDouble(DoubleWritable dw) |
void |
writeEndOfRecord() |
void |
writeFloat(org.apache.hadoop.io.FloatWritable fw) |
void |
writeInt(org.apache.hadoop.io.IntWritable iw) |
void |
writeLong(org.apache.hadoop.io.LongWritable lw) |
void |
writeMap(org.apache.hadoop.io.MapWritable mw) |
void |
writeNull() |
void |
writeShort(ShortWritable sw) |
void |
writeSortedMap(org.apache.hadoop.io.SortedMapWritable smw) |
void |
writeText(org.apache.hadoop.io.Text t) |
void |
writeTypedBytes(TypedBytesWritable tbw) |
void |
writeVInt(org.apache.hadoop.io.VIntWritable viw) |
void |
writeVLong(org.apache.hadoop.io.VLongWritable vlw) |
void |
writeWritable(org.apache.hadoop.io.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(org.apache.hadoop.io.Writable w) throws IOException
IOException
public void writeTypedBytes(TypedBytesWritable tbw) throws IOException
IOException
public void writeBytes(org.apache.hadoop.io.BytesWritable bw) throws IOException
IOException
public void writeByte(ByteWritable bw) throws IOException
IOException
public void writeBoolean(org.apache.hadoop.io.BooleanWritable bw) throws IOException
IOException
public void writeInt(org.apache.hadoop.io.IntWritable iw) throws IOException
IOException
public void writeVInt(org.apache.hadoop.io.VIntWritable viw) throws IOException
IOException
public void writeLong(org.apache.hadoop.io.LongWritable lw) throws IOException
IOException
public void writeVLong(org.apache.hadoop.io.VLongWritable vlw) throws IOException
IOException
public void writeFloat(org.apache.hadoop.io.FloatWritable fw) throws IOException
IOException
public void writeDouble(DoubleWritable dw) throws IOException
IOException
public void writeShort(ShortWritable sw) throws IOException
IOException
public void writeText(org.apache.hadoop.io.Text t) throws IOException
IOException
public void writeArray(org.apache.hadoop.io.ArrayWritable aw) throws IOException
IOException
public void writeMap(org.apache.hadoop.io.MapWritable mw) throws IOException
IOException
public void writeSortedMap(org.apache.hadoop.io.SortedMapWritable smw) throws IOException
IOException
public void writeNull() throws IOException
IOException
public void writeWritable(org.apache.hadoop.io.Writable w) throws IOException
IOException
public void writeEndOfRecord() throws IOException
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.