diff --git a/src/main/java/com/alibaba/druid/filter/FilterChain.java b/src/main/java/com/alibaba/druid/filter/FilterChain.java index fb321e3e3f..1b5aec5b86 100644 --- a/src/main/java/com/alibaba/druid/filter/FilterChain.java +++ b/src/main/java/com/alibaba/druid/filter/FilterChain.java @@ -55,8 +55,9 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy; * @author wenshao */ public interface FilterChain { + DataSourceProxy getDataSource(); - + int getFilterSize(); FilterChain cloneChain(); @@ -176,430 +177,415 @@ public interface FilterChain { // --------- // /////////////// - public boolean resultSet_next(ResultSetProxy resultSet) throws SQLException; + boolean resultSet_next(ResultSetProxy resultSet) throws SQLException; - public void resultSet_close(ResultSetProxy resultSet) throws SQLException; + void resultSet_close(ResultSetProxy resultSet) throws SQLException; - public boolean resultSet_wasNull(ResultSetProxy resultSet) throws SQLException; + boolean resultSet_wasNull(ResultSetProxy resultSet) throws SQLException; - public String resultSet_getString(ResultSetProxy resultSet, int columnIndex) throws SQLException; + String resultSet_getString(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public boolean resultSet_getBoolean(ResultSetProxy resultSet, int columnIndex) throws SQLException; + boolean resultSet_getBoolean(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public byte resultSet_getByte(ResultSetProxy resultSet, int columnIndex) throws SQLException; + byte resultSet_getByte(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public short resultSet_getShort(ResultSetProxy resultSet, int columnIndex) throws SQLException; + short resultSet_getShort(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public int resultSet_getInt(ResultSetProxy resultSet, int columnIndex) throws SQLException; + int resultSet_getInt(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public long resultSet_getLong(ResultSetProxy resultSet, int columnIndex) throws SQLException; + long resultSet_getLong(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public float resultSet_getFloat(ResultSetProxy resultSet, int columnIndex) throws SQLException; + float resultSet_getFloat(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public double resultSet_getDouble(ResultSetProxy resultSet, int columnIndex) throws SQLException; + double resultSet_getDouble(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, int columnIndex, int scale) throws SQLException; + BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, int columnIndex, int scale) throws SQLException; - public byte[] resultSet_getBytes(ResultSetProxy resultSet, int columnIndex) throws SQLException; + byte[] resultSet_getBytes(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.sql.Date resultSet_getDate(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.sql.Time resultSet_getTime(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) - throws SQLException; + java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public String resultSet_getString(ResultSetProxy resultSet, String columnLabel) throws SQLException; + String resultSet_getString(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public boolean resultSet_getBoolean(ResultSetProxy resultSet, String columnLabel) throws SQLException; + boolean resultSet_getBoolean(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public byte resultSet_getByte(ResultSetProxy resultSet, String columnLabel) throws SQLException; + byte resultSet_getByte(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public short resultSet_getShort(ResultSetProxy resultSet, String columnLabel) throws SQLException; + short resultSet_getShort(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public int resultSet_getInt(ResultSetProxy resultSet, String columnLabel) throws SQLException; + int resultSet_getInt(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public long resultSet_getLong(ResultSetProxy resultSet, String columnLabel) throws SQLException; + long resultSet_getLong(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public float resultSet_getFloat(ResultSetProxy resultSet, String columnLabel) throws SQLException; + float resultSet_getFloat(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public double resultSet_getDouble(ResultSetProxy resultSet, String columnLabel) throws SQLException; + double resultSet_getDouble(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) - throws SQLException; + BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel, int scale) throws SQLException; - public byte[] resultSet_getBytes(ResultSetProxy resultSet, String columnLabel) throws SQLException; + byte[] resultSet_getBytes(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel) throws SQLException; + java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel) throws SQLException; + java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel) throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + java.io.InputStream resultSet_getAsciiStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) + java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + SQLWarning resultSet_getWarnings(ResultSetProxy resultSet) throws SQLException; + + void resultSet_clearWarnings(ResultSetProxy resultSet) throws SQLException; + + String resultSet_getCursorName(ResultSetProxy resultSet) throws SQLException; + + ResultSetMetaData resultSet_getMetaData(ResultSetProxy resultSet) throws SQLException; + + Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex) throws SQLException; + + Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + int resultSet_findColumn(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; + + java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, int columnIndex) throws SQLException; + + BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + boolean resultSet_isBeforeFirst(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_isAfterLast(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_isFirst(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_isLast(ResultSetProxy resultSet) throws SQLException; + + void resultSet_beforeFirst(ResultSetProxy resultSet) throws SQLException; + + void resultSet_afterLast(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_first(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_last(ResultSetProxy resultSet) throws SQLException; + + int resultSet_getRow(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_absolute(ResultSetProxy resultSet, int row) throws SQLException; + + boolean resultSet_relative(ResultSetProxy resultSet, int rows) throws SQLException; + + boolean resultSet_previous(ResultSetProxy resultSet) throws SQLException; + + void resultSet_setFetchDirection(ResultSetProxy resultSet, int direction) throws SQLException; + + int resultSet_getFetchDirection(ResultSetProxy resultSet) throws SQLException; + + void resultSet_setFetchSize(ResultSetProxy resultSet, int rows) throws SQLException; + + int resultSet_getFetchSize(ResultSetProxy resultSet) throws SQLException; + + int resultSet_getType(ResultSetProxy resultSet) throws SQLException; + + int resultSet_getConcurrency(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_rowUpdated(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_rowInserted(ResultSetProxy resultSet) throws SQLException; + + boolean resultSet_rowDeleted(ResultSetProxy resultSet) throws SQLException; + + void resultSet_updateNull(ResultSetProxy resultSet, int columnIndex) throws SQLException; + + void resultSet_updateBoolean(ResultSetProxy resultSet, int columnIndex, boolean x) throws SQLException; + + void resultSet_updateByte(ResultSetProxy resultSet, int columnIndex, byte x) throws SQLException; + + void resultSet_updateShort(ResultSetProxy resultSet, int columnIndex, short x) throws SQLException; + + void resultSet_updateInt(ResultSetProxy resultSet, int columnIndex, int x) throws SQLException; + + void resultSet_updateLong(ResultSetProxy resultSet, int columnIndex, long x) throws SQLException; + + void resultSet_updateFloat(ResultSetProxy resultSet, int columnIndex, float x) throws SQLException; + + void resultSet_updateDouble(ResultSetProxy resultSet, int columnIndex, double x) throws SQLException; + + void resultSet_updateBigDecimal(ResultSetProxy resultSet, int columnIndex, BigDecimal x) throws SQLException; + + void resultSet_updateString(ResultSetProxy resultSet, int columnIndex, String x) throws SQLException; + + void resultSet_updateBytes(ResultSetProxy resultSet, int columnIndex, byte x[]) throws SQLException; + + void resultSet_updateDate(ResultSetProxy resultSet, int columnIndex, java.sql.Date x) throws SQLException; + + void resultSet_updateTime(ResultSetProxy resultSet, int columnIndex, java.sql.Time x) throws SQLException; + + void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) throws SQLException; + + void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) + throws SQLException; + + void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) + throws SQLException; + + void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) + throws SQLException; + + void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) throws SQLException; - public java.io.InputStream resultSet_getBinaryStream(ResultSetProxy resultSet, String columnLabel) + void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException; + + void resultSet_updateNull(ResultSetProxy resultSet, String columnLabel) throws SQLException; + + void resultSet_updateBoolean(ResultSetProxy resultSet, String columnLabel, boolean x) throws SQLException; + + void resultSet_updateByte(ResultSetProxy resultSet, String columnLabel, byte x) throws SQLException; + + void resultSet_updateShort(ResultSetProxy resultSet, String columnLabel, short x) throws SQLException; + + void resultSet_updateInt(ResultSetProxy resultSet, String columnLabel, int x) throws SQLException; + + void resultSet_updateLong(ResultSetProxy resultSet, String columnLabel, long x) throws SQLException; + + void resultSet_updateFloat(ResultSetProxy resultSet, String columnLabel, float x) throws SQLException; + + void resultSet_updateDouble(ResultSetProxy resultSet, String columnLabel, double x) throws SQLException; + + void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) throws SQLException; + + void resultSet_updateString(ResultSetProxy resultSet, String columnLabel, String x) throws SQLException; + + void resultSet_updateBytes(ResultSetProxy resultSet, String columnLabel, byte x[]) throws SQLException; + + void resultSet_updateDate(ResultSetProxy resultSet, String columnLabel, java.sql.Date x) throws SQLException; + + void resultSet_updateTime(ResultSetProxy resultSet, String columnLabel, java.sql.Time x) throws SQLException; + + void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) throws SQLException; - public SQLWarning resultSet_getWarnings(ResultSetProxy resultSet) throws SQLException; + void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) + throws SQLException; - public void resultSet_clearWarnings(ResultSetProxy resultSet) throws SQLException; + void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, int length) + throws SQLException; - public String resultSet_getCursorName(ResultSetProxy resultSet) throws SQLException; + void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, int length) + throws SQLException; - public ResultSetMetaData resultSet_getMetaData(ResultSetProxy resultSet) throws SQLException; - - public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public int resultSet_findColumn(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public java.io.Reader resultSet_getCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; - - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public BigDecimal resultSet_getBigDecimal(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public boolean resultSet_isBeforeFirst(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_isAfterLast(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_isFirst(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_isLast(ResultSetProxy resultSet) throws SQLException; - - public void resultSet_beforeFirst(ResultSetProxy resultSet) throws SQLException; - - public void resultSet_afterLast(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_first(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_last(ResultSetProxy resultSet) throws SQLException; - - public int resultSet_getRow(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_absolute(ResultSetProxy resultSet, int row) throws SQLException; - - public boolean resultSet_relative(ResultSetProxy resultSet, int rows) throws SQLException; - - public boolean resultSet_previous(ResultSetProxy resultSet) throws SQLException; - - public void resultSet_setFetchDirection(ResultSetProxy resultSet, int direction) throws SQLException; - - public int resultSet_getFetchDirection(ResultSetProxy resultSet) throws SQLException; - - public void resultSet_setFetchSize(ResultSetProxy resultSet, int rows) throws SQLException; - - public int resultSet_getFetchSize(ResultSetProxy resultSet) throws SQLException; - - public int resultSet_getType(ResultSetProxy resultSet) throws SQLException; - - public int resultSet_getConcurrency(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_rowUpdated(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_rowInserted(ResultSetProxy resultSet) throws SQLException; - - public boolean resultSet_rowDeleted(ResultSetProxy resultSet) throws SQLException; - - public void resultSet_updateNull(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public void resultSet_updateBoolean(ResultSetProxy resultSet, int columnIndex, boolean x) throws SQLException; - - public void resultSet_updateByte(ResultSetProxy resultSet, int columnIndex, byte x) throws SQLException; - - public void resultSet_updateShort(ResultSetProxy resultSet, int columnIndex, short x) throws SQLException; - - public void resultSet_updateInt(ResultSetProxy resultSet, int columnIndex, int x) throws SQLException; - - public void resultSet_updateLong(ResultSetProxy resultSet, int columnIndex, long x) throws SQLException; - - public void resultSet_updateFloat(ResultSetProxy resultSet, int columnIndex, float x) throws SQLException; - - public void resultSet_updateDouble(ResultSetProxy resultSet, int columnIndex, double x) throws SQLException; - - public void resultSet_updateBigDecimal(ResultSetProxy resultSet, int columnIndex, BigDecimal x) throws SQLException; - - public void resultSet_updateString(ResultSetProxy resultSet, int columnIndex, String x) throws SQLException; - - public void resultSet_updateBytes(ResultSetProxy resultSet, int columnIndex, byte x[]) throws SQLException; - - public void resultSet_updateDate(ResultSetProxy resultSet, int columnIndex, java.sql.Date x) throws SQLException; - - public void resultSet_updateTime(ResultSetProxy resultSet, int columnIndex, java.sql.Time x) throws SQLException; - - public void resultSet_updateTimestamp(ResultSetProxy resultSet, int columnIndex, java.sql.Timestamp x) + void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) throws SQLException; - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, int length) - throws SQLException; + void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException; - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - int length) throws SQLException; + void resultSet_insertRow(ResultSetProxy resultSet) throws SQLException; - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, int length) - throws SQLException; + void resultSet_updateRow(ResultSetProxy resultSet) throws SQLException; - public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) + void resultSet_deleteRow(ResultSetProxy resultSet) throws SQLException; + + void resultSet_refreshRow(ResultSetProxy resultSet) throws SQLException; + + void resultSet_cancelRowUpdates(ResultSetProxy resultSet) throws SQLException; + + void resultSet_moveToInsertRow(ResultSetProxy resultSet) throws SQLException; + + void resultSet_moveToCurrentRow(ResultSetProxy resultSet) throws SQLException; + + Statement resultSet_getStatement(ResultSetProxy resultSet) throws SQLException; + + Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) throws SQLException; - public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException; + Ref resultSet_getRef(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateNull(ResultSetProxy resultSet, String columnLabel) throws SQLException; + Blob resultSet_getBlob(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateBoolean(ResultSetProxy resultSet, String columnLabel, boolean x) throws SQLException; + Clob resultSet_getClob(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateByte(ResultSetProxy resultSet, String columnLabel, byte x) throws SQLException; + Array resultSet_getArray(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateShort(ResultSetProxy resultSet, String columnLabel, short x) throws SQLException; - - public void resultSet_updateInt(ResultSetProxy resultSet, String columnLabel, int x) throws SQLException; - - public void resultSet_updateLong(ResultSetProxy resultSet, String columnLabel, long x) throws SQLException; - - public void resultSet_updateFloat(ResultSetProxy resultSet, String columnLabel, float x) throws SQLException; - - public void resultSet_updateDouble(ResultSetProxy resultSet, String columnLabel, double x) throws SQLException; - - public void resultSet_updateBigDecimal(ResultSetProxy resultSet, String columnLabel, BigDecimal x) - throws SQLException; - - public void resultSet_updateString(ResultSetProxy resultSet, String columnLabel, String x) throws SQLException; - - public void resultSet_updateBytes(ResultSetProxy resultSet, String columnLabel, byte x[]) throws SQLException; - - public void resultSet_updateDate(ResultSetProxy resultSet, String columnLabel, java.sql.Date x) throws SQLException; - - public void resultSet_updateTime(ResultSetProxy resultSet, String columnLabel, java.sql.Time x) throws SQLException; - - public void resultSet_updateTimestamp(ResultSetProxy resultSet, String columnLabel, java.sql.Timestamp x) - throws SQLException; - - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException; - - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - int length) throws SQLException; - - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - int length) throws SQLException; - - public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) + Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) throws SQLException; - public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException; + Ref resultSet_getRef(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_insertRow(ResultSetProxy resultSet) throws SQLException; + Blob resultSet_getBlob(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_updateRow(ResultSetProxy resultSet) throws SQLException; + Clob resultSet_getClob(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_deleteRow(ResultSetProxy resultSet) throws SQLException; + Array resultSet_getArray(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_refreshRow(ResultSetProxy resultSet) throws SQLException; + java.sql.Date resultSet_getDate(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public void resultSet_cancelRowUpdates(ResultSetProxy resultSet) throws SQLException; + java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; - public void resultSet_moveToInsertRow(ResultSetProxy resultSet) throws SQLException; + java.sql.Time resultSet_getTime(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public void resultSet_moveToCurrentRow(ResultSetProxy resultSet) throws SQLException; + java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) throws SQLException; - public Statement resultSet_getStatement(ResultSetProxy resultSet) throws SQLException; - - public Object resultSet_getObject(ResultSetProxy resultSet, int columnIndex, java.util.Map> map) - throws SQLException; - - public Ref resultSet_getRef(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public Blob resultSet_getBlob(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public Clob resultSet_getClob(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public Array resultSet_getArray(ResultSetProxy resultSet, int columnIndex) throws SQLException; - - public Object resultSet_getObject(ResultSetProxy resultSet, String columnLabel, java.util.Map> map) - throws SQLException; - - public Ref resultSet_getRef(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public Blob resultSet_getBlob(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public Clob resultSet_getClob(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public Array resultSet_getArray(ResultSetProxy resultSet, String columnLabel) throws SQLException; - - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - - public java.sql.Date resultSet_getDate(ResultSetProxy resultSet, String columnLabel, Calendar cal) + java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, int columnIndex, Calendar cal) throws SQLException; + java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) + throws SQLException; - public java.sql.Time resultSet_getTime(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + java.net.URL resultSet_getURL(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, int columnIndex, Calendar cal) - throws SQLException; + java.net.URL resultSet_getURL(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public java.sql.Timestamp resultSet_getTimestamp(ResultSetProxy resultSet, String columnLabel, Calendar cal) - throws SQLException; + void resultSet_updateRef(ResultSetProxy resultSet, int columnIndex, java.sql.Ref x) throws SQLException; - public java.net.URL resultSet_getURL(ResultSetProxy resultSet, int columnIndex) throws SQLException; + void resultSet_updateRef(ResultSetProxy resultSet, String columnLabel, java.sql.Ref x) throws SQLException; - public java.net.URL resultSet_getURL(ResultSetProxy resultSet, String columnLabel) throws SQLException; + void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, java.sql.Blob x) throws SQLException; - public void resultSet_updateRef(ResultSetProxy resultSet, int columnIndex, java.sql.Ref x) throws SQLException; + void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, java.sql.Blob x) throws SQLException; - public void resultSet_updateRef(ResultSetProxy resultSet, String columnLabel, java.sql.Ref x) throws SQLException; + void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, java.sql.Clob x) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, java.sql.Blob x) throws SQLException; + void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, java.sql.Clob x) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, java.sql.Blob x) throws SQLException; + void resultSet_updateArray(ResultSetProxy resultSet, int columnIndex, java.sql.Array x) throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, java.sql.Clob x) throws SQLException; + void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, java.sql.Clob x) throws SQLException; + RowId resultSet_getRowId(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateArray(ResultSetProxy resultSet, int columnIndex, java.sql.Array x) throws SQLException; + RowId resultSet_getRowId(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_updateArray(ResultSetProxy resultSet, String columnLabel, java.sql.Array x) - throws SQLException; + void resultSet_updateRowId(ResultSetProxy resultSet, int columnIndex, RowId x) throws SQLException; - public RowId resultSet_getRowId(ResultSetProxy resultSet, int columnIndex) throws SQLException; + void resultSet_updateRowId(ResultSetProxy resultSet, String columnLabel, RowId x) throws SQLException; - public RowId resultSet_getRowId(ResultSetProxy resultSet, String columnLabel) throws SQLException; + int resultSet_getHoldability(ResultSetProxy resultSet) throws SQLException; - public void resultSet_updateRowId(ResultSetProxy resultSet, int columnIndex, RowId x) throws SQLException; + boolean resultSet_isClosed(ResultSetProxy resultSet) throws SQLException; - public void resultSet_updateRowId(ResultSetProxy resultSet, String columnLabel, RowId x) throws SQLException; + void resultSet_updateNString(ResultSetProxy resultSet, int columnIndex, String nString) throws SQLException; - public int resultSet_getHoldability(ResultSetProxy resultSet) throws SQLException; + void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) throws SQLException; - public boolean resultSet_isClosed(ResultSetProxy resultSet) throws SQLException; + void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, NClob nClob) throws SQLException; - public void resultSet_updateNString(ResultSetProxy resultSet, int columnIndex, String nString) throws SQLException; + void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, NClob nClob) throws SQLException; - public void resultSet_updateNString(ResultSetProxy resultSet, String columnLabel, String nString) - throws SQLException; + NClob resultSet_getNClob(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, NClob nClob) throws SQLException; + NClob resultSet_getNClob(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, NClob nClob) throws SQLException; + SQLXML resultSet_getSQLXML(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public NClob resultSet_getNClob(ResultSetProxy resultSet, int columnIndex) throws SQLException; + SQLXML resultSet_getSQLXML(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public NClob resultSet_getNClob(ResultSetProxy resultSet, String columnLabel) throws SQLException; + void resultSet_updateSQLXML(ResultSetProxy resultSet, int columnIndex, SQLXML xmlObject) throws SQLException; - public SQLXML resultSet_getSQLXML(ResultSetProxy resultSet, int columnIndex) throws SQLException; + void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) throws SQLException; - public SQLXML resultSet_getSQLXML(ResultSetProxy resultSet, String columnLabel) throws SQLException; + String resultSet_getNString(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public void resultSet_updateSQLXML(ResultSetProxy resultSet, int columnIndex, SQLXML xmlObject) throws SQLException; + String resultSet_getNString(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public void resultSet_updateSQLXML(ResultSetProxy resultSet, String columnLabel, SQLXML xmlObject) - throws SQLException; + java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; - public String resultSet_getNString(ResultSetProxy resultSet, int columnIndex) throws SQLException; + java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) throws SQLException; - public String resultSet_getNString(ResultSetProxy resultSet, String columnLabel) throws SQLException; + void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) + throws SQLException; - public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, int columnIndex) throws SQLException; + void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, + long length) throws SQLException; - public java.io.Reader resultSet_getNCharacterStream(ResultSetProxy resultSet, String columnLabel) - throws SQLException; + void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) + throws SQLException; - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, - long length) throws SQLException; - - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException; - - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException; - - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, - long length) throws SQLException; - - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) - throws SQLException; - - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException; - - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, - long length) throws SQLException; - - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, - long length) throws SQLException; - - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) - throws SQLException; - - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) - throws SQLException; - - public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; - - public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException; - - public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) - throws SQLException; - - public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) - throws SQLException; - - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; - - public void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) - throws SQLException; - - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException; - - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) - throws SQLException; - - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) - throws SQLException; - - public void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException; - - public void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) - throws SQLException; - - public void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) + void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x, long length) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) + void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x, long length) + throws SQLException; + + void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) + throws SQLException; + + void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x, long length) + throws SQLException; + + void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader, + long length) throws SQLException; + + void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length) + throws SQLException; + + void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length) + throws SQLException; + + void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) + throws SQLException; + + void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) + throws SQLException; + + void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader, long length) + throws SQLException; + + void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader, long length) throws SQLException; - public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) - throws SQLException; + void resultSet_updateNCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) + throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; + void resultSet_updateNCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) + throws SQLException; - public void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; + void resultSet_updateAsciiStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) + throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; + void resultSet_updateBinaryStream(ResultSetProxy resultSet, int columnIndex, java.io.InputStream x) + throws SQLException; - public void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; + void resultSet_updateCharacterStream(ResultSetProxy resultSet, int columnIndex, java.io.Reader x) + throws SQLException; + + void resultSet_updateAsciiStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) + throws SQLException; + + void resultSet_updateBinaryStream(ResultSetProxy resultSet, String columnLabel, java.io.InputStream x) + throws SQLException; + + void resultSet_updateCharacterStream(ResultSetProxy resultSet, String columnLabel, java.io.Reader reader) + throws SQLException; + + void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream) throws SQLException; + + void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream) + throws SQLException; + + void resultSet_updateClob(ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; + + void resultSet_updateClob(ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; + + void resultSet_updateNClob(ResultSetProxy resultSet, int columnIndex, Reader reader) throws SQLException; + + void resultSet_updateNClob(ResultSetProxy resultSet, String columnLabel, Reader reader) throws SQLException; // //////////////////////////////////// @@ -685,497 +671,465 @@ public interface FilterChain { // //////////////////// - public ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) throws SQLException; + ResultSetProxy preparedStatement_executeQuery(PreparedStatementProxy statement) throws SQLException; - public int preparedStatement_executeUpdate(PreparedStatementProxy statement) throws SQLException; + int preparedStatement_executeUpdate(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) + void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType) + throws SQLException; + + void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) + throws SQLException; + + void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) throws SQLException; + + void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) throws SQLException; + + void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) throws SQLException; + + void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) throws SQLException; + + void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) throws SQLException; + + void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) + throws SQLException; + + void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) throws SQLException; - public void preparedStatement_setBoolean(PreparedStatementProxy statement, int parameterIndex, boolean x) - throws SQLException; + void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) + throws SQLException; - public void preparedStatement_setByte(PreparedStatementProxy statement, int parameterIndex, byte x) - throws SQLException; + void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) throws SQLException; - public void preparedStatement_setShort(PreparedStatementProxy statement, int parameterIndex, short x) + void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) throws SQLException; - public void preparedStatement_setInt(PreparedStatementProxy statement, int parameterIndex, int x) - throws SQLException; - - public void preparedStatement_setLong(PreparedStatementProxy statement, int parameterIndex, long x) - throws SQLException; - - public void preparedStatement_setFloat(PreparedStatementProxy statement, int parameterIndex, float x) + void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) throws SQLException; - public void preparedStatement_setDouble(PreparedStatementProxy statement, int parameterIndex, double x) - throws SQLException; - - public void preparedStatement_setBigDecimal(PreparedStatementProxy statement, int parameterIndex, BigDecimal x) + void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x) throws SQLException; - public void preparedStatement_setString(PreparedStatementProxy statement, int parameterIndex, String x) - throws SQLException; + void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, + int length) throws SQLException; - public void preparedStatement_setBytes(PreparedStatementProxy statement, int parameterIndex, byte x[]) - throws SQLException; + void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, + java.io.InputStream x, int length) throws SQLException; - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x) - throws SQLException; + void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, + int length) throws SQLException; - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x) - throws SQLException; + void preparedStatement_clearParameters(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x) throws SQLException; + void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType) + throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) + throws SQLException; - public void preparedStatement_setUnicodeStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + boolean preparedStatement_execute(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, int length) throws SQLException; + void preparedStatement_addBatch(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_clearParameters(PreparedStatementProxy statement) throws SQLException; + void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, + java.io.Reader reader, int length) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType) throws SQLException; + void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x) - throws SQLException; + void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) throws SQLException; - public boolean preparedStatement_execute(PreparedStatementProxy statement) throws SQLException; + void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) throws SQLException; - public void preparedStatement_addBatch(PreparedStatementProxy statement) throws SQLException; + void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, int length) throws SQLException; + ResultSetMetaData preparedStatement_getMetaData(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setRef(PreparedStatementProxy statement, int parameterIndex, Ref x) - throws SQLException; + void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, Calendar cal) + throws SQLException; - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, Blob x) + void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, Calendar cal) + throws SQLException; + + void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, java.sql.Timestamp x, + Calendar cal) throws SQLException; + + void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, String typeName) + throws SQLException; + + void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) throws SQLException; - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Clob x) - throws SQLException; + ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) throws SQLException; - public void preparedStatement_setArray(PreparedStatementProxy statement, int parameterIndex, Array x) + void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) throws SQLException; + + void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) throws SQLException; - public ResultSetMetaData preparedStatement_getMetaData(PreparedStatementProxy statement) throws SQLException; + void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value, + long length) throws SQLException; - public void preparedStatement_setDate(PreparedStatementProxy statement, int parameterIndex, java.sql.Date x, - Calendar cal) throws SQLException; + void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) + throws SQLException; - public void preparedStatement_setTime(PreparedStatementProxy statement, int parameterIndex, java.sql.Time x, - Calendar cal) throws SQLException; + void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException; - public void preparedStatement_setTimestamp(PreparedStatementProxy statement, int parameterIndex, - java.sql.Timestamp x, Calendar cal) throws SQLException; + void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream, + long length) throws SQLException; - public void preparedStatement_setNull(PreparedStatementProxy statement, int parameterIndex, int sqlType, - String typeName) throws SQLException; + void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, long length) + throws SQLException; - public void preparedStatement_setURL(PreparedStatementProxy statement, int parameterIndex, java.net.URL x) - throws SQLException; + void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) + throws SQLException; - public ParameterMetaData preparedStatement_getParameterMetaData(PreparedStatementProxy statement) - throws SQLException; + void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, int targetSqlType, + int scaleOrLength) throws SQLException; - public void preparedStatement_setRowId(PreparedStatementProxy statement, int parameterIndex, RowId x) - throws SQLException; - - public void preparedStatement_setNString(PreparedStatementProxy statement, int parameterIndex, String value) - throws SQLException; - - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, - Reader value, long length) throws SQLException; - - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, NClob value) - throws SQLException; - - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, + void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException; - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, - InputStream inputStream, long length) throws SQLException; - - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader, + void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x, long length) throws SQLException; - public void preparedStatement_setSQLXML(PreparedStatementProxy statement, int parameterIndex, SQLXML xmlObject) - throws SQLException; + void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, + java.io.Reader reader, long length) throws SQLException; - public void preparedStatement_setObject(PreparedStatementProxy statement, int parameterIndex, Object x, - int targetSqlType, int scaleOrLength) throws SQLException; + void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, java.io.InputStream x) + throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x, long length) throws SQLException; + void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, + java.io.Reader reader) throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader, long length) throws SQLException; + void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) + throws SQLException; - public void preparedStatement_setAsciiStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) + throws SQLException; - public void preparedStatement_setBinaryStream(PreparedStatementProxy statement, int parameterIndex, - java.io.InputStream x) throws SQLException; + void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) + throws SQLException; - public void preparedStatement_setCharacterStream(PreparedStatementProxy statement, int parameterIndex, - java.io.Reader reader) throws SQLException; - - public void preparedStatement_setNCharacterStream(PreparedStatementProxy statement, int parameterIndex, Reader value) - throws SQLException; - - public void preparedStatement_setClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException; - - public void preparedStatement_setBlob(PreparedStatementProxy statement, int parameterIndex, InputStream inputStream) - throws SQLException; - - public void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) - throws SQLException; + void preparedStatement_setNClob(PreparedStatementProxy statement, int parameterIndex, Reader reader) + throws SQLException; // ///////////////////////////// - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) + void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType) + throws SQLException; + + void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, + int scale) throws SQLException; + + boolean callableStatement_wasNull(CallableStatementProxy statement) throws SQLException; + + String callableStatement_getString(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + byte callableStatement_getByte(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + short callableStatement_getShort(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + int callableStatement_getInt(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + long callableStatement_getLong(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + float callableStatement_getFloat(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + double callableStatement_getDouble(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) + throws SQLException; + + byte[] callableStatement_getBytes(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) + throws SQLException; + + Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) + throws SQLException; + + Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, + java.util.Map> map) throws SQLException; + + Ref callableStatement_getRef(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + Blob callableStatement_getBlob(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + Clob callableStatement_getClob(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + Array callableStatement_getArray(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) + throws SQLException; + + java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) + throws SQLException; + + java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException; - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, int scale) throws SQLException; + void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, int sqlType, + String typeName) throws SQLException; - public boolean callableStatement_wasNull(CallableStatementProxy statement) throws SQLException; + void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType) + throws SQLException; - public String callableStatement_getString(CallableStatementProxy statement, int parameterIndex) throws SQLException; + void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, + int scale) throws SQLException; - public boolean callableStatement_getBoolean(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, int sqlType, + String typeName) throws SQLException; - public byte callableStatement_getByte(CallableStatementProxy statement, int parameterIndex) throws SQLException; + java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public short callableStatement_getShort(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public int callableStatement_getInt(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public long callableStatement_getLong(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public float callableStatement_getFloat(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public double callableStatement_getDouble(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex, int scale) - throws SQLException; - - public byte[] callableStatement_getBytes(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex) - throws SQLException; - - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) - throws SQLException; - - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) - throws SQLException; - - public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, int parameterIndex) + void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) throws SQLException; - public Object callableStatement_getObject(CallableStatementProxy statement, int parameterIndex, - java.util.Map> map) throws SQLException; + void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) + throws SQLException; - public Ref callableStatement_getRef(CallableStatementProxy statement, int parameterIndex) throws SQLException; + void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) + throws SQLException; - public Blob callableStatement_getBlob(CallableStatementProxy statement, int parameterIndex) throws SQLException; + void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) throws SQLException; - public Clob callableStatement_getClob(CallableStatementProxy statement, int parameterIndex) throws SQLException; + void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) + throws SQLException; - public Array callableStatement_getArray(CallableStatementProxy statement, int parameterIndex) throws SQLException; + void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) throws SQLException; - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException; + void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) throws SQLException; - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) - throws SQLException; + void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) + throws SQLException; - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, - Calendar cal) throws SQLException; - - public void callableStatement_registerOutParameter(CallableStatementProxy statement, int parameterIndex, - int sqlType, String typeName) throws SQLException; - - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType) throws SQLException; - - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, int scale) throws SQLException; - - public void callableStatement_registerOutParameter(CallableStatementProxy statement, String parameterName, - int sqlType, String typeName) throws SQLException; - - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, int parameterIndex) + void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) throws SQLException; - public void callableStatement_setURL(CallableStatementProxy statement, String parameterName, java.net.URL val) - throws SQLException; - - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType) + void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) throws SQLException; - public void callableStatement_setBoolean(CallableStatementProxy statement, String parameterName, boolean x) - throws SQLException; - - public void callableStatement_setByte(CallableStatementProxy statement, String parameterName, byte x) - throws SQLException; - - public void callableStatement_setShort(CallableStatementProxy statement, String parameterName, short x) - throws SQLException; - - public void callableStatement_setInt(CallableStatementProxy statement, String parameterName, int x) - throws SQLException; - - public void callableStatement_setLong(CallableStatementProxy statement, String parameterName, long x) - throws SQLException; - - public void callableStatement_setFloat(CallableStatementProxy statement, String parameterName, float x) - throws SQLException; - - public void callableStatement_setDouble(CallableStatementProxy statement, String parameterName, double x) - throws SQLException; - - public void callableStatement_setBigDecimal(CallableStatementProxy statement, String parameterName, BigDecimal x) - throws SQLException; - - public void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) - throws SQLException; - - public void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) - throws SQLException; - - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) - throws SQLException; - - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) - throws SQLException; - - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x) throws SQLException; - - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; - - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, int length) throws SQLException; - - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType, int scale) throws SQLException; - - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, - int targetSqlType) throws SQLException; - - public void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) - throws SQLException; - - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, int length) throws SQLException; - - public void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, - Calendar cal) throws SQLException; - - public void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, - Calendar cal) throws SQLException; - - public void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, - java.sql.Timestamp x, Calendar cal) throws SQLException; - - public void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, - String typeName) throws SQLException; - - public String callableStatement_getString(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public byte callableStatement_getByte(CallableStatementProxy statement, String parameterName) throws SQLException; - - public short callableStatement_getShort(CallableStatementProxy statement, String parameterName) throws SQLException; - - public int callableStatement_getInt(CallableStatementProxy statement, String parameterName) throws SQLException; - - public long callableStatement_getLong(CallableStatementProxy statement, String parameterName) throws SQLException; - - public float callableStatement_getFloat(CallableStatementProxy statement, String parameterName) throws SQLException; - - public double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, - java.util.Map> map) throws SQLException; - - public Ref callableStatement_getRef(CallableStatementProxy statement, String parameterName) throws SQLException; - - public Blob callableStatement_getBlob(CallableStatementProxy statement, String parameterName) throws SQLException; - - public Clob callableStatement_getClob(CallableStatementProxy statement, String parameterName) throws SQLException; - - public Array callableStatement_getArray(CallableStatementProxy statement, String parameterName) throws SQLException; - - public java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException; - - public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) - throws SQLException; - - public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, - Calendar cal) throws SQLException; - - public java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public RowId callableStatement_getRowId(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public RowId callableStatement_getRowId(CallableStatementProxy statement, String parameterName) throws SQLException; - - public void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) - throws SQLException; - - public void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) - throws SQLException; - - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value, long length) throws SQLException; - - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) - throws SQLException; - - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException; - - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream, long length) throws SQLException; - - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, - long length) throws SQLException; - - public NClob callableStatement_getNClob(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public NClob callableStatement_getNClob(CallableStatementProxy statement, String parameterName) throws SQLException; - - public void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) - throws SQLException; - - public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, int parameterIndex) throws SQLException; - - public SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) - throws SQLException; - - public String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) - throws SQLException; - - public String callableStatement_getNString(CallableStatementProxy statement, String parameterName) + void callableStatement_setString(CallableStatementProxy statement, String parameterName, String x) throws SQLException; - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) + void callableStatement_setBytes(CallableStatementProxy statement, String parameterName, byte x[]) + throws SQLException; + + void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x) + throws SQLException; + + void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x) + throws SQLException; + + void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x) throws SQLException; - public java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException; + void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, + java.io.InputStream x, int length) throws SQLException; - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) - throws SQLException; + void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, + java.io.InputStream x, int length) throws SQLException; - public java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) - throws SQLException; + void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, + int targetSqlType, int scale) throws SQLException; - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) - throws SQLException; + void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x, int targetSqlType) + throws SQLException; - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) - throws SQLException; + void callableStatement_setObject(CallableStatementProxy statement, String parameterName, Object x) + throws SQLException; - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, + java.io.Reader reader, int length) throws SQLException; - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x, long length) throws SQLException; + void callableStatement_setDate(CallableStatementProxy statement, String parameterName, java.sql.Date x, Calendar cal) + throws SQLException; - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader, long length) throws SQLException; + void callableStatement_setTime(CallableStatementProxy statement, String parameterName, java.sql.Time x, Calendar cal) + throws SQLException; - public void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + void callableStatement_setTimestamp(CallableStatementProxy statement, String parameterName, java.sql.Timestamp x, + Calendar cal) throws SQLException; - public void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, - java.io.InputStream x) throws SQLException; + void callableStatement_setNull(CallableStatementProxy statement, String parameterName, int sqlType, String typeName) + throws SQLException; - public void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, - java.io.Reader reader) throws SQLException; + String callableStatement_getString(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, - Reader value) throws SQLException; + boolean callableStatement_getBoolean(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) - throws SQLException; + byte callableStatement_getByte(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, - InputStream inputStream) throws SQLException; + short callableStatement_getShort(CallableStatementProxy statement, String parameterName) throws SQLException; - public void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) + int callableStatement_getInt(CallableStatementProxy statement, String parameterName) throws SQLException; + + long callableStatement_getLong(CallableStatementProxy statement, String parameterName) throws SQLException; + + float callableStatement_getFloat(CallableStatementProxy statement, String parameterName) throws SQLException; + + double callableStatement_getDouble(CallableStatementProxy statement, String parameterName) throws SQLException; + + byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) throws SQLException; + + java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName) throws SQLException; + + java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) throws SQLException; + + java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) + throws SQLException; + + Object callableStatement_getObject(CallableStatementProxy statement, String parameterName) throws SQLException; + + BigDecimal callableStatement_getBigDecimal(CallableStatementProxy statement, String parameterName) + throws SQLException; + + Object callableStatement_getObject(CallableStatementProxy statement, String parameterName, + java.util.Map> map) throws SQLException; + + Ref callableStatement_getRef(CallableStatementProxy statement, String parameterName) throws SQLException; + + Blob callableStatement_getBlob(CallableStatementProxy statement, String parameterName) throws SQLException; + + Clob callableStatement_getClob(CallableStatementProxy statement, String parameterName) throws SQLException; + + Array callableStatement_getArray(CallableStatementProxy statement, String parameterName) throws SQLException; + + java.sql.Date callableStatement_getDate(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException; - public void clob_free(ClobProxy wrapper) throws SQLException; + java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) + throws SQLException; - public InputStream clob_getAsciiStream(ClobProxy wrapper) throws SQLException; + java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, + Calendar cal) throws SQLException; - public Reader clob_getCharacterStream(ClobProxy wrapper) throws SQLException; + java.net.URL callableStatement_getURL(CallableStatementProxy statement, String parameterName) throws SQLException; - public Reader clob_getCharacterStream(ClobProxy wrapper, long pos, long length) throws SQLException; + RowId callableStatement_getRowId(CallableStatementProxy statement, int parameterIndex) throws SQLException; - public String clob_getSubString(ClobProxy wrapper, long pos, int length) throws SQLException; + RowId callableStatement_getRowId(CallableStatementProxy statement, String parameterName) throws SQLException; - public long clob_length(ClobProxy wrapper) throws SQLException; + void callableStatement_setRowId(CallableStatementProxy statement, String parameterName, RowId x) + throws SQLException; - public long clob_position(ClobProxy wrapper, String searchstr, long start) throws SQLException; + void callableStatement_setNString(CallableStatementProxy statement, String parameterName, String value) + throws SQLException; - public long clob_position(ClobProxy wrapper, Clob searchstr, long start) throws SQLException; + void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value, + long length) throws SQLException; - public OutputStream clob_setAsciiStream(ClobProxy wrapper, long pos) throws SQLException; + void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, NClob value) + throws SQLException; - public Writer clob_setCharacterStream(ClobProxy wrapper, long pos) throws SQLException; + void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) + throws SQLException; - public int clob_setString(ClobProxy wrapper, long pos, String str) throws SQLException; + void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream, + long length) throws SQLException; - public int clob_setString(ClobProxy wrapper, long pos, String str, int offset, int len) throws SQLException; + void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader, long length) + throws SQLException; - public void clob_truncate(ClobProxy wrapper, long len) throws SQLException; + NClob callableStatement_getNClob(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + NClob callableStatement_getNClob(CallableStatementProxy statement, String parameterName) throws SQLException; + + void callableStatement_setSQLXML(CallableStatementProxy statement, String parameterName, SQLXML xmlObject) + throws SQLException; + + SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + SQLXML callableStatement_getSQLXML(CallableStatementProxy statement, String parameterName) throws SQLException; + + String callableStatement_getNString(CallableStatementProxy statement, int parameterIndex) throws SQLException; + + String callableStatement_getNString(CallableStatementProxy statement, String parameterName) throws SQLException; + + java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, int parameterIndex) + throws SQLException; + + java.io.Reader callableStatement_getNCharacterStream(CallableStatementProxy statement, String parameterName) + throws SQLException; + + java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, int parameterIndex) + throws SQLException; + + java.io.Reader callableStatement_getCharacterStream(CallableStatementProxy statement, String parameterName) + throws SQLException; + + void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, Blob x) throws SQLException; + + void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Clob x) throws SQLException; + + void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, + java.io.InputStream x, long length) throws SQLException; + + void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, + java.io.InputStream x, long length) throws SQLException; + + void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, + java.io.Reader reader, long length) throws SQLException; + + void callableStatement_setAsciiStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) + throws SQLException; + + void callableStatement_setBinaryStream(CallableStatementProxy statement, String parameterName, java.io.InputStream x) + throws SQLException; + + void callableStatement_setCharacterStream(CallableStatementProxy statement, String parameterName, + java.io.Reader reader) throws SQLException; + + void callableStatement_setNCharacterStream(CallableStatementProxy statement, String parameterName, Reader value) + throws SQLException; + + void callableStatement_setClob(CallableStatementProxy statement, String parameterName, Reader reader) + throws SQLException; + + void callableStatement_setBlob(CallableStatementProxy statement, String parameterName, InputStream inputStream) + throws SQLException; + + void callableStatement_setNClob(CallableStatementProxy statement, String parameterName, Reader reader) + throws SQLException; + + void clob_free(ClobProxy wrapper) throws SQLException; + + InputStream clob_getAsciiStream(ClobProxy wrapper) throws SQLException; + + Reader clob_getCharacterStream(ClobProxy wrapper) throws SQLException; + + Reader clob_getCharacterStream(ClobProxy wrapper, long pos, long length) throws SQLException; + + String clob_getSubString(ClobProxy wrapper, long pos, int length) throws SQLException; + + long clob_length(ClobProxy wrapper) throws SQLException; + + long clob_position(ClobProxy wrapper, String searchstr, long start) throws SQLException; + + long clob_position(ClobProxy wrapper, Clob searchstr, long start) throws SQLException; + + OutputStream clob_setAsciiStream(ClobProxy wrapper, long pos) throws SQLException; + + Writer clob_setCharacterStream(ClobProxy wrapper, long pos) throws SQLException; + + int clob_setString(ClobProxy wrapper, long pos, String str) throws SQLException; + + int clob_setString(ClobProxy wrapper, long pos, String str, int offset, int len) throws SQLException; + + void clob_truncate(ClobProxy wrapper, long len) throws SQLException; // //// diff --git a/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlStatementParser.java b/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlStatementParser.java index 0dfa5e0e51..61a8c6dff2 100644 --- a/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlStatementParser.java +++ b/src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlStatementParser.java @@ -130,33 +130,33 @@ import com.alibaba.druid.sql.parser.Token; public class MySqlStatementParser extends SQLStatementParser { public MySqlStatementParser(String sql) throws ParserException{ - super (new MySqlExprParser(sql)); + super(new MySqlExprParser(sql)); } public MySqlStatementParser(Lexer lexer){ super(new MySqlExprParser(lexer)); } - public SQLCreateTableStatement parseCreateTable() throws ParserException { + public SQLCreateTableStatement parseCreateTable() { MySqlCreateTableParser parser = new MySqlCreateTableParser(this.exprParser); return parser.parseCrateTable(); } - public SQLSelectStatement parseSelect() throws ParserException { + public SQLSelectStatement parseSelect() { return new SQLSelectStatement(new MySqlSelectParser(this.exprParser).select()); } - public SQLUpdateStatement parseUpdateStatement() throws ParserException { + public SQLUpdateStatement parseUpdateStatement() { MySqlUpdateStatement stmt = createUpdateStatement(); if (lexer.token() == Token.UPDATE) { lexer.nextToken(); - + if (identifierEquals("LOW_PRIORITY")) { lexer.nextToken(); stmt.setLowPriority(true); } - + if (identifierEquals("IGNORE")) { lexer.nextToken(); stmt.setIgnore(true); @@ -192,7 +192,7 @@ public class MySqlStatementParser extends SQLStatementParser { lexer.nextToken(); stmt.setWhere(this.exprParser.expr()); } - + stmt.setOrderBy(this.exprParser.parseOrderBy()); stmt.setLimit(parseLimit()); @@ -204,7 +204,7 @@ public class MySqlStatementParser extends SQLStatementParser { return new MySqlUpdateStatement(); } - public MySqlDeleteStatement parseDeleteStatement() throws ParserException { + public MySqlDeleteStatement parseDeleteStatement() { MySqlDeleteStatement deleteStatement = new MySqlDeleteStatement(); if (lexer.token() == Token.DELETE) { @@ -264,18 +264,18 @@ public class MySqlStatementParser extends SQLStatementParser { return deleteStatement; } - public SQLStatement parseCreate() throws ParserException { + public SQLStatement parseCreate() { accept(Token.CREATE); List hints = this.exprParser.parseHints(); - + if (lexer.token() == Token.TABLE || identifierEquals("TEMPORARY")) { MySqlCreateTableParser parser = new MySqlCreateTableParser(this.exprParser); MySqlCreateTableStatement stmt = parser.parseCrateTable(false); stmt.setHints(hints); return stmt; } - + if (lexer.token() == Token.DATABASE) { return parseCreateDatabase(); } @@ -292,7 +292,7 @@ public class MySqlStatementParser extends SQLStatementParser { throw new ParserException("TODO " + lexer.token()); } - public SQLStatement parseCreateIndex() throws ParserException { + public SQLStatement parseCreateIndex() { MySqlCreateIndexStatement stmt = new MySqlCreateIndexStatement(); if (lexer.token() == Token.UNIQUE) { @@ -350,7 +350,7 @@ public class MySqlStatementParser extends SQLStatementParser { } } - public SQLStatement parseCreateUser() throws ParserException { + public SQLStatement parseCreateUser() { if (lexer.token() == Token.CREATE) { lexer.nextToken(); } @@ -510,7 +510,7 @@ public class MySqlStatementParser extends SQLStatementParser { statementList.add(stmt); return true; } - + if (identifierEquals("HELP")) { lexer.nextToken(); MySqlHelpStatement stmt = new MySqlHelpStatement(); @@ -524,14 +524,14 @@ public class MySqlStatementParser extends SQLStatementParser { statementList.add(stmt); return true; } - + if (lexer.token() == Token.LOCK) { lexer.nextToken(); acceptIdentifier("TABLES"); - + MySqlLockTableStatement stmt = new MySqlLockTableStatement(); stmt.setTableSource(this.exprParser.name()); - + if (identifierEquals("READ")) { lexer.nextToken(); if (identifierEquals("LOCAL")) { @@ -547,11 +547,11 @@ public class MySqlStatementParser extends SQLStatementParser { acceptIdentifier("WRITE"); stmt.setLockType(LockType.LOW_PRIORITY_WRITE); } - + statementList.add(stmt); return true; } - + if (identifierEquals("UNLOCK")) { lexer.nextToken(); acceptIdentifier("TABLES"); @@ -562,7 +562,7 @@ public class MySqlStatementParser extends SQLStatementParser { return false; } - public MySqlDescribeStatement parseDescribe() throws ParserException { + public MySqlDescribeStatement parseDescribe() { if (lexer.token() == Token.DESC || identifierEquals("DESCRIBE")) { lexer.nextToken(); } else { @@ -575,7 +575,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - public SQLStatement parseShow() throws ParserException { + public SQLStatement parseShow() { acceptIdentifier("SHOW"); if (lexer.token() == Token.FULL) { @@ -1235,7 +1235,7 @@ public class MySqlStatementParser extends SQLStatementParser { throw new ParserException("TODO " + lexer.stringVal()); } - private MySqlShowStatusStatement parseShowStatus() throws ParserException { + private MySqlShowStatusStatement parseShowStatus() { MySqlShowStatusStatement stmt = new MySqlShowStatusStatement(); if (lexer.token() == Token.LIKE) { @@ -1253,7 +1253,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - private MySqlShowVariantsStatement parseShowVariants() throws ParserException { + private MySqlShowVariantsStatement parseShowVariants() { MySqlShowVariantsStatement stmt = new MySqlShowVariantsStatement(); if (lexer.token() == Token.LIKE) { @@ -1271,7 +1271,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - private MySqlShowWarningsStatement parseShowWarnings() throws ParserException { + private MySqlShowWarningsStatement parseShowWarnings() { MySqlShowWarningsStatement stmt = new MySqlShowWarningsStatement(); stmt.setLimit(parseLimit()); @@ -1279,7 +1279,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - private MySqlShowDatabasesStatement parseShowDatabases() throws ParserException { + private MySqlShowDatabasesStatement parseShowDatabases() { MySqlShowDatabasesStatement stmt = new MySqlShowDatabasesStatement(); if (lexer.token() == Token.LIKE) { @@ -1297,7 +1297,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - private MySqlShowTablesStatement parseShowTabless() throws ParserException { + private MySqlShowTablesStatement parseShowTabless() { MySqlShowTablesStatement stmt = new MySqlShowTablesStatement(); if (lexer.token() == Token.FROM) { @@ -1321,7 +1321,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - private MySqlShowColumnsStatement parseShowColumns() throws ParserException { + private MySqlShowColumnsStatement parseShowColumns() { MySqlShowColumnsStatement stmt = new MySqlShowColumnsStatement(); if (lexer.token() == Token.FROM) { @@ -1351,7 +1351,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - public MySqlStartTransactionStatement parseStart() throws ParserException { + public MySqlStartTransactionStatement parseStart() { acceptIdentifier("START"); acceptIdentifier("TRANSACTION"); @@ -1397,21 +1397,21 @@ public class MySqlStatementParser extends SQLStatementParser { stmt.setChain(Boolean.TRUE); } } - + if (identifierEquals("TO")) { lexer.nextToken(); - + if (identifierEquals("SAVEPOINT")) { lexer.nextToken(); } - + stmt.setTo(this.exprParser.name()); } return stmt; } - public MySqlCommitStatement parseCommit() throws ParserException { + public MySqlCommitStatement parseCommit() { acceptIdentifier("COMMIT"); MySqlCommitStatement stmt = new MySqlCommitStatement(); @@ -1436,7 +1436,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - public MySqlReplaceStatement parseReplicate() throws ParserException { + public MySqlReplaceStatement parseReplicate() { MySqlReplaceStatement stmt = new MySqlReplaceStatement(); acceptIdentifier("REPLACE"); @@ -1520,7 +1520,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - protected SQLStatement parseLoad() throws ParserException { + protected SQLStatement parseLoad() { acceptIdentifier("LOAD"); if (identifierEquals("DATA")) { @@ -1536,7 +1536,7 @@ public class MySqlStatementParser extends SQLStatementParser { throw new ParserException("TODO"); } - protected MySqlLoadXmlStatement parseLoadXml() throws ParserException { + protected MySqlLoadXmlStatement parseLoadXml() { acceptIdentifier("XML"); MySqlLoadXmlStatement stmt = new MySqlLoadXmlStatement(); @@ -1609,7 +1609,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - protected MySqlLoadDataInFileStatement parseLoadDataInFile() throws ParserException { + protected MySqlLoadDataInFileStatement parseLoadDataInFile() { acceptIdentifier("DATA"); MySqlLoadDataInFileStatement stmt = new MySqlLoadDataInFileStatement(); @@ -1682,7 +1682,7 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - public MySqlPrepareStatement parsePrepare() throws ParserException { + public MySqlPrepareStatement parsePrepare() { acceptIdentifier("PREPARE"); SQLName name = exprParser.name(); @@ -1692,7 +1692,7 @@ public class MySqlStatementParser extends SQLStatementParser { return new MySqlPrepareStatement(name, from); } - public MySqlExecuteStatement parseExecute() throws ParserException { + public MySqlExecuteStatement parseExecute() { acceptIdentifier("EXECUTE"); MySqlExecuteStatement stmt = new MySqlExecuteStatement(); @@ -1825,7 +1825,7 @@ public class MySqlStatementParser extends SQLStatementParser { return insertStatement; } - public SQLStatement parseDropUser() throws ParserException { + public SQLStatement parseDropUser() { acceptIdentifier("USER"); MySqlDropUser stmt = new MySqlDropUser(); @@ -1923,7 +1923,7 @@ public class MySqlStatementParser extends SQLStatementParser { return new MySqlSelectParser(this.exprParser); } - public SQLStatement parseSet() throws ParserException { + public SQLStatement parseSet() { accept(Token.SET); Boolean global = null; @@ -2071,14 +2071,14 @@ public class MySqlStatementParser extends SQLStatementParser { } else if (lexer.token() == Token.INDEX) { lexer.nextToken(); MySqlAlterTableAddIndex item = new MySqlAlterTableAddIndex(); - + if (lexer.token() == Token.LPAREN) { lexer.nextToken(); } else { item.setName(this.exprParser.name()); accept(Token.LPAREN); } - + for (;;) { SQLSelectOrderByItem column = this.exprParser.parseSelectOrderByItem(); item.getItems().add(column); @@ -2094,14 +2094,14 @@ public class MySqlStatementParser extends SQLStatementParser { } else if (lexer.token() == Token.UNIQUE) { lexer.nextToken(); MySqlAlterTableAddUnique item = new MySqlAlterTableAddUnique(); - + if (lexer.token() == Token.LPAREN) { lexer.nextToken(); } else { item.setName(this.exprParser.name()); accept(Token.LPAREN); } - + for (;;) { SQLSelectOrderByItem column = this.exprParser.parseSelectOrderByItem(); item.getItems().add(column); @@ -2171,7 +2171,7 @@ public class MySqlStatementParser extends SQLStatementParser { item.setName(stmt.getTableSource().getExpr()); item.setTo(this.exprParser.name()); renameStmt.getItems().add(item); - + return renameStmt; } else if (lexer.token() == Token.ORDER) { throw new ParserException("TODO " + lexer.token() + " " + lexer.stringVal()); @@ -2243,7 +2243,7 @@ public class MySqlStatementParser extends SQLStatementParser { } else { break; } - + if (lexer.token() == Token.COMMA) { lexer.nextToken(); continue; @@ -2282,21 +2282,21 @@ public class MySqlStatementParser extends SQLStatementParser { return stmt; } - + public SQLStatement parseCreateDatabase() { if (lexer.token() == Token.CREATE) { lexer.nextToken(); } - + accept(Token.DATABASE); - + SQLCreateDatabaseStatement stmt = new SQLCreateDatabaseStatement(); stmt.setName(this.exprParser.name()); - + if (lexer.token() == Token.DEFAULT) { lexer.nextToken(); } - + return stmt; } } diff --git a/src/main/java/com/alibaba/druid/sql/parser/SQLExprParser.java b/src/main/java/com/alibaba/druid/sql/parser/SQLExprParser.java index db84ba1050..ef49efdd07 100644 --- a/src/main/java/com/alibaba/druid/sql/parser/SQLExprParser.java +++ b/src/main/java/com/alibaba/druid/sql/parser/SQLExprParser.java @@ -67,7 +67,7 @@ import com.alibaba.druid.sql.ast.statement.SQLSelectOrderByItem; public class SQLExprParser extends SQLParser { - public SQLExprParser(String sql) throws ParserException{ + public SQLExprParser(String sql){ super(sql); } @@ -75,7 +75,7 @@ public class SQLExprParser extends SQLParser { super(lexer); } - public SQLExpr expr() throws ParserException { + public SQLExpr expr() { if (lexer.token() == Token.STAR) { lexer.nextToken(); @@ -91,7 +91,7 @@ public class SQLExprParser extends SQLParser { return exprRest(expr); } - public SQLExpr exprRest(SQLExpr expr) throws ParserException { + public SQLExpr exprRest(SQLExpr expr) { expr = bitXorRest(expr); expr = multiplicativeRest(expr); expr = additiveRest(expr); @@ -107,12 +107,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr bitXor() throws ParserException { + public final SQLExpr bitXor() { SQLExpr expr = primary(); return bitXorRest(expr); } - public SQLExpr bitXorRest(SQLExpr expr) throws ParserException { + public SQLExpr bitXorRest(SQLExpr expr) { if (lexer.token() == Token.CARET) { lexer.nextToken(); SQLExpr rightExp = primary(); @@ -123,12 +123,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr multiplicative() throws ParserException { + public final SQLExpr multiplicative() { SQLExpr expr = primary(); return multiplicativeRest(expr); } - public SQLExpr multiplicativeRest(SQLExpr expr) throws ParserException { + public SQLExpr multiplicativeRest(SQLExpr expr) { if (lexer.token() == Token.STAR) { lexer.nextToken(); SQLExpr rightExp = bitXor(); @@ -148,7 +148,7 @@ public class SQLExprParser extends SQLParser { return expr; } - public SQLExpr primary() throws ParserException { + public SQLExpr primary() { SQLExpr sqlExpr = null; final Token tok = lexer.token(); @@ -458,7 +458,7 @@ public class SQLExprParser extends SQLParser { return new SQLSelectParser(this); } - public SQLExpr primaryRest(SQLExpr expr) throws ParserException { + public SQLExpr primaryRest(SQLExpr expr) { if (expr == null) { throw new IllegalArgumentException("expr"); } @@ -573,11 +573,11 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr groupComparisionRest(SQLExpr expr) throws ParserException { + public final SQLExpr groupComparisionRest(SQLExpr expr) { return expr; } - public final void names(Collection exprCol) throws ParserException { + public final void names(Collection exprCol) { if (lexer.token() == Token.RBRACE) { return; } @@ -594,7 +594,7 @@ public class SQLExprParser extends SQLParser { } } - public final void exprList(Collection exprCol) throws ParserException { + public final void exprList(Collection exprCol) { if (lexer.token() == Token.RPAREN || lexer.token() == Token.RBRACKET) { return; } @@ -613,7 +613,7 @@ public class SQLExprParser extends SQLParser { } } - public SQLName name() throws ParserException { + public SQLName name() { String identName; if (lexer.token() == Token.LITERAL_ALIAS) { identName = '"' + lexer.stringVal() + '"'; @@ -636,7 +636,7 @@ public class SQLExprParser extends SQLParser { return name; } - public SQLName nameRest(SQLName name) throws ParserException { + public SQLName nameRest(SQLName name) { if (lexer.token() == Token.DOT) { lexer.nextToken(); @@ -675,7 +675,7 @@ public class SQLExprParser extends SQLParser { return false; } - protected SQLAggregateExpr parseAggregateExpr(String methodName) throws ParserException { + protected SQLAggregateExpr parseAggregateExpr(String methodName) { methodName = methodName.toUpperCase(); SQLAggregateExpr aggregateExpr; @@ -696,7 +696,7 @@ public class SQLExprParser extends SQLParser { return aggregateExpr; } - public SQLOrderBy parseOrderBy() throws ParserException { + public SQLOrderBy parseOrderBy() { if (lexer.token() == Token.ORDER) { SQLOrderBy orderBy = new SQLOrderBy(); @@ -717,7 +717,7 @@ public class SQLExprParser extends SQLParser { return null; } - public SQLSelectOrderByItem parseSelectOrderByItem() throws ParserException { + public SQLSelectOrderByItem parseSelectOrderByItem() { SQLSelectOrderByItem item = new SQLSelectOrderByItem(); item.setExpr(expr()); @@ -733,12 +733,12 @@ public class SQLExprParser extends SQLParser { return item; } - public final SQLExpr bitAnd() throws ParserException { + public final SQLExpr bitAnd() { SQLExpr expr = shift(); return bitAndRest(expr); } - public final SQLExpr bitAndRest(SQLExpr expr) throws ParserException { + public final SQLExpr bitAndRest(SQLExpr expr) { while (lexer.token() == Token.AMP) { lexer.nextToken(); SQLExpr rightExp = shift(); @@ -747,12 +747,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr bitOr() throws ParserException { + public final SQLExpr bitOr() { SQLExpr expr = bitAnd(); return bitOrRest(expr); } - public final SQLExpr bitOrRest(SQLExpr expr) throws ParserException { + public final SQLExpr bitOrRest(SQLExpr expr) { if (lexer.token() == Token.BAR) { lexer.nextToken(); SQLExpr rightExp = bitAnd(); @@ -767,12 +767,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr equality() throws ParserException { + public final SQLExpr equality() { SQLExpr expr = shift(); return equalityRest(expr); } - public SQLExpr equalityRest(SQLExpr expr) throws ParserException { + public SQLExpr equalityRest(SQLExpr expr) { SQLExpr rightExp; if (lexer.token() == Token.EQ) { lexer.nextToken(); @@ -797,7 +797,7 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr inRest(SQLExpr expr) throws ParserException { + public final SQLExpr inRest(SQLExpr expr) { if (lexer.token() == Token.IN) { lexer.nextToken(); accept(Token.LPAREN); @@ -823,12 +823,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr additive() throws ParserException { + public final SQLExpr additive() { SQLExpr expr = multiplicative(); return additiveRest(expr); } - public SQLExpr additiveRest(SQLExpr expr) throws ParserException { + public SQLExpr additiveRest(SQLExpr expr) { if (lexer.token() == Token.PLUS) { lexer.nextToken(); SQLExpr rightExp = multiplicative(); @@ -851,12 +851,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public final SQLExpr shift() throws ParserException { + public final SQLExpr shift() { SQLExpr expr = additive(); return shiftRest(expr); } - public SQLExpr shiftRest(SQLExpr expr) throws ParserException { + public SQLExpr shiftRest(SQLExpr expr) { if (lexer.token() == Token.LTLT) { lexer.nextToken(); SQLExpr rightExp = additive(); @@ -874,12 +874,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public SQLExpr and() throws ParserException { + public SQLExpr and() { SQLExpr expr = relational(); return andRest(expr); } - public SQLExpr andRest(SQLExpr expr) throws ParserException { + public SQLExpr andRest(SQLExpr expr) { for (;;) { if (lexer.token() == Token.AND || lexer.token() == Token.AMPAMP) { lexer.nextToken(); @@ -894,12 +894,12 @@ public class SQLExprParser extends SQLParser { return expr; } - public SQLExpr or() throws ParserException { + public SQLExpr or() { SQLExpr expr = and(); return orRest(expr); } - public SQLExpr orRest(SQLExpr expr) throws ParserException { + public SQLExpr orRest(SQLExpr expr) { for (;;) { if (lexer.token() == Token.OR) { @@ -920,24 +920,24 @@ public class SQLExprParser extends SQLParser { return expr; } - public SQLExpr relational() throws ParserException { + public SQLExpr relational() { SQLExpr expr = equality(); return relationalRest(expr); } - public SQLExpr relationalRest(SQLExpr expr) throws ParserException { + public SQLExpr relationalRest(SQLExpr expr) { SQLExpr rightExp; if (lexer.token() == Token.LT) { SQLBinaryOperator op = SQLBinaryOperator.LessThan; - + lexer.nextToken(); if (lexer.token() == Token.EQ) { lexer.nextToken(); op = SQLBinaryOperator.LessThanOrEqual; } - + rightExp = bitOr(); expr = new SQLBinaryOpExpr(expr, op, rightExp); // expr = relationalRest(expr); @@ -1086,7 +1086,7 @@ public class SQLExprParser extends SQLParser { return expr; } - public SQLDataType parseDataType() throws ParserException { + public SQLDataType parseDataType() { if (lexer.token() == Token.DEFAULT || lexer.token() == Token.NOT || lexer.token() == Token.NULL) { return null; diff --git a/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java b/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java index b24d5e56d9..13e2c0594c 100644 --- a/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java +++ b/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java @@ -19,9 +19,7 @@ import java.util.AbstractCollection; import java.util.AbstractMap; import java.util.AbstractSet; import java.util.Collection; -import java.util.ConcurrentModificationException; import java.util.Enumeration; -import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.NoSuchElementException; @@ -809,16 +807,6 @@ public class ConcurrentIdentityHashMap extends AbstractMap implement return found; } - /** - * Legacy method testing if some key maps into the specified value in this table. This method is identical in - * functionality to {@link #containsValue}, and exists solely to ensure full compatibility with class - * {@link Hashtable}, which supported this method prior to introduction of the Java Collections framework. - * - * @param value a value to search for - * @return true if and only if some key maps to the value argument in this table as determined by - * the equals method; false otherwise - * @throws NullPointerException if the specified value is null - */ public boolean contains(Object value) { return containsValue(value); } @@ -937,51 +925,18 @@ public class ConcurrentIdentityHashMap extends AbstractMap implement } } - /** - * Returns a {@link Set} view of the keys contained in this map. The set is backed by the map, so changes to the map - * are reflected in the set, and vice-versa. The set supports element removal, which removes the corresponding - * mapping from this map, via the Iterator.remove, Set.remove, removeAll, - * retainAll, and clear operations. It does not support the add or addAll - * operations. - *

- * The view's iterator is a "weakly consistent" iterator that will never throw - * {@link ConcurrentModificationException}, and guarantees to traverse elements as they existed upon construction of - * the iterator, and may (but is not guaranteed to) reflect any modifications subsequent to construction. - */ @Override public Set keySet() { Set ks = keySet; return ks != null ? ks : (keySet = new KeySet()); } - /** - * Returns a {@link Collection} view of the values contained in this map. The collection is backed by the map, so - * changes to the map are reflected in the collection, and vice-versa. The collection supports element removal, - * which removes the corresponding mapping from this map, via the Iterator.remove, - * Collection.remove, removeAll, retainAll, and clear operations. It does not - * support the add or addAll operations. - *

- * The view's iterator is a "weakly consistent" iterator that will never throw - * {@link ConcurrentModificationException}, and guarantees to traverse elements as they existed upon construction of - * the iterator, and may (but is not guaranteed to) reflect any modifications subsequent to construction. - */ @Override public Collection values() { Collection vs = values; return vs != null ? vs : (values = new Values()); } - /** - * Returns a {@link Set} view of the mappings contained in this map. The set is backed by the map, so changes to the - * map are reflected in the set, and vice-versa. The set supports element removal, which removes the corresponding - * mapping from the map, via the Iterator.remove, Set.remove, removeAll, - * retainAll, and clear operations. It does not support the add or addAll - * operations. - *

- * The view's iterator is a "weakly consistent" iterator that will never throw - * {@link ConcurrentModificationException}, and guarantees to traverse elements as they existed upon construction of - * the iterator, and may (but is not guaranteed to) reflect any modifications subsequent to construction. - */ @Override public Set> entrySet() { Set> es = entrySet;