|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.compressing.CompressionMode
public abstract class CompressionMode
A compression mode. Tells how much effort should be spent on compression and decompression of stored fields.
Field Summary | |
---|---|
static CompressionMode |
FAST
A compression mode that trades compression ratio for speed. |
static CompressionMode |
FAST_DECOMPRESSION
This compression mode is similar to FAST but it spends more time
compressing in order to improve the compression ratio. |
static CompressionMode |
HIGH_COMPRESSION
A compression mode that trades speed for compression ratio. |
Constructor Summary | |
---|---|
protected |
CompressionMode()
Sole constructor. |
Method Summary | |
---|---|
abstract Compressor |
newCompressor()
Create a new Compressor instance. |
abstract Decompressor |
newDecompressor()
Create a new Decompressor instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final CompressionMode FAST
public static final CompressionMode HIGH_COMPRESSION
public static final CompressionMode FAST_DECOMPRESSION
FAST
but it spends more time
compressing in order to improve the compression ratio. This compression
mode is best used with indices that have a low update rate but should be
able to load documents from disk quickly.
Constructor Detail |
---|
protected CompressionMode()
Method Detail |
---|
public abstract Compressor newCompressor()
Compressor
instance.
public abstract Decompressor newDecompressor()
Decompressor
instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |