org.elasticsearch.common.compress.lzf
Class LZFCompressedIndexOutput
java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.elasticsearch.common.compress.CompressedIndexOutput<LZFCompressorContext>
org.elasticsearch.common.compress.lzf.LZFCompressedIndexOutput
- All Implemented Interfaces:
- Closeable
public class LZFCompressedIndexOutput
- extends CompressedIndexOutput<LZFCompressorContext>
Method Summary |
protected void |
compress(byte[] data,
int offset,
int len,
org.apache.lucene.store.IndexOutput out)
Compresses the data into the output |
protected void |
doClose()
|
protected void |
writeHeader(org.apache.lucene.store.IndexOutput out)
|
Methods inherited from class org.apache.lucene.store.IndexOutput |
setLength |
Methods inherited from class org.apache.lucene.store.DataOutput |
writeBytes, writeChars, writeChars, writeInt, writeLong, writeShort, writeString, writeStringStringMap, writeVInt, writeVLong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LZFCompressedIndexOutput
public LZFCompressedIndexOutput(org.apache.lucene.store.IndexOutput out)
throws IOException
- Throws:
IOException
writeHeader
protected void writeHeader(org.apache.lucene.store.IndexOutput out)
throws IOException
- Specified by:
writeHeader
in class CompressedIndexOutput<LZFCompressorContext>
- Throws:
IOException
compress
protected void compress(byte[] data,
int offset,
int len,
org.apache.lucene.store.IndexOutput out)
throws IOException
- Description copied from class:
CompressedIndexOutput
- Compresses the data into the output
- Specified by:
compress
in class CompressedIndexOutput<LZFCompressorContext>
- Throws:
IOException
doClose
protected void doClose()
throws IOException
- Specified by:
doClose
in class CompressedIndexOutput<LZFCompressorContext>
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.