Class CompactionStrategyConfig
java.lang.Object
org.apache.accumulo.core.client.admin.CompactionStrategyConfig
Deprecated, for removal: This API element is subject to removal in a future version.
Configuration object which describes how a Compaction is run. Configuration objects are dependent
upon the CompactionStrategy running insider the server. This class is used in conjunction with
CompactionConfig
.- Since:
- 1.7.0
-
Constructor Summary
ConstructorDescriptionCompactionStrategyConfig
(String className) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.setOptions
(Map<String, String> opts) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
CompactionStrategyConfig
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
className
- The name of a class that implements org.apache.accumulo.tserver.compaction.CompactionStrategy. This class must exist on tservers.
-
-
Method Details
-
getClassName
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the class name passed to the constructor.
-
setOptions
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
opts
- The options that will be passed to the init() method of the compaction strategy when its instantiated on a tserver. This method will copy the map. The default is an empty map.- Returns:
- this
-
getOptions
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The previously set options. Returns an unmodifiable map. The default is an empty map.
-
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.
-
CompactionConfig.setSelector(PluginConfig)
andCompactionConfig.setConfigurer(PluginConfig)
as soon as possible.