class FeatureTypeConfig extends Serializable
This class encapsulates the type definition for a feature. This implementation supports Feathr's high level semantic type system (e.g. NUMERIC, BOOLEAN, VECTOR) and the new Tensor type system which includes additional metadata such as category, dimensions, shape, value type and etc.
When the feature type annotation from the feature definition is processed, the following scenarios are expected: 1. No type annotated --> (FeatureType=UNSPECIFIED, TensorType=null) 2. High level semantic NON-TENSOR feature types --> (FeatureType=<some value>, TensorType=<mapped from feature type via auto-TZ>) 3. Parameterized Tensor type annotated --> (FeatureTypes = TENSOR, TensorType = <some value>)
- Annotations
- @JsonDeserialize()
- Alphabetic
- By Inheritance
- FeatureTypeConfig
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FeatureTypeConfig(featureType: FeatureTypes, tensorType: TensorType, documentation: String)
Package private constructor where both the legacy type and tensor types are passed in.
Package private constructor where both the legacy type and tensor types are passed in. This constructor is reserved for internal use only and does not provide any of consistency checking between legacy types and TensorType from the other pubic constructors
-
new
FeatureTypeConfig(tensorType: TensorType)
Constructs a new instance with the new
TensorType.Constructs a new instance with the new
TensorType. The corresponding the legacyFeatureTypeswill be populated asFeatureTypes.TENSOR -
new
FeatureTypeConfig(featureType: FeatureTypes)
Constructs a new instance with the legacy
FeatureTypes.Constructs a new instance with the legacy
FeatureTypes. The correspondingTensorTypewill be populated - new FeatureTypeConfig()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- FeatureTypeConfig → AnyRef → Any
- Annotations
- @Override()
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDocumentation(): String
- def getFeatureType(): FeatureTypes
- def getTensorType(): TensorType
- def hasTensorType(): Boolean
-
def
hashCode(): Int
- Definition Classes
- FeatureTypeConfig → AnyRef → Any
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- FeatureTypeConfig → AnyRef → Any
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()