org.apache.hadoop.mapred
Class SequenceFileAsBinaryOutputFormat.WritableValueBytes
java.lang.Object
org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat.WritableValueBytes
- All Implemented Interfaces:
- org.apache.hadoop.io.SequenceFile.ValueBytes
- Enclosing class:
- SequenceFileAsBinaryOutputFormat
protected static class SequenceFileAsBinaryOutputFormat.WritableValueBytes
- extends java.lang.Object
- implements org.apache.hadoop.io.SequenceFile.ValueBytes
Inner class used for appendRaw
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceFileAsBinaryOutputFormat.WritableValueBytes
public SequenceFileAsBinaryOutputFormat.WritableValueBytes()
SequenceFileAsBinaryOutputFormat.WritableValueBytes
public SequenceFileAsBinaryOutputFormat.WritableValueBytes(org.apache.hadoop.io.BytesWritable value)
reset
public void reset(org.apache.hadoop.io.BytesWritable value)
writeUncompressedBytes
public void writeUncompressedBytes(java.io.DataOutputStream outStream)
throws java.io.IOException
- Specified by:
writeUncompressedBytes
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
- Throws:
java.io.IOException
writeCompressedBytes
public void writeCompressedBytes(java.io.DataOutputStream outStream)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Specified by:
writeCompressedBytes
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
getSize
public int getSize()
- Specified by:
getSize
in interface org.apache.hadoop.io.SequenceFile.ValueBytes
Copyright © 2009 The Apache Software Foundation