public class CompactionStrategyConfig extends Object
CompactionConfig
.Constructor and Description |
---|
CompactionStrategyConfig(String className) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClassName() |
Map<String,String> |
getOptions() |
int |
hashCode() |
CompactionStrategyConfig |
setOptions(Map<String,String> opts) |
public CompactionStrategyConfig(String className)
className
- The name of a class that implements
org.apache.accumulo.tserver.compaction.CompactionStrategy. This class must be exist on
tservers.public String getClassName()
public CompactionStrategyConfig setOptions(Map<String,String> opts)
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.public Map<String,String> getOptions()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.