1 21 22 package org.apache.derby.impl.tools.ij; 23 24 import java.sql.Connection ; 25 import java.sql.ResultSet ; 26 import java.sql.Statement ; 27 import java.sql.PreparedStatement ; 28 import java.sql.SQLException ; 29 import java.sql.SQLWarning ; 30 import java.util.Vector ; 31 32 39 interface ijResult { 40 boolean isConnection(); 41 boolean isStatement(); 42 boolean isResultSet() throws SQLException ; 43 boolean isUpdateCount() throws SQLException ; 44 boolean isNextRowOfResultSet(); 45 boolean isVector(); 46 boolean isMulti(); 47 boolean isException(); 48 boolean hasWarnings() throws SQLException ; 49 50 Connection getConnection(); 51 Statement getStatement(); 52 int getUpdateCount() throws SQLException ; 53 ResultSet getResultSet() throws SQLException ; 54 ResultSet getNextRowOfResultSet(); 55 Vector getVector(); 56 SQLException getException(); 57 int[] getColumnDisplayList(); 58 int[] getColumnWidthList(); 59 60 void closeStatement() throws SQLException ; 61 62 66 SQLWarning getSQLWarnings() throws SQLException ; 67 void clearSQLWarnings() throws SQLException ; 68 } 69 | Popular Tags |