1 22 23 24 package com.mchange.v2.sql.filter; 25 26 import java.lang.String ; 27 import java.sql.Connection ; 28 import java.sql.ResultSet ; 29 import java.sql.SQLException ; 30 import java.sql.SQLWarning ; 31 import java.sql.Statement ; 32 33 public abstract class FilterStatement implements Statement 34 { 35 protected Statement inner; 36 37 public FilterStatement(Statement inner) 38 { this.inner = inner; } 39 40 public FilterStatement() 41 {} 42 43 public void setInner( Statement inner ) 44 { this.inner = inner; } 45 46 public Statement getInner() 47 { return inner; } 48 49 public SQLWarning getWarnings() throws SQLException 50 { return inner.getWarnings(); } 51 52 public void clearWarnings() throws SQLException 53 { inner.clearWarnings(); } 54 55 public void setFetchDirection(int a) throws SQLException 56 { inner.setFetchDirection(a); } 57 58 public int getFetchDirection() throws SQLException 59 { return inner.getFetchDirection(); } 60 61 public void setFetchSize(int a) throws SQLException 62 { inner.setFetchSize(a); } 63 64 public int getFetchSize() throws SQLException 65 { return inner.getFetchSize(); } 66 67 public int getResultSetHoldability() throws SQLException 68 { return inner.getResultSetHoldability(); } 69 70 public ResultSet executeQuery(String a) throws SQLException 71 { return inner.executeQuery(a); } 72 73 public int executeUpdate(String a, int b) throws SQLException 74 { return inner.executeUpdate(a, b); } 75 76 public int executeUpdate(String a, String [] b) throws SQLException 77 { return inner.executeUpdate(a, b); } 78 79 public int executeUpdate(String a, int[] b) throws SQLException 80 { return inner.executeUpdate(a, b); } 81 82 public int executeUpdate(String a) throws SQLException 83 { return inner.executeUpdate(a); } 84 85 public int getMaxFieldSize() throws SQLException 86 { return inner.getMaxFieldSize(); } 87 88 public void setMaxFieldSize(int a) throws SQLException 89 { inner.setMaxFieldSize(a); } 90 91 public int getMaxRows() throws SQLException 92 { return inner.getMaxRows(); } 93 94 public void setMaxRows(int a) throws SQLException 95 { inner.setMaxRows(a); } 96 97 public void setEscapeProcessing(boolean a) throws SQLException 98 { inner.setEscapeProcessing(a); } 99 100 public int getQueryTimeout() throws SQLException 101 { return inner.getQueryTimeout(); } 102 103 public void setQueryTimeout(int a) throws SQLException 104 { inner.setQueryTimeout(a); } 105 106 public void setCursorName(String a) throws SQLException 107 { inner.setCursorName(a); } 108 109 public ResultSet getResultSet() throws SQLException 110 { return inner.getResultSet(); } 111 112 public int getUpdateCount() throws SQLException 113 { return inner.getUpdateCount(); } 114 115 public boolean getMoreResults() throws SQLException 116 { return inner.getMoreResults(); } 117 118 public boolean getMoreResults(int a) throws SQLException 119 { return inner.getMoreResults(a); } 120 121 public int getResultSetConcurrency() throws SQLException 122 { return inner.getResultSetConcurrency(); } 123 124 public int getResultSetType() throws SQLException 125 { return inner.getResultSetType(); } 126 127 public void addBatch(String a) throws SQLException 128 { inner.addBatch(a); } 129 130 public void clearBatch() throws SQLException 131 { inner.clearBatch(); } 132 133 public int[] executeBatch() throws SQLException 134 { return inner.executeBatch(); } 135 136 public ResultSet getGeneratedKeys() throws SQLException 137 { return inner.getGeneratedKeys(); } 138 139 public void close() throws SQLException 140 { inner.close(); } 141 142 public boolean execute(String a, int b) throws SQLException 143 { return inner.execute(a, b); } 144 145 public boolean execute(String a) throws SQLException 146 { return inner.execute(a); } 147 148 public boolean execute(String a, int[] b) throws SQLException 149 { return inner.execute(a, b); } 150 151 public boolean execute(String a, String [] b) throws SQLException 152 { return inner.execute(a, b); } 153 154 public Connection getConnection() throws SQLException 155 { return inner.getConnection(); } 156 157 public void cancel() throws SQLException 158 { inner.cancel(); } 159 } 160 | Popular Tags |