public class LZFCompressedStreamOutput extends CompressedStreamOutput<LZFCompressorContext>
context, uncompressed, uncompressedLength
Constructor and Description |
---|
LZFCompressedStreamOutput(StreamOutput out) |
Modifier and Type | Method and Description |
---|---|
protected void |
compress(byte[] data,
int offset,
int len,
StreamOutput out)
Compresses the data into the output
|
protected void |
doClose() |
void |
writeHeader(StreamOutput out) |
close, flush, reset, setVersion, write, writeByte, writeBytes
getVersion, position, seek, seekPositionSupported, write, writeBoolean, writeBytes, writeBytes, writeBytesRef, writeBytesReference, writeDouble, writeDoubleArray, writeFloat, writeFloatArray, writeGenericValue, writeInt, writeIntArray, writeLong, writeLongArray, writeMap, writeOptionalBoolean, writeOptionalSharedString, writeOptionalStreamable, writeOptionalString, writeOptionalText, writeSharedString, writeSharedText, writeShort, writeString, writeStringArray, writeStringArrayNullable, writeText, writeTextArray, writeVInt, writeVLong
write
public LZFCompressedStreamOutput(StreamOutput out) throws IOException
IOException
public void writeHeader(StreamOutput out) throws IOException
writeHeader
in class CompressedStreamOutput<LZFCompressorContext>
IOException
protected void compress(byte[] data, int offset, int len, StreamOutput out) throws IOException
CompressedStreamOutput
compress
in class CompressedStreamOutput<LZFCompressorContext>
IOException
protected void doClose() throws IOException
doClose
in class CompressedStreamOutput<LZFCompressorContext>
IOException
Copyright © 2009–2015. All rights reserved.