case classMutableProjection(expressions: Seq[Expression]) extends (Row) ⇒ Row with Product with Serializable
Converts a Row to another Row given a sequence of expression that define each column of th
new row. If the schema of the input row is specified, then the given expression will be bound to
that schema.
In contrast to a normal projection, a MutableProjection reuses the same underlying row object
each time an input row is added. This significatly reduces the cost of calcuating the
projection, but means that it is not safe
Linear Supertypes
Serializable, Serializable, Product, scala.Equals, (Row) ⇒ Row, AnyRef, Any
Converts a Row to another Row given a sequence of expression that define each column of th new row. If the schema of the input row is specified, then the given expression will be bound to that schema.
In contrast to a normal projection, a MutableProjection reuses the same underlying row object each time an input row is added. This significatly reduces the cost of calcuating the projection, but means that it is not safe