|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.file.CodecFactory
public abstract class CodecFactory
Encapsulates the ability to specify and configure a compression codec.
Constructor Summary | |
---|---|
CodecFactory()
|
Method Summary | |
---|---|
static CodecFactory |
addCodec(String name,
CodecFactory c)
Adds a new codec implementation. |
protected abstract org.apache.avro.file.Codec |
createInstance()
Creates internal Codec. |
static CodecFactory |
deflateCodec(int compressionLevel)
Deflate codec, with specific compression. |
static CodecFactory |
fromString(String s)
Maps a codec name into a CodecOption. |
static CodecFactory |
nullCodec()
Null codec, for no compression. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CodecFactory()
Method Detail |
---|
public static CodecFactory nullCodec()
public static CodecFactory deflateCodec(int compressionLevel)
protected abstract org.apache.avro.file.Codec createInstance()
public static CodecFactory fromString(String s)
public static CodecFactory addCodec(String name, CodecFactory c)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |