org.apache.spark.sql.catalyst.expressions.codegen
Binds an input expression to a given input schema
Binds an input expression to a given input schema
Returns true iff we support this data type.
Canonicalizes an input expression.
Canonicalizes an input expression. Used to avoid double caching expressions that differ only cosmetically.
Generates a class for a given input expression.
Generates a class for a given input expression. Called when there is not cached code already available.
Generates the requested evaluator given already bound expression(s).
Generates the requested evaluator given already bound expression(s).
Generates the requested evaluator binding the given expression(s) to the inputSchema.
Generates the requested evaluator binding the given expression(s) to the inputSchema.
Create a new codegen context for expression evaluator, used to store those expressions that don't support codegen
Create a new codegen context for expression evaluator, used to store those expressions that don't support codegen
Generates a Projection that returns an UnsafeRow.
It generates the code for all the expressions, compute the total length for all the columns (can be accessed via variables), and then copy the data into a scratch buffer space in the form of UnsafeRow (the scratch buffer will grow as needed).
Note: The returned UnsafeRow will be pointed to a scratch buffer inside the projection.