Packages

abstract class DimensionType extends Serializable with Representable

Base type for all the dimension types.

Linear Supertypes
Representable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DimensionType
  2. Representable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DimensionType()

Abstract Value Members

  1. abstract def getRepresentation(): Primitive
    Definition Classes
    Representable

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getDimensionValue(tuple: ReadableTuple, column: Int): AnyRef

    The inverse of #setDimensionValue.

    The inverse of #setDimensionValue. Reads a dimension from a particular column of a tuple.

    tuple

    the tuple from which to read. Hint: This will often be a com.linkedin.feathr.common.tensor.TensorIterator

    column

    the column to read from the tuple

    returns

    the value of the dimension

  11. def getName(): String

    Get the name of the DimensionType

    Get the name of the DimensionType

    returns

    the name

  12. def getShape(): Int

    Get the shape.

    Get the shape.

    returns

    the shape - the number of maximum possible unique values in this dimension. Can be UNKNOWN_SHAPE.

  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. def setDimensionValue(target: WriteableTuple, column: Int, dimensionValue: Any): Unit

    Sets a dimension in a particular column of a target tuple.

    Sets a dimension in a particular column of a target tuple. For primitive dimensions, implementations will just copy the value over. (This is the default behavior.) For high-level semantic dimensions that maintain a different set of "outward-facing" and "internal" representations of the dimension values, implementations will apply any necessary translation on the input dimensionValue before inserting into the tuple.

    target

    the destination where the dimension value should be set. Hint: This will often be a com.linkedin.feathr.common.TensorBuilder

    column

    the column number of the target tuple to be set

    dimensionValue

    the value of the dimension

    Exceptions thrown

    RuntimeException will be thrown if value is not valid for this dimension

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  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 Representable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped