Enum CrossCompactionSelector
- java.lang.Object
-
- java.lang.Enum<CrossCompactionSelector>
-
- org.apache.iotdb.db.engine.compaction.constant.CrossCompactionSelector
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CrossCompactionSelector>
public enum CrossCompactionSelector extends java.lang.Enum<CrossCompactionSelector>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REWRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ICrossSpaceSelectorcreateInstance(java.lang.String logicalStorageGroupName, java.lang.String virtualGroupId, long timePartition, TsFileManager tsFileManager)static CrossCompactionSelectorgetCrossCompactionSelector(java.lang.String name)static CrossCompactionSelectorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CrossCompactionSelector[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REWRITE
public static final CrossCompactionSelector REWRITE
-
-
Method Detail
-
values
public static CrossCompactionSelector[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CrossCompactionSelector c : CrossCompactionSelector.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossCompactionSelector valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCrossCompactionSelector
public static CrossCompactionSelector getCrossCompactionSelector(java.lang.String name)
-
createInstance
public ICrossSpaceSelector createInstance(java.lang.String logicalStorageGroupName, java.lang.String virtualGroupId, long timePartition, TsFileManager tsFileManager)
-
-