1 21 22 package org.apache.derby.impl.sql.compile; 23 24 import org.apache.derby.iapi.services.context.ContextManager; 25 26 import org.apache.derby.iapi.error.StandardException; 27 import org.apache.derby.iapi.reference.SQLState; 28 29 35 36 public class NOPStatementNode extends StatementNode 37 { 38 public String statementToString() 39 { 40 return "NO-OP"; 41 } 42 43 51 public QueryTreeNode bind() throws StandardException 52 { 53 58 59 throw StandardException.newException(SQLState.LANG_PARSE_ONLY); 60 } 61 62 int activationKind() 63 { 64 return StatementNode.NEED_NOTHING_ACTIVATION; 65 } 66 } 67 | Popular Tags |