/[Apache-SVN]/incubator/derby/code/trunk/java/client/org/apache/derby/client/am/MaterialStatement.java
ViewVC logotype

Diff of /incubator/derby/code/trunk/java/client/org/apache/derby/client/am/MaterialStatement.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- incubator/derby/code/trunk/java/client/org/apache/derby/client/am/MaterialStatement.java	2005/05/02 05:18:08	165584
+++ incubator/derby/code/trunk/java/client/org/apache/derby/client/am/MaterialStatement.java	2005/05/02 06:25:59	165585
@@ -20,45 +20,51 @@
 
 package org.apache.derby.client.am;
 
-import org.apache.derby.client.am.Section;
 
-public interface MaterialStatement
-{
-  public abstract void writeExecuteImmediate_ (String sql, Section section) throws SqlException;
-  public abstract void readExecuteImmediate_ () throws SqlException;
-  // The sql parameter is supplied in the read method for drivers that
-  // process all commands on the "read-side" and do little/nothing on the "write-side".
-  // Drivers that follow the write/read paradigm (e.g. NET) will likely ignore the sql parameter.
-  public abstract void readExecuteImmediateForBatch_ (String sql) throws SqlException;
-
-  public abstract void writePrepareDescribeOutput_ (String sql, Section section) throws SqlException;
-  public abstract void readPrepareDescribeOutput_ () throws SqlException;
-
-  public abstract void writeOpenQuery_ (Section section,
-                              int fetchSize,
-                              int resultSetType) throws SqlException;
-  public abstract void readOpenQuery_ () throws SqlException;
-
-  public abstract void writeExecuteCall_ (boolean outputExpected,
-                                String procedureName,
-                                Section section,
-                                int fetchSize,
-                                boolean suppressResultSets,  // for batch updates set to true, otherwise to false
-                                int resultSetType,
-                                ColumnMetaData parameterMetaData,
-                                Object[] inputs) throws SqlException;
-  public abstract void readExecuteCall_ () throws SqlException;
-
-  // Used for re-prepares across commit and other places as well
-  public abstract void writePrepare_ (String sql, Section section) throws SqlException;
-  public abstract void readPrepare_ () throws SqlException;
 
-  public abstract void markClosedOnServer_();
+public interface MaterialStatement {
+    public abstract void writeExecuteImmediate_(String sql, Section section) throws SqlException;
 
-  public abstract void writeSetSpecialRegister_ (java.util.ArrayList sqlsttList) throws SqlException;
-  public abstract void readSetSpecialRegister_ () throws SqlException;
+    public abstract void readExecuteImmediate_() throws SqlException;
 
- public abstract void reset_ ();
+    // The sql parameter is supplied in the read method for drivers that
+    // process all commands on the "read-side" and do little/nothing on the "write-side".
+    // Drivers that follow the write/read paradigm (e.g. NET) will likely ignore the sql parameter.
+    public abstract void readExecuteImmediateForBatch_(String sql) throws SqlException;
+
+    public abstract void writePrepareDescribeOutput_(String sql, Section section) throws SqlException;
+
+    public abstract void readPrepareDescribeOutput_() throws SqlException;
+
+    public abstract void writeOpenQuery_(Section section,
+                                         int fetchSize,
+                                         int resultSetType) throws SqlException;
+
+    public abstract void readOpenQuery_() throws SqlException;
+
+    public abstract void writeExecuteCall_(boolean outputExpected,
+                                           String procedureName,
+                                           Section section,
+                                           int fetchSize,
+                                           boolean suppressResultSets, // for batch updates set to true, otherwise to false
+                                           int resultSetType,
+                                           ColumnMetaData parameterMetaData,
+                                           Object[] inputs) throws SqlException;
+
+    public abstract void readExecuteCall_() throws SqlException;
+
+    // Used for re-prepares across commit and other places as well
+    public abstract void writePrepare_(String sql, Section section) throws SqlException;
+
+    public abstract void readPrepare_() throws SqlException;
+
+    public abstract void markClosedOnServer_();
+
+    public abstract void writeSetSpecialRegister_(java.util.ArrayList sqlsttList) throws SqlException;
+
+    public abstract void readSetSpecialRegister_() throws SqlException;
+
+    public abstract void reset_();
 
 }
 

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26