Uses of Class
org.apache.drill.exec.physical.impl.project.OutputWidthExpression
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of OutputWidthExpression in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionAbstractExecExprVisitor.visitUnknown
(OutputWidthExpression e, VAL value) -
Uses of OutputWidthExpression in org.apache.drill.exec.physical.impl.project
Modifier and TypeClassDescriptionstatic class
Used to represent fixed-width values used in an expression.static class
FunctionCallExpr captures the details required to calculate the width of the output produced by a function that produces variable-width output.static class
IfElseWidthExpr is uded to capture anIfExpression
.static class
VarLenReadExpr captures the inputColumnName and the readExpression used to read a variable length column.Modifier and TypeMethodDescriptionProjectMemoryManager.VariableWidthColumnInfo.getOutputExpression()
OutputWidthVisitor.visitFixedLenExpr
(OutputWidthExpression.FixedLenExpr fixedLenExpr, OutputWidthVisitorState state) OutputWidthVisitor.visitFunctionCallExpr
(OutputWidthExpression.FunctionCallExpr functionCallExpr, OutputWidthVisitorState state) Converts aOutputWidthExpression.FunctionCallExpr
to aOutputWidthExpression.FixedLenExpr
by passing the the args of the function to the width calculator for this function.OutputWidthVisitor.visitFunctionHolderExpression
(FunctionHolderExpression holderExpr, OutputWidthVisitorState state) Handles aFunctionHolderExpression
.OutputWidthVisitor.visitIfElseWidthExpr
(OutputWidthExpression.IfElseWidthExpr ifElseWidthExpr, OutputWidthVisitorState state) Converts theOutputWidthExpression.IfElseWidthExpr
to aOutputWidthExpression.FixedLenExpr
by taking the max of the if-expr-width and the else-expr-width.OutputWidthVisitor.visitIfExpression
(IfExpression ifExpression, OutputWidthVisitorState state) Records theIfExpression
as aOutputWidthExpression.IfElseWidthExpr
.OutputWidthVisitor.visitNullConstant
(TypedNullConstant nullConstant, OutputWidthVisitorState state) OutputWidthVisitor.visitQuotedStringConstant
(ValueExpressions.QuotedString quotedString, OutputWidthVisitorState state) OutputWidthVisitor.visitUnknown
(LogicalExpression logicalExpression, OutputWidthVisitorState state) OutputWidthVisitor.visitValueVectorReadExpression
(ValueVectorReadExpression readExpr, OutputWidthVisitorState state) Records a variable width read expression as aOutputWidthExpression.VarLenReadExpr
.OutputWidthVisitor.visitValueVectorWriteExpression
(ValueVectorWriteExpression writeExpr, OutputWidthVisitorState state) Records a variable width write expression.OutputWidthVisitor.visitVarDecimalConstant
(ValueExpressions.VarDecimalExpression varDecimalExpression, OutputWidthVisitorState state) OutputWidthVisitor.visitVarLenReadExpr
(OutputWidthExpression.VarLenReadExpr varLenReadExpr, OutputWidthVisitorState state) Converts theOutputWidthExpression.VarLenReadExpr
to aOutputWidthExpression.FixedLenExpr
by getting the size for the corresponding column from the RecordBatchSizer.ModifierConstructorDescriptionIfElseWidthExpr
(OutputWidthExpression ifExpr, OutputWidthExpression elseExpr) ModifierConstructorDescriptionFunctionCallExpr
(FunctionHolderExpression holder, OutputWidthCalculator widthCalculator, ArrayList<OutputWidthExpression> args)