Skip to content

CodeGeneratorWithInterpretedFallback Generators

CodeGeneratorWithInterpretedFallback is an abstraction of codegen object generators that can create objects for codegen and interpreted evaluation paths.

Type Constructor

CodeGeneratorWithInterpretedFallback is a Scala type constructor (generic class) with IN and OUT type aliases.

CodeGeneratorWithInterpretedFallback[IN, OUT]

Contract

createCodeGeneratedObject

createCodeGeneratedObject(
  in: IN): OUT

createInterpretedObject

createInterpretedObject(
  in: IN): OUT

Implementations

Creating Object

createObject(
  in: IN): OUT

createObject createCodeGeneratedObject.

In case of a non-fatal exception, createObject prints out the following WARN message to the logs and createInterpretedObject.

Expr codegen error and falling back to interpreter mode

createObject is used when: