Uses of Class
org.apache.drill.exec.physical.impl.project.OutputWidthVisitorState
-
Uses of OutputWidthVisitorState in org.apache.drill.exec.physical.impl.project
Modifier and TypeMethodDescriptionOutputWidthVisitor.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.