org.eigenbase.rel
Class ProjectRelBase.Checker
java.lang.Object
org.eigenbase.rex.RexVisitorImpl<Boolean>
org.eigenbase.rel.ProjectRelBase.Checker
- All Implemented Interfaces:
- RexVisitor<Boolean>
- Enclosing class:
- ProjectRelBase
private static class ProjectRelBase.Checker
- extends RexVisitorImpl<Boolean>
Visitor which walks over a program and checks validity.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fail
private final boolean fail
inputRowType
private final RelDataType inputRowType
failCount
int failCount
ProjectRelBase.Checker
private ProjectRelBase.Checker(RelDataType inputRowType,
boolean fail)
- Creates a Checker.
- Parameters:
inputRowType
- Input row type to expressionsfail
- Whether to throw if checker finds an error
visitInputRef
public Boolean visitInputRef(RexInputRef inputRef)
- Specified by:
visitInputRef
in interface RexVisitor<Boolean>
- Overrides:
visitInputRef
in class RexVisitorImpl<Boolean>
visitLocalRef
public Boolean visitLocalRef(RexLocalRef localRef)
- Specified by:
visitLocalRef
in interface RexVisitor<Boolean>
- Overrides:
visitLocalRef
in class RexVisitorImpl<Boolean>
visitFieldAccess
public Boolean visitFieldAccess(RexFieldAccess fieldAccess)
- Specified by:
visitFieldAccess
in interface RexVisitor<Boolean>
- Overrides:
visitFieldAccess
in class RexVisitorImpl<Boolean>