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¶
MutableProjection
- Predicate
- RowOrdering
SafeProjection
- UnsafeProjection
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:
MutableProjection
utility is used to create aMutableProjection
Predicate
utility is used to create a BasePredicateRowOrdering
utility is used to create a BaseOrderingSafeProjection
utility is used to create aProjection
UnsafeProjection
utility is used to create a UnsafeProjection