Packages

c

com.linkedin.feathr.common.value

AbstractFeatureFormatMapper

abstract class AbstractFeatureFormatMapper[T] extends FeatureFormatMapper[T]

Abstract base class for FeatureFormatMapper. Breaks down conversion behavior based on the various feature types.

Linear Supertypes
FeatureFormatMapper[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractFeatureFormatMapper
  2. FeatureFormatMapper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFeatureFormatMapper()

Abstract Value Members

  1. abstract def fromBooleanFeatureValue(featureValue: BooleanFeatureValue): T
    Attributes
    protected[value]
  2. abstract def fromCategoricalFeatureValue(featureValue: CategoricalFeatureValue): T
    Attributes
    protected[value]
  3. abstract def fromCategoricalSetFeatureValue(featureValue: CategoricalSetFeatureValue): T
    Attributes
    protected[value]
  4. abstract def fromDenseVectorFeatureValue(featureValue: DenseVectorFeatureValue): T
    Attributes
    protected[value]
  5. abstract def fromNumericFeatureValue(featureValue: NumericFeatureValue): T
    Attributes
    protected[value]
  6. abstract def fromTensorFeatureValue(featureValue: TensorFeatureValue): T
    Attributes
    protected[value]
  7. abstract def fromTermVectorFeatureValue(featureValue: TermVectorFeatureValue): T
    Attributes
    protected[value]
  8. abstract def toBooleanFeatureValue(featureType: BooleanFeatureType, externalValue: T): BooleanFeatureValue
    Attributes
    protected[value]
  9. abstract def toCategoricalFeatureValue(featureType: CategoricalFeatureType, externalValue: T): CategoricalFeatureValue
    Attributes
    protected[value]
  10. abstract def toCategoricalSetFeatureValue(featureType: CategoricalSetFeatureType, externalValue: T): CategoricalSetFeatureValue
    Attributes
    protected[value]
  11. abstract def toDenseVectorFeatureValue(featureType: DenseVectorFeatureType, externalValue: T): DenseVectorFeatureValue
    Attributes
    protected[value]
  12. abstract def toNumericFeatureValue(featureType: NumericFeatureType, externalValue: T): NumericFeatureValue
    Attributes
    protected[value]
  13. abstract def toTensorFeatureValue(featureType: TensorFeatureType, externalValue: T): TensorFeatureValue
    Attributes
    protected[value]
  14. abstract def toTermVectorFeatureValue(featureType: TermVectorFeatureType, externalValue: T): TermVectorFeatureValue
    Attributes
    protected[value]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cannotConvertToFeatureValue(featureType: FeatureType, externalValue: T): RuntimeException
    Attributes
    protected[value]
  6. def cannotConvertToFeatureValue(featureType: FeatureType, externalValue: T, cause: Exception): RuntimeException
    Attributes
    protected[value]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromFeatureValue(featureValue: FeatureValue): T

    Converts a feature value into the external representation

    Converts a feature value into the external representation

    featureValue

    the FeatureValue

    returns

    the datum in the external representation

    Definition Classes
    AbstractFeatureFormatMapper → FeatureFormatMapper
    Annotations
    @Override()
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toFeatureValue(featureType: FeatureType, externalValue: T): FeatureValue

    Converts a datum in the external representation into the FeatureValue format.

    Converts a datum in the external representation into the FeatureValue format. The FeatureType of the feature must be known.

    featureType

    type of this feature

    externalValue

    datum in the external representation

    returns

    datum represented as a FeatureValue

    Definition Classes
    AbstractFeatureFormatMapper → FeatureFormatMapper
    Annotations
    @Override()
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from FeatureFormatMapper[T]

Inherited from AnyRef

Inherited from Any

Ungrouped