Uses of Class
org.apache.drill.exec.physical.impl.project.OutputWidthExpression
Packages that use OutputWidthExpression
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of OutputWidthExpression in org.apache.drill.exec.expr
Methods in org.apache.drill.exec.expr with parameters of type OutputWidthExpressionModifier and TypeMethodDescriptionAbstractExecExprVisitor.visitUnknown
(OutputWidthExpression e, VAL value) -
Uses of OutputWidthExpression in org.apache.drill.exec.physical.impl.project
Subclasses of OutputWidthExpression in org.apache.drill.exec.physical.impl.projectModifier 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.Methods in org.apache.drill.exec.physical.impl.project that return OutputWidthExpressionModifier 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.Methods in org.apache.drill.exec.physical.impl.project that return types with arguments of type OutputWidthExpressionConstructors in org.apache.drill.exec.physical.impl.project with parameters of type OutputWidthExpressionModifierConstructorDescriptionIfElseWidthExpr
(OutputWidthExpression ifExpr, OutputWidthExpression elseExpr) Constructor parameters in org.apache.drill.exec.physical.impl.project with type arguments of type OutputWidthExpressionModifierConstructorDescriptionFunctionCallExpr
(FunctionHolderExpression holder, OutputWidthCalculator widthCalculator, ArrayList<OutputWidthExpression> args)