create(v: Any, dataType: DataType): Literal
Literal Leaf Expression
Literal is a leaf expression that is created to represent a Scala value of a specific type.
Literal is created when…MEFIXME
| Property | Description |
|---|---|
|
|
|
Enabled when value is |
Creating Literal Instance — create Object Method
create uses CatalystTypeConverters helper object to convert the input v Scala value to a Catalyst rows or types and creates a Literal (with the Catalyst value and the input DataType).
|
Note
|
create is used when…FIXME
|
Generating Java Source Code (ExprCode) For Code-Generated Expression Evaluation — doGenCode Method
doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
|
Note
|
doGenCode is part of Expression Contract to generate a Java source code (ExprCode) for code-generated expression evaluation.
|
doGenCode…FIXME