Class SimpleExprVisitor<T>
java.lang.Object
org.apache.drill.common.expression.visitors.SimpleExprVisitor<T>
- All Implemented Interfaces:
ExprVisitor<T,
Void, RuntimeException>
public abstract class SimpleExprVisitor<T>
extends Object
implements ExprVisitor<T,Void,RuntimeException>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
abstract T
visitDateConstant
(ValueExpressions.DateExpression intExpr, Void value) abstract T
visitDecimal18Constant
(ValueExpressions.Decimal18Expression decExpr, Void value) abstract T
visitDecimal28Constant
(ValueExpressions.Decimal28Expression decExpr, Void value) abstract T
visitDecimal38Constant
(ValueExpressions.Decimal38Expression decExpr, Void value) abstract T
visitDecimal9Constant
(ValueExpressions.Decimal9Expression decExpr, Void value) abstract T
visitDoubleConstant
(ValueExpressions.DoubleExpression dExpr, Void value) abstract T
visitFloatConstant
(ValueExpressions.FloatExpression fExpr, Void value) abstract T
visitFunctionCall
(FunctionCall call, Void value) abstract T
visitFunctionHolderExpression
(FunctionHolderExpression holder, Void value) abstract T
visitIfExpression
(IfExpression ifExpr) visitIfExpression
(IfExpression ifExpr, Void value) abstract T
visitIntConstant
(ValueExpressions.IntExpression intExpr, Void value) abstract T
visitIntervalDayConstant
(ValueExpressions.IntervalDayExpression intExpr, Void value) abstract T
visitIntervalYearConstant
(ValueExpressions.IntervalYearExpression intExpr, Void value) abstract T
visitLongConstant
(ValueExpressions.LongExpression intExpr, Void value) abstract T
abstract T
visitSchemaPath
(SchemaPath path) visitSchemaPath
(SchemaPath path, Void value) abstract T
visitTimeConstant
(ValueExpressions.TimeExpression intExpr, Void value) abstract T
visitTimeStampConstant
(ValueExpressions.TimeStampExpression intExpr, Void value) abstract T
visitVarDecimalConstant
(ValueExpressions.VarDecimalExpression decExpr, Void value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.common.expression.visitors.ExprVisitor
visitAnyValueExpression, visitBooleanOperator, visitCastExpression, visitConvertExpression, visitNullConstant, visitNullExpression, visitParameter, visitTypedFieldExpr, visitUnknown
-
Constructor Details
-
SimpleExprVisitor
public SimpleExprVisitor()
-
-
Method Details
-
visitFunctionCall
- Specified by:
visitFunctionCall
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitFunctionHolderExpression
public T visitFunctionHolderExpression(FunctionHolderExpression holder, Void value) throws RuntimeException - Specified by:
visitFunctionHolderExpression
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitIfExpression
- Specified by:
visitIfExpression
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitSchemaPath
- Specified by:
visitSchemaPath
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitIntConstant
public T visitIntConstant(ValueExpressions.IntExpression intExpr, Void value) throws RuntimeException - Specified by:
visitIntConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitFloatConstant
public T visitFloatConstant(ValueExpressions.FloatExpression fExpr, Void value) throws RuntimeException - Specified by:
visitFloatConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitLongConstant
public T visitLongConstant(ValueExpressions.LongExpression intExpr, Void value) throws RuntimeException - Specified by:
visitLongConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDateConstant
public T visitDateConstant(ValueExpressions.DateExpression intExpr, Void value) throws RuntimeException - Specified by:
visitDateConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitTimeConstant
public T visitTimeConstant(ValueExpressions.TimeExpression intExpr, Void value) throws RuntimeException - Specified by:
visitTimeConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitIntervalYearConstant
public T visitIntervalYearConstant(ValueExpressions.IntervalYearExpression intExpr, Void value) throws RuntimeException - Specified by:
visitIntervalYearConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitIntervalDayConstant
public T visitIntervalDayConstant(ValueExpressions.IntervalDayExpression intExpr, Void value) throws RuntimeException - Specified by:
visitIntervalDayConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitTimeStampConstant
public T visitTimeStampConstant(ValueExpressions.TimeStampExpression intExpr, Void value) throws RuntimeException - Specified by:
visitTimeStampConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDecimal9Constant
public T visitDecimal9Constant(ValueExpressions.Decimal9Expression decExpr, Void value) throws RuntimeException - Specified by:
visitDecimal9Constant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDecimal18Constant
public T visitDecimal18Constant(ValueExpressions.Decimal18Expression decExpr, Void value) throws RuntimeException - Specified by:
visitDecimal18Constant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDecimal28Constant
public T visitDecimal28Constant(ValueExpressions.Decimal28Expression decExpr, Void value) throws RuntimeException - Specified by:
visitDecimal28Constant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDecimal38Constant
public T visitDecimal38Constant(ValueExpressions.Decimal38Expression decExpr, Void value) throws RuntimeException - Specified by:
visitDecimal38Constant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitVarDecimalConstant
public T visitVarDecimalConstant(ValueExpressions.VarDecimalExpression decExpr, Void value) throws RuntimeException - Specified by:
visitVarDecimalConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitDoubleConstant
public T visitDoubleConstant(ValueExpressions.DoubleExpression dExpr, Void value) throws RuntimeException - Specified by:
visitDoubleConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitBooleanConstant
public T visitBooleanConstant(ValueExpressions.BooleanExpression e, Void value) throws RuntimeException - Specified by:
visitBooleanConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitQuotedStringConstant
public T visitQuotedStringConstant(ValueExpressions.QuotedString e, Void value) throws RuntimeException - Specified by:
visitQuotedStringConstant
in interfaceExprVisitor<T,
Void, RuntimeException> - Throws:
RuntimeException
-
visitFunctionCall
-
visitFunctionHolderExpression
-
visitIfExpression
-
visitSchemaPath
-
visitIntConstant
-
visitFloatConstant
-
visitLongConstant
-
visitDateConstant
-
visitTimeConstant
-
visitIntervalYearConstant
-
visitIntervalDayConstant
-
visitTimeStampConstant
-
visitDecimal9Constant
-
visitDecimal18Constant
-
visitDecimal28Constant
-
visitDecimal38Constant
-
visitVarDecimalConstant
-
visitDoubleConstant
-
visitBooleanConstant
-
visitQuotedStringConstant
-