Class UserCompactionUtils
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.UserCompactionUtils
-
public class UserCompactionUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UserCompactionUtils.Decoder<T>
static interface
UserCompactionUtils.Encoder<T>
static class
UserCompactionUtils.PluginConfigData
-
Field Summary
Fields Modifier and Type Field Description static PluginConfig
DEFAULT_CONFIGURER
static PluginConfig
DEFAULT_SELECTOR
-
Constructor Summary
Constructors Constructor Description UserCompactionUtils()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_CONFIGURER
public static final PluginConfig DEFAULT_CONFIGURER
-
DEFAULT_SELECTOR
public static final PluginConfig DEFAULT_SELECTOR
-
-
Method Detail
-
encode
public static void encode(DataOutput dout, Map<String,String> options)
-
encode
public static void encode(DataOutput dout, int magic, int version, String className, Map<String,String> options)
-
encode
public static <T> byte[] encode(T csc, UserCompactionUtils.Encoder<T> encoder)
-
decode
public static UserCompactionUtils.PluginConfigData decode(DataInput din, int magic, int version)
-
decode
public static <T> T decode(byte[] encodedCsc, UserCompactionUtils.Decoder<T> decoder)
-
encodeSelector
public static void encodeSelector(DataOutput dout, PluginConfig csc)
-
encodeSelector
public static byte[] encodeSelector(PluginConfig csc)
-
decodeSelector
public static PluginConfig decodeSelector(DataInput di)
-
decodeSelector
public static PluginConfig decodeSelector(byte[] bytes)
-
encodeConfigurer
public static void encodeConfigurer(DataOutput dout, PluginConfig ccc)
-
encodeConfigurer
public static byte[] encodeConfigurer(PluginConfig ccc)
-
decodeConfigurer
public static PluginConfig decodeConfigurer(DataInput di)
-
decodeConfigurer
public static PluginConfig decodeConfigurer(byte[] bytes)
-
encode
public static void encode(DataOutput dout, CompactionConfig cc)
-
encode
public static byte[] encode(CompactionConfig cc)
-
decodeCompactionConfig
public static CompactionConfig decodeCompactionConfig(DataInput din)
-
isDefault
public static boolean isDefault(PluginConfig configurer)
-
decodeCompactionConfig
public static CompactionConfig decodeCompactionConfig(byte[] bytes)
-
-