Skip to content

GenerateSafeProjection

GenerateSafeProjection utility is a CodeGenerator.

CodeGenerator[Seq[Expression], Projection]

GenerateSafeProjection is used when:

  • SafeProjection utility is used to createCodeGeneratedObject
  • DeserializeToObjectExec physical operator is executed
  • ObjectOperator utility is used to deserializeRowToObject
  • ComplexTypedAggregateExpression is requested for inputRowToObj and bufferRowToObject

Creating Projection

create(
  expressions: Seq[Expression]): Projection

create...FIXME

create is part of the CodeGenerator abstraction.