Class CastCodeBlock
java.lang.Object
org.apache.flink.table.planner.functions.casting.CastCodeBlock
Generated cast code block result. This POJO contains the Java code of the block performing the
cast, the output is null term and the output variable containing the cast result. It is
guaranteed that the
returnTerm and isNullTerm can be accessed within the external
scope of the returned code. Both returnTerm and isNullTerm can be either
variable names or expressions.-
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()inthashCode()static CastCodeBlockstatic CastCodeBlockwithoutCode(String returnTerm, String isNullTerm)