Class ZStandard
- java.lang.Object
-
- org.apache.accumulo.core.spi.file.rfile.compression.ZStandard
-
- All Implemented Interfaces:
CompressionAlgorithmConfiguration
public class ZStandard extends Object implements CompressionAlgorithmConfiguration
-
-
Constructor Summary
Constructors Constructor Description ZStandard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cacheCodecsWithNonDefaultSizes()
String
getBufferSizeProperty()
String
getCodecClassName()
String
getCodecClassNameProperty()
int
getDefaultBufferSize()
String
getName()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceCompressionAlgorithmConfiguration
- Returns:
- algorithm alias
-
getCodecClassName
public String getCodecClassName()
- Specified by:
getCodecClassName
in interfaceCompressionAlgorithmConfiguration
- Returns:
- name of property that can be specified in configuration or in system properties to override class name of codec
-
getCodecClassNameProperty
public String getCodecClassNameProperty()
- Specified by:
getCodecClassNameProperty
in interfaceCompressionAlgorithmConfiguration
- Returns:
- fully qualified class name of codec
-
getDefaultBufferSize
public int getDefaultBufferSize()
- Specified by:
getDefaultBufferSize
in interfaceCompressionAlgorithmConfiguration
- Returns:
- default buffer size for compression algorithm
-
getBufferSizeProperty
public String getBufferSizeProperty()
- Specified by:
getBufferSizeProperty
in interfaceCompressionAlgorithmConfiguration
- Returns:
- name of property that can be specified in configuration or in system properties to override default buffer size
-
cacheCodecsWithNonDefaultSizes
public boolean cacheCodecsWithNonDefaultSizes()
- Specified by:
cacheCodecsWithNonDefaultSizes
in interfaceCompressionAlgorithmConfiguration
- Returns:
- true if codecs with non-default buffer sizes should be cached
-
-