object RowTransformer extends Serializable
- Alphabetic
- By Inheritance
- RowTransformer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- def apply(schemas: Seq[RowTransformSchema], rowSize: Int = 0): RowTransformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atomic(indices: Seq[Int], rowSize: Int): RowTransformer
A
RowTransformerwhich transform eachselected columnsto a size(1)Tensor.A
RowTransformerwhich transform eachselected columnsto a size(1)Tensor. The keys of outputTableareindicesofselected columns.- indices
indices of
selected columns- rowSize
size of
Rowtransformed by this transformer
-
def
atomic(fieldNames: Seq[String]): RowTransformer
A
RowTransformerwhich transform eachselected columnsto a size(1)Tensor.A
RowTransformerwhich transform eachselected columnsto a size(1)Tensor. The keys of outputTablearefieldNamesofselected columns.- fieldNames
field names of
selected columns
-
def
atomicWithNumeric[T](atomicFields: Seq[String], numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer
A
RowTransformerwhich contains bothatomicschemas andnumericschemas.A
RowTransformerwhich contains bothatomicschemas andnumericschemas.- atomicFields
field names of
selected columns- numericFields
Map<
schemaKey,fieldNames of selected columns> of numeric fields
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
def
numeric[T](numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer
A
RowTransformerwhich concat values ofselected columnsto oneTensor.A
RowTransformerwhich concat values ofselected columnsto oneTensor. It means you will get aTablewith keys ofnumericFields. Values ofTableareTensors concatenated byselected columnsof the keys.- numericFields
Map<
schemaKey,fieldNames of selected columns> of numeric fields
-
def
numeric[T](schemaKey: String = "all")(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer
A
RowTransformerwhich concat values ofall columnsto oneTensor.A
RowTransformerwhich concat values ofall columnsto oneTensor. It means you will get a Table with single key-value pair after transformation. The unique key isschemaKey. The unique value is a size(length of Row) Tensor.- schemaKey
key of the schema, default value is "all"
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )