
com.github.housepower.jdbc.wrapper.SQLResultSet Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.housepower.jdbc.wrapper;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.*;
import java.util.Calendar;
import java.util.Map;
public interface SQLResultSet extends ResultSet {
@Override
default boolean next() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void close() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean wasNull() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default String getString(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean getBoolean(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default byte getByte(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default short getShort(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getInt(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long getLong(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default float getFloat(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default double getDouble(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default byte[] getBytes(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Date getDate(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Time getTime(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Timestamp getTimestamp(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getAsciiStream(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getUnicodeStream(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getBinaryStream(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default String getString(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean getBoolean(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default byte getByte(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default short getShort(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getInt(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default long getLong(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default float getFloat(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default double getDouble(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default byte[] getBytes(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Date getDate(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Time getTime(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Timestamp getTimestamp(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getAsciiStream(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getUnicodeStream(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default InputStream getBinaryStream(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default SQLWarning getWarnings() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void clearWarnings() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default String getCursorName() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default ResultSetMetaData getMetaData() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Object getObject(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Object getObject(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int findColumn(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Reader getCharacterStream(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Reader getCharacterStream(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default BigDecimal getBigDecimal(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default BigDecimal getBigDecimal(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isBeforeFirst() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isAfterLast() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isFirst() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isLast() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void beforeFirst() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void afterLast() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean first() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean last() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean absolute(int row) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean relative(int rows) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean previous() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setFetchDirection(int direction) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getFetchDirection() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void setFetchSize(int rows) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getFetchSize() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getType() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getConcurrency() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean rowUpdated() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean rowInserted() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean rowDeleted() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNull(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBoolean(int columnIndex, boolean x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateByte(int columnIndex, byte x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateShort(int columnIndex, short x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateInt(int columnIndex, int x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateLong(int columnIndex, long x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateFloat(int columnIndex, float x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateDouble(int columnIndex, double x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateString(int columnIndex, String x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBytes(int columnIndex, byte[] x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateDate(int columnIndex, Date x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateTime(int columnIndex, Time x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateObject(int columnIndex, Object x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNull(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBoolean(String columnLabel, boolean x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateByte(String columnLabel, byte x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateShort(String columnLabel, short x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateInt(String columnLabel, int x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateLong(String columnLabel, long x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateFloat(String columnLabel, float x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateDouble(String columnLabel, double x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateString(String columnLabel, String x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBytes(String columnLabel, byte[] x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateDate(String columnLabel, Date x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateTime(String columnLabel, Time x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateTimestamp(String columnLabel, Timestamp x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateObject(String columnLabel, Object x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void insertRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void deleteRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void refreshRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void cancelRowUpdates() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void moveToInsertRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void moveToCurrentRow() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Statement getStatement() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Object getObject(int columnIndex, Map> map) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Ref getRef(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Blob getBlob(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Clob getClob(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Array getArray(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Object getObject(String columnLabel, Map> map) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Ref getRef(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Blob getBlob(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Clob getClob(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Array getArray(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Date getDate(int columnIndex, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Date getDate(String columnLabel, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Time getTime(int columnIndex, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Time getTime(String columnLabel, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default URL getURL(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default URL getURL(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateRef(int columnIndex, Ref x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateRef(String columnLabel, Ref x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(int columnIndex, Blob x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(String columnLabel, Blob x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(int columnIndex, Clob x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(String columnLabel, Clob x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateArray(int columnIndex, Array x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateArray(String columnLabel, Array x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default RowId getRowId(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default RowId getRowId(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateRowId(int columnIndex, RowId x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateRowId(String columnLabel, RowId x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default int getHoldability() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isClosed() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNString(int columnIndex, String nString) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNString(String columnLabel, String nString) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(int columnIndex, NClob nClob) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(String columnLabel, NClob nClob) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default NClob getNClob(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default NClob getNClob(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default SQLXML getSQLXML(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default SQLXML getSQLXML(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default String getNString(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default String getNString(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Reader getNCharacterStream(int columnIndex) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default Reader getNCharacterStream(String columnLabel) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(int columnIndex, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateClob(String columnLabel, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(int columnIndex, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default void updateNClob(String columnLabel, Reader reader) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default T getObject(int columnIndex, Class type) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default T getObject(String columnLabel, Class type) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default T unwrap(Class iface) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
default boolean isWrapperFor(Class> iface) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy