Packages

object RowTransformer extends Serializable

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

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. def apply(schemas: Seq[RowTransformSchema], rowSize: Int = 0): RowTransformer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def atomic(indices: Seq[Int], rowSize: Int): RowTransformer

    A RowTransformer which transform each selected columns to a size(1) Tensor.

    A RowTransformer which transform each selected columns to a size(1) Tensor. The keys of output Table are indices of selected columns.

    indices

    indices of selected columns

    rowSize

    size of Row transformed by this transformer

  7. def atomic(fieldNames: Seq[String]): RowTransformer

    A RowTransformer which transform each selected columns to a size(1) Tensor.

    A RowTransformer which transform each selected columns to a size(1) Tensor. The keys of output Table are fieldNames of selected columns.

    fieldNames

    field names of selected columns

  8. def atomicWithNumeric[T](atomicFields: Seq[String], numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which contains both atomic schemas and numeric schemas.

    A RowTransformer which contains both atomic schemas and numeric schemas.

    atomicFields

    field names of selected columns

    numericFields

    Map<schemaKey, fieldNames of selected columns> of numeric fields

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def numeric[T](numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which concat values of selected columns to one Tensor.

    A RowTransformer which concat values of selected columns to one Tensor. It means you will get a Table with keys of numericFields. Values of Table are Tensors concatenated by selected columns of the keys.

    numericFields

    Map<schemaKey, fieldNames of selected columns> of numeric fields

  20. def numeric[T](schemaKey: String = "all")(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which concat values of all columns to one Tensor.

    A RowTransformer which concat values of all columns to one Tensor. It means you will get a Table with single key-value pair after transformation. The unique key is schemaKey. The unique value is a size(length of Row) Tensor.

    schemaKey

    key of the schema, default value is "all"

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped