protected static class SequenceFileAsBinaryOutputFormat.WritableValueBytes extends Object implements SequenceFile.ValueBytes
Constructor and Description |
---|
WritableValueBytes() |
WritableValueBytes(BytesWritable value) |
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Size of stored data.
|
void |
reset(BytesWritable value) |
void |
writeCompressedBytes(DataOutputStream outStream)
Write compressed bytes to outStream.
|
void |
writeUncompressedBytes(DataOutputStream outStream)
Writes the uncompressed bytes to the outStream.
|
public WritableValueBytes()
public WritableValueBytes(BytesWritable value)
public void reset(BytesWritable value)
public void writeUncompressedBytes(DataOutputStream outStream) throws IOException
SequenceFile.ValueBytes
writeUncompressedBytes
in interface SequenceFile.ValueBytes
outStream
- : Stream to write uncompressed bytes into.IOException
public void writeCompressedBytes(DataOutputStream outStream) throws IllegalArgumentException, IOException
SequenceFile.ValueBytes
writeCompressedBytes
in interface SequenceFile.ValueBytes
outStream
- : Stream to write compressed bytes into.IllegalArgumentException
IOException
public int getSize()
SequenceFile.ValueBytes
getSize
in interface SequenceFile.ValueBytes
Copyright © 2010 The Apache Software Foundation