Package com.illumon.iris.importers
Enum PartitioningFormulaHelpers.QueryScopeParams
java.lang.Object
java.lang.Enum<PartitioningFormulaHelpers.QueryScopeParams>
com.illumon.iris.importers.PartitioningFormulaHelpers.QueryScopeParams
- All Implemented Interfaces:
Serializable
,Comparable<PartitioningFormulaHelpers.QueryScopeParams>
,java.lang.constant.Constable
- Enclosing class:
- PartitioningFormulaHelpers
public static enum PartitioningFormulaHelpers.QueryScopeParams extends Enum<PartitioningFormulaHelpers.QueryScopeParams>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description __DAY_OF_YEAR__
__NAMESPACE__
__NS_TN__
__NUM_WRITABLE_PARTITIONS__
__PARTITION_AUTOBALANCE_SINGLE__
__PARTITIONING_COLUMN_VALUE__
__TABLE_NAME__
__WRITABLE_PARTITIONS__
-
Method Summary
Modifier and Type Method Description static void
setup(String namespace, String tableName, String partitioningColumnValue, String[] writableInternalPartitions)
Setup values for all suitable query scope param names in the enum.static PartitioningFormulaHelpers.QueryScopeParams
valueOf(String name)
Returns the enum constant of this type with the specified name.static PartitioningFormulaHelpers.QueryScopeParams[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
setup
public static void setup(@NotNull String namespace, @NotNull String tableName, @NotNull String partitioningColumnValue, @NotNull String[] writableInternalPartitions)Setup values for all suitable query scope param names in the enum.- Parameters:
namespace
- The namespacetableName
- The table namepartitioningColumnValue
- The partitioning column valuewritableInternalPartitions
- The writable internal partition names
-