1 21 22 package org.apache.derby.impl.sql.compile; 23 24 import org.apache.derby.iapi.sql.dictionary.DataDictionary; 25 26 import org.apache.derby.iapi.error.StandardException; 27 28 import org.apache.derby.iapi.services.sanity.SanityManager; 29 30 import org.apache.derby.iapi.util.JBitSet; 31 32 import java.util.Vector ; 33 34 44 45 public class QuantifiedUnaryOperatorNode extends UnaryOperatorNode 46 { 47 52 public final static int EXISTS = 1; 53 public final static int NOT_EXISTS = 2; 54 55 SubqueryNode operand; 56 57 63 64 public void printSubNodes(int depth) 65 { 66 if (SanityManager.DEBUG) 67 { 68 super.printSubNodes(depth); 69 if (operand != null) 70 { 71 printLabel(depth, "operand: "); 72 operand.treePrint(depth + 1); 73 } 74 } 75 } 76 77 90 91 public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, 92 Vector aggregateVector) 93 throws StandardException 94 { 95 operand.bind(); 96 97 98 99 100 return this; 101 } 102 } 103 | Popular Tags |