Enum Class FeatureType.BasicType

java.lang.Object
java.lang.Enum<FeatureType.BasicType>
com.linkedin.feathr.common.types.FeatureType.BasicType
All Implemented Interfaces:
Serializable, Comparable<FeatureType.BasicType>, Constable
Enclosing class:
FeatureType

@InternalApi public static enum FeatureType.BasicType extends Enum<FeatureType.BasicType>
Enum for the top-level feature types supported by Feathr. The enum values conform to specific subtypes of FeatureType and FeatureValue. In the current API, if you see a FeatureType with .getBasicType() == NUMERIC, then you may assume the FeatureType is a NumericFeatureType and any FeatureValue associated with it is a NumericFeatureValue. Etc. This guarantee is mainly for convenience and clarity in the code within Feathr, and IT IS POSSIBLE THAT THIS GUARANTEE MIGHT NOT HOLD TRUE in subsequent versions, so external code outside of Feathr should not rely on it.
  • Enum Constant Details

  • Method Details

    • values

      public static FeatureType.BasicType[] 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

      public static FeatureType.BasicType valueOf(String name)
      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 name
      NullPointerException - if the argument is null