public static class SequenceFileAsBinaryOutputFormat.WritableValueBytes extends Object implements org.apache.hadoop.io.SequenceFile.ValueBytes
Constructor and Description |
---|
WritableValueBytes() |
WritableValueBytes(org.apache.hadoop.io.BytesWritable value) |
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
void |
reset(org.apache.hadoop.io.BytesWritable value) |
void |
writeCompressedBytes(DataOutputStream outStream) |
void |
writeUncompressedBytes(DataOutputStream outStream) |
public WritableValueBytes()
public WritableValueBytes(org.apache.hadoop.io.BytesWritable value)
public void reset(org.apache.hadoop.io.BytesWritable value)
public void writeUncompressedBytes(DataOutputStream outStream) throws IOException
writeUncompressedBytes
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
IOException
public void writeCompressedBytes(DataOutputStream outStream) throws IllegalArgumentException, IOException
writeCompressedBytes
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
IllegalArgumentException
IOException
public int getSize()
getSize
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
Copyright © 2017 Apache Software Foundation. All Rights Reserved.