Class NoCompression
- java.lang.Object
-
- org.apache.accumulo.core.spi.file.rfile.compression.NoCompression
-
- All Implemented Interfaces:
CompressionAlgorithmConfiguration
public class NoCompression extends Object implements CompressionAlgorithmConfiguration
-
-
Constructor Summary
Constructors Constructor Description NoCompression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBufferSizeProperty()
String
getCodecClassName()
String
getCodecClassNameProperty()
int
getDefaultBufferSize()
String
getName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.spi.file.rfile.compression.CompressionAlgorithmConfiguration
cacheCodecsWithNonDefaultSizes
-
-
-
-
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
-
-