protected static class SequenceFileAsBinaryOutputFormat.WritableValueBytes extends Object implements SequenceFile.ValueBytes
构造器和说明 |
---|
SequenceFileAsBinaryOutputFormat.WritableValueBytes() |
SequenceFileAsBinaryOutputFormat.WritableValueBytes(BytesWritable value) |
限定符和类型 | 方法和说明 |
---|---|
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 SequenceFileAsBinaryOutputFormat.WritableValueBytes()
public SequenceFileAsBinaryOutputFormat.WritableValueBytes(BytesWritable value)
public void reset(BytesWritable value)
public void writeUncompressedBytes(DataOutputStream outStream) throws IOException
SequenceFile.ValueBytes
writeUncompressedBytes
在接口中 SequenceFile.ValueBytes
outStream
- : Stream to write uncompressed bytes into.IOException
public void writeCompressedBytes(DataOutputStream outStream) throws IllegalArgumentException, IOException
SequenceFile.ValueBytes
writeCompressedBytes
在接口中 SequenceFile.ValueBytes
outStream
- : Stream to write compressed bytes into.IllegalArgumentException
IOException
public int getSize()
SequenceFile.ValueBytes
getSize
在接口中 SequenceFile.ValueBytes
Copyright © 2009 The Apache Software Foundation