public class ExpressionValidator extends Object implements ExprVisitor<Void,ErrorCollector,RuntimeException>
Constructor and Description |
---|
ExpressionValidator() |
public Void visitFunctionCall(FunctionCall call, ErrorCollector errors) throws RuntimeException
visitFunctionCall
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitFunctionHolderExpression(FunctionHolderExpression holder, ErrorCollector errors) throws RuntimeException
visitFunctionHolderExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitBooleanOperator(BooleanOperator op, ErrorCollector errors) throws RuntimeException
visitBooleanOperator
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitIfExpression(IfExpression ifExpr, ErrorCollector errors) throws RuntimeException
visitIfExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitSchemaPath(SchemaPath path, ErrorCollector errors) throws RuntimeException
visitSchemaPath
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitIntConstant(ValueExpressions.IntExpression intExpr, ErrorCollector value) throws RuntimeException
visitIntConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitFloatConstant(ValueExpressions.FloatExpression fExpr, ErrorCollector value) throws RuntimeException
visitFloatConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitLongConstant(ValueExpressions.LongExpression intExpr, ErrorCollector errors) throws RuntimeException
visitLongConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDecimal9Constant(ValueExpressions.Decimal9Expression decExpr, ErrorCollector errors) throws RuntimeException
visitDecimal9Constant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDecimal18Constant(ValueExpressions.Decimal18Expression decExpr, ErrorCollector errors) throws RuntimeException
visitDecimal18Constant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDecimal28Constant(ValueExpressions.Decimal28Expression decExpr, ErrorCollector errors) throws RuntimeException
visitDecimal28Constant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDecimal38Constant(ValueExpressions.Decimal38Expression decExpr, ErrorCollector errors) throws RuntimeException
visitDecimal38Constant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitVarDecimalConstant(ValueExpressions.VarDecimalExpression decExpr, ErrorCollector errors) throws RuntimeException
visitVarDecimalConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDateConstant(ValueExpressions.DateExpression intExpr, ErrorCollector errors) throws RuntimeException
visitDateConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitTimeConstant(ValueExpressions.TimeExpression intExpr, ErrorCollector errors) throws RuntimeException
visitTimeConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitIntervalYearConstant(ValueExpressions.IntervalYearExpression intExpr, ErrorCollector errors) throws RuntimeException
visitIntervalYearConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitIntervalDayConstant(ValueExpressions.IntervalDayExpression intExpr, ErrorCollector errors) throws RuntimeException
visitIntervalDayConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitTimeStampConstant(ValueExpressions.TimeStampExpression intExpr, ErrorCollector errors) throws RuntimeException
visitTimeStampConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitDoubleConstant(ValueExpressions.DoubleExpression dExpr, ErrorCollector errors) throws RuntimeException
visitDoubleConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitBooleanConstant(ValueExpressions.BooleanExpression e, ErrorCollector errors) throws RuntimeException
visitBooleanConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitQuotedStringConstant(ValueExpressions.QuotedString e, ErrorCollector errors) throws RuntimeException
visitQuotedStringConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitUnknown(LogicalExpression e, ErrorCollector value) throws RuntimeException
visitUnknown
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitCastExpression(CastExpression e, ErrorCollector value) throws RuntimeException
visitCastExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitNullConstant(TypedNullConstant e, ErrorCollector value) throws RuntimeException
visitNullConstant
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitNullExpression(NullExpression e, ErrorCollector value) throws RuntimeException
visitNullExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitConvertExpression(ConvertExpression e, ErrorCollector value) throws RuntimeException
visitConvertExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitAnyValueExpression(AnyValueExpression e, ErrorCollector value) throws RuntimeException
visitAnyValueExpression
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitParameter(ValueExpressions.ParameterExpression e, ErrorCollector value) throws RuntimeException
visitParameter
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
public Void visitTypedFieldExpr(TypedFieldExpr e, ErrorCollector value) throws RuntimeException
visitTypedFieldExpr
in interface ExprVisitor<Void,ErrorCollector,RuntimeException>
RuntimeException
Copyright © 1970 The Apache Software Foundation. All rights reserved.