public class FeatureTypeConfig
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static FeatureTypeConfig |
CATEGORICAL_SET_TYPE_CONFIG |
static FeatureTypeConfig |
CATEGORICAL_TYPE_CONFIG |
static FeatureTypeConfig |
DENSE_VECTOR_TYPE_CONFIG |
static FeatureTypeConfig |
NUMERIC_TYPE_CONFIG |
static FeatureTypeConfig |
TERM_VECTOR_TYPE_CONFIG |
static FeatureTypeConfig |
UNDEFINED_TYPE_CONFIG |
| Constructor and Description |
|---|
FeatureTypeConfig() |
FeatureTypeConfig(FeatureTypes featureType)
Constructs a new instance with the legacy
FeatureTypes. |
FeatureTypeConfig(FeatureTypes featureType,
TensorType tensorType,
java.lang.String documentation)
Package private constructor where both the legacy type and tensor types are passed in.
|
FeatureTypeConfig(TensorType tensorType)
Constructs a new instance with the new
TensorType. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDocumentation() |
FeatureTypes |
getFeatureType() |
TensorType |
getTensorType() |
int |
hashCode() |
boolean |
hasTensorType() |
java.lang.String |
toString() |
public static final FeatureTypeConfig UNDEFINED_TYPE_CONFIG
public static final FeatureTypeConfig NUMERIC_TYPE_CONFIG
public static final FeatureTypeConfig DENSE_VECTOR_TYPE_CONFIG
public static final FeatureTypeConfig TERM_VECTOR_TYPE_CONFIG
public static final FeatureTypeConfig CATEGORICAL_TYPE_CONFIG
public static final FeatureTypeConfig CATEGORICAL_SET_TYPE_CONFIG
public FeatureTypeConfig()
public FeatureTypeConfig(FeatureTypes featureType)
FeatureTypes. The corresponding TensorType will be populatedpublic FeatureTypeConfig(@Nonnull
TensorType tensorType)
TensorType. The corresponding the legacy FeatureTypes will
be populated as FeatureTypes.TENSORpublic FeatureTypeConfig(@Nonnull
FeatureTypes featureType,
@Nonnull
TensorType tensorType,
java.lang.String documentation)
public java.lang.String getDocumentation()
public boolean hasTensorType()
public FeatureTypes getFeatureType()
public TensorType getTensorType()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object