io.projectglow.sql.expressions
Short hand for generating quaternary evaluation code.
Short hand for generating quaternary evaluation code. If either of the sub-expressions is null, the result of this computation is assumed to be null.
accepts four variable names and returns Java code to compute the output.
Default behavior of evaluation according to the default nullability of QuaternaryExpression.
Default behavior of evaluation according to the default nullability of QuaternaryExpression. If subclass of QuaternaryExpression override nullable, probably should also override this.
Short hand for generating quaternary evaluation code.
Short hand for generating quaternary evaluation code. If either of the sub-expressions is null, the result of this computation is assumed to be null.
function that accepts the 4 non-null evaluation result names of children and returns Java code to compute the output.
Called by default eval implementation.
Called by default eval implementation. If subclass of QuaternaryExpression keep the default nullability, they can override this method to save null-check code. If we need full control of evaluation process, we should override eval.