Enum GeneratorColumnSchema.ValueDistribution
java.lang.Object
java.lang.Enum<GeneratorColumnSchema.ValueDistribution>
org.apache.druid.segment.generator.GeneratorColumnSchema.ValueDistribution
- All Implemented Interfaces:
Serializable,Comparable<GeneratorColumnSchema.ValueDistribution>
- Enclosing class:
GeneratorColumnSchema
public static enum GeneratorColumnSchema.ValueDistribution
extends Enum<GeneratorColumnSchema.ValueDistribution>
SEQUENTIAL: Generate integer or enumerated values in sequence. Not random.
DISCRETE_UNIFORM: Discrete uniform distribution, generates integers or enumerated values.
ROUNDED_NORMAL: Discrete distribution that rounds sample values from an underlying normal
distribution
ZIPF: Discrete Zipf distribution.
Lower numbers have higher probability.
Can also generate Zipf distribution from a list of enumerated values.
LAZY_ZIPF: ZIPF but lazy evaluated for large cardinalities
LAZY_DISCRETE_UNIFORM: DISCRETE_UNIFORM but lazy evaluated for large cardinalities
ENUMERATED: Discrete distribution, generated from lists of values and associated probabilities.
NORMAL: Continuous normal distribution.
UNIFORM: Continuous uniform distribution.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEQUENTIAL
-
DISCRETE_UNIFORM
-
ROUNDED_NORMAL
-
ZIPF
-
ENUMERATED
-
LAZY_ZIPF
-
LAZY_DISCRETE_UNIFORM
-
UNIFORM
-
NORMAL
-
-
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
-