UnaryExpression Contract

UnaryExpression is…​FIXME

defineCodeGen Method

defineCodeGen(
  ctx: CodegenContext,
  ev: ExprCode,
  f: String => String): ExprCode

defineCodeGen…​FIXME

Note
defineCodeGen is used when…​FIXME

nullSafeEval Method

nullSafeEval(input: Any): Any

nullSafeEval simply fails with the following error (and is expected to be overrided to save null-check code):

UnaryExpressions must override either eval or nullSafeEval
Note
nullSafeEval is used exclusively when UnaryExpression is requested to eval.

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 ""