Enum Class UniqueProcessor.UniqueType
java.lang.Object
java.lang.Enum<UniqueProcessor.UniqueType>
org.tribuo.data.columnar.processors.feature.UniqueProcessor.UniqueType
- All Implemented Interfaces:
Serializable
,Comparable<UniqueProcessor.UniqueType>
,Constable
- Enclosing class:
- UniqueProcessor
The type of reduction operation to perform.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UniqueProcessor.UniqueType
Returns the enum constant of this class with the specified name.static UniqueProcessor.UniqueType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
Select the first feature value in the list. -
LAST
Select the last feature value in the list. -
MAX
Select the maximum feature value in the list. -
MIN
Select the minimum feature value in the list. -
SUM
Add together all the feature values. Uses the field names from the first element.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-