コード例 #1
0
ファイル: RexUtil.java プロジェクト: kunlqt/optiq
 public Void visitLocalRef(RexLocalRef inputRef) {
   super.visitLocalRef(inputRef);
   if (inputRef.getIndex() >= limit) {
     throw new IllegalForwardRefException();
   }
   return null;
 }
コード例 #2
0
ファイル: RexUtil.java プロジェクト: kunlqt/optiq
 public Void visitInputRef(RexInputRef inputRef) {
   super.visitInputRef(inputRef);
   if (inputRef.getIndex() >= inputRowType.getFieldCount()) {
     throw new IllegalForwardRefException();
   }
   return null;
 }