home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / sql / Statement.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  2.1 KB  |  92 lines

  1. package java.sql;
  2.  
  3. public interface Statement extends Wrapper {
  4.    int CLOSE_CURRENT_RESULT = 1;
  5.    int KEEP_CURRENT_RESULT = 2;
  6.    int CLOSE_ALL_RESULTS = 3;
  7.    int SUCCESS_NO_INFO = -2;
  8.    int EXECUTE_FAILED = -3;
  9.    int RETURN_GENERATED_KEYS = 1;
  10.    int NO_GENERATED_KEYS = 2;
  11.  
  12.    ResultSet executeQuery(String var1) throws SQLException;
  13.  
  14.    int executeUpdate(String var1) throws SQLException;
  15.  
  16.    void close() throws SQLException;
  17.  
  18.    int getMaxFieldSize() throws SQLException;
  19.  
  20.    void setMaxFieldSize(int var1) throws SQLException;
  21.  
  22.    int getMaxRows() throws SQLException;
  23.  
  24.    void setMaxRows(int var1) throws SQLException;
  25.  
  26.    void setEscapeProcessing(boolean var1) throws SQLException;
  27.  
  28.    int getQueryTimeout() throws SQLException;
  29.  
  30.    void setQueryTimeout(int var1) throws SQLException;
  31.  
  32.    void cancel() throws SQLException;
  33.  
  34.    SQLWarning getWarnings() throws SQLException;
  35.  
  36.    void clearWarnings() throws SQLException;
  37.  
  38.    void setCursorName(String var1) throws SQLException;
  39.  
  40.    boolean execute(String var1) throws SQLException;
  41.  
  42.    ResultSet getResultSet() throws SQLException;
  43.  
  44.    int getUpdateCount() throws SQLException;
  45.  
  46.    boolean getMoreResults() throws SQLException;
  47.  
  48.    void setFetchDirection(int var1) throws SQLException;
  49.  
  50.    int getFetchDirection() throws SQLException;
  51.  
  52.    void setFetchSize(int var1) throws SQLException;
  53.  
  54.    int getFetchSize() throws SQLException;
  55.  
  56.    int getResultSetConcurrency() throws SQLException;
  57.  
  58.    int getResultSetType() throws SQLException;
  59.  
  60.    void addBatch(String var1) throws SQLException;
  61.  
  62.    void clearBatch() throws SQLException;
  63.  
  64.    int[] executeBatch() throws SQLException;
  65.  
  66.    Connection getConnection() throws SQLException;
  67.  
  68.    boolean getMoreResults(int var1) throws SQLException;
  69.  
  70.    ResultSet getGeneratedKeys() throws SQLException;
  71.  
  72.    int executeUpdate(String var1, int var2) throws SQLException;
  73.  
  74.    int executeUpdate(String var1, int[] var2) throws SQLException;
  75.  
  76.    int executeUpdate(String var1, String[] var2) throws SQLException;
  77.  
  78.    boolean execute(String var1, int var2) throws SQLException;
  79.  
  80.    boolean execute(String var1, int[] var2) throws SQLException;
  81.  
  82.    boolean execute(String var1, String[] var2) throws SQLException;
  83.  
  84.    int getResultSetHoldability() throws SQLException;
  85.  
  86.    boolean isClosed() throws SQLException;
  87.  
  88.    void setPoolable(boolean var1) throws SQLException;
  89.  
  90.    boolean isPoolable() throws SQLException;
  91. }
  92.