Package com.linkedin.venice.meta
Enum ViewParameterKeys
- java.lang.Object
-
- java.lang.Enum<ViewParameterKeys>
-
- com.linkedin.venice.meta.ViewParameterKeys
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ViewParameterKeys>
public enum ViewParameterKeys extends java.lang.Enum<ViewParameterKeys>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MATERIALIZED_VIEW_NAME
Parameter key used to specify the re-partition view name.MATERIALIZED_VIEW_PARTITION_COUNT
Parameter key used to specify the partition count for the re-partition view.MATERIALIZED_VIEW_PARTITIONER
Parameter key used to specify the partitioner for the re-partition view.MATERIALIZED_VIEW_PARTITIONER_PARAMS
Parameter key used to specify the partitioner parameters for the partitioner associated with the re-partition view.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewParameterKeys
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ViewParameterKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATERIALIZED_VIEW_NAME
public static final ViewParameterKeys MATERIALIZED_VIEW_NAME
Parameter key used to specify the re-partition view name.
-
MATERIALIZED_VIEW_PARTITIONER
public static final ViewParameterKeys MATERIALIZED_VIEW_PARTITIONER
Parameter key used to specify the partitioner for the re-partition view.
-
MATERIALIZED_VIEW_PARTITIONER_PARAMS
public static final ViewParameterKeys MATERIALIZED_VIEW_PARTITIONER_PARAMS
Parameter key used to specify the partitioner parameters for the partitioner associated with the re-partition view.
-
MATERIALIZED_VIEW_PARTITION_COUNT
public static final ViewParameterKeys MATERIALIZED_VIEW_PARTITION_COUNT
Parameter key used to specify the partition count for the re-partition view.
-
-
Method Detail
-
values
public static ViewParameterKeys[] 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 (ViewParameterKeys c : ViewParameterKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewParameterKeys 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
-
-