public static class SequenceFileAsBinaryOutputFormat.WritableValueBytes
extends java.lang.Object
implements org.apache.hadoop.io.SequenceFile.ValueBytes
| Constructor and Description |
|---|
SequenceFileAsBinaryOutputFormat.WritableValueBytes() |
SequenceFileAsBinaryOutputFormat.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(java.io.DataOutputStream outStream) |
void |
writeUncompressedBytes(java.io.DataOutputStream outStream) |
public SequenceFileAsBinaryOutputFormat.WritableValueBytes()
public SequenceFileAsBinaryOutputFormat.WritableValueBytes(org.apache.hadoop.io.BytesWritable value)
public void reset(org.apache.hadoop.io.BytesWritable value)
public void writeUncompressedBytes(java.io.DataOutputStream outStream)
throws java.io.IOException
writeUncompressedBytes in interface org.apache.hadoop.io.SequenceFile.ValueBytesjava.io.IOExceptionpublic void writeCompressedBytes(java.io.DataOutputStream outStream)
throws java.lang.IllegalArgumentException,
java.io.IOException
writeCompressedBytes in interface org.apache.hadoop.io.SequenceFile.ValueBytesjava.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic int getSize()
getSize in interface org.apache.hadoop.io.SequenceFile.ValueBytesCopyright © 2009 The Apache Software Foundation