1 21 22 package org.apache.derby.client.net; 23 24 import org.apache.derby.client.am.ColumnMetaData; 25 import org.apache.derby.client.am.Section; 26 import org.apache.derby.client.am.SqlException; 27 28 33 public interface StatementRequestInterface { 34 public void writeExecuteImmediate(NetStatement materialStatement, 35 String sql, 36 Section section) throws SqlException; 37 38 public void writePrepareDescribeOutput(NetStatement materialStatement, 39 String sql, 40 Section section) throws SqlException; 41 42 public void writePrepare(NetStatement materialStatement, 43 String sql, 44 Section section) throws SqlException; 45 46 public void writeOpenQuery(NetStatement materialStatement, 47 Section section, 48 int fetchSize, 49 int resultSetType) throws SqlException; 50 51 public void writeExecute(NetPreparedStatement materialPreparedStatement, 52 Section section, 53 org.apache.derby.client.am.ColumnMetaData parameterMetaData, 54 Object [] inputs, 55 int numInputColumns, 56 boolean outputExpected, 57 boolean chainedWritesFollowingSetLob) throws SqlException; 64 65 66 public void writeOpenQuery(NetPreparedStatement materialPreparedStatement, 67 Section section, 68 int fetchSize, 69 int resultSetType, 70 int numInputColumns, 71 ColumnMetaData parameterMetaData, 72 Object [] inputs) throws SqlException; 73 74 public void writeDescribeInput(NetPreparedStatement materialPreparedStatement, 75 Section section) throws SqlException; 76 77 public void writeDescribeOutput(NetPreparedStatement materialPreparedStatement, 78 Section section) throws SqlException; 79 80 public void writeExecuteCall(NetStatement materialStatement, 81 boolean outputExpected, 82 String procedureName, 83 Section section, 84 int fetchSize, 85 boolean suppressResultSets, int resultSetType, 87 ColumnMetaData parameterMetaData, 88 Object [] inputs) throws SqlException; 89 90 91 public void writeSetSpecialRegister(java.util.ArrayList sqlsttList) throws SqlException; 92 } 93 | Popular Tags |