CreateNamedStructLike Contract

CreateNamedStructLike is the base of Catalyst expressions that FIXME.

package org.apache.spark.sql.catalyst.expressions

trait CreateNamedStructLike extends Expression {
  // no required properties (vals and methods) that have no implementation
}

CreateNamedStructLike is not nullable.

CreateNamedStructLike is foldable only if all value expressions are.

Table 1. CreateNamedStructLikes (Direct Implementations)
CreateNamedStructLike Description

CreateNamedStruct

CreateNamedStructUnsafe

Table 2. CreateNamedStructLike’s Internal Properties (e.g. Registries, Counters and Flags)
Name Description

dataType

nameExprs

Catalyst expressions for names

names

valExprs

Catalyst expressions for values

Checking Input Data Types — checkInputDataTypes Method

checkInputDataTypes(): TypeCheckResult
Note
checkInputDataTypes is part of the Expression Contract to verify (check the correctness of) the input data types.

checkInputDataTypes…​FIXME

Evaluating Expression — eval Method

eval(input: InternalRow): Any
Note
eval is part of Expression Contract for the interpreted (non-code-generated) expression evaluation, i.e. evaluating a Catalyst expression to a JVM object for a given internal binary row.

eval…​FIXME

results matching ""

    No results matching ""