case class RawTableAggregation(aggregators: Map[String, Transformation[String, String]]) extends Transformation[RawTable, RawTable] with Product with Serializable
This case class represents a transformation that performs column-wise aggregation on a RawTable.
Each aggregator specifies a mapping between a column name and its corresponding transformation function.
- aggregators
A map where keys are column names (as
String) and values are transformations (subclasses ofTransformation) applied to the data in those columns. The transformation process is string-based (Transformation[String, String]), meaning that it takes string input from a column and produces a transformed string output.
- Annotations
- @unused()
- Alphabetic
- By Inheritance
- RawTableAggregation
- Serializable
- Product
- Equals
- Transformation
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RawTableAggregation(aggregators: Map[String, Transformation[String, String]])
- aggregators
A map where keys are column names (as
String) and values are transformations (subclasses ofTransformation) applied to the data in those columns. The transformation process is string-based (Transformation[String, String]), meaning that it takes string input from a column and produces a transformed string output.
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
- val aggregators: Map[String, Transformation[String, String]]
- def andThen[A](g: (RawTable) => A): (RawTable) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(t: RawTable): RawTable
Transforms a given
RawTableby applying specified column-wise transformations.Transforms a given
RawTableby applying specified column-wise transformations.- t
the input
RawTableto be processed. It must have a header, as transformations rely on column names.- returns
a new
RawTablewhere each row has been transformed based on the specified column transformations. The transformations are applied by mapping column names to their respective transformation logic, using the header to resolve column indices.
- Definition Classes
- RawTableAggregation → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compose[A](g: (A) => RawTable): (A) => RawTable
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)