|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat.WritableValueBytes
protected static class SequenceFileAsBinaryOutputFormat.WritableValueBytes
Inner class used for appendRaw
Constructor Summary | |
---|---|
SequenceFileAsBinaryOutputFormat.WritableValueBytes()
|
|
SequenceFileAsBinaryOutputFormat.WritableValueBytes(BytesWritable value)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceFileAsBinaryOutputFormat.WritableValueBytes()
public SequenceFileAsBinaryOutputFormat.WritableValueBytes(BytesWritable value)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |