protected 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.ValueBytes
java.io.IOException
public void writeCompressedBytes(java.io.DataOutputStream outStream) throws java.lang.IllegalArgumentException, java.io.IOException
writeCompressedBytes
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
java.lang.IllegalArgumentException
java.io.IOException
public int getSize()
getSize
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
Copyright © 2009 The Apache Software Foundation