From 669f02f17c5f6354a0630c1532b19aad7682669c Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 29 Jul 2025 17:47:35 +0300 Subject: [PATCH] bindings/java: Throw UnsupportedOperationException for unimplemented methods --- .../java/tech/turso/jdbc4/JDBC4ResultSet.java | 478 +++++++----------- 1 file changed, 191 insertions(+), 287 deletions(-) diff --git a/bindings/java/src/main/java/tech/turso/jdbc4/JDBC4ResultSet.java b/bindings/java/src/main/java/tech/turso/jdbc4/JDBC4ResultSet.java index 85dee794d..c2cc31a0a 100644 --- a/bindings/java/src/main/java/tech/turso/jdbc4/JDBC4ResultSet.java +++ b/bindings/java/src/main/java/tech/turso/jdbc4/JDBC4ResultSet.java @@ -46,8 +46,7 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override public boolean wasNull() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -149,43 +148,37 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override @SkipNullableCheck public Date getDate(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Time getTime(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Timestamp getTimestamp(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getAsciiStream(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getUnicodeStream(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getBinaryStream(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -200,117 +193,100 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override public boolean getBoolean(String columnLabel) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public byte getByte(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public short getShort(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public int getInt(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public long getLong(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public float getFloat(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public double getDouble(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public byte[] getBytes(String columnLabel) throws SQLException { - // TODO - return new byte[0]; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Date getDate(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Time getTime(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Timestamp getTimestamp(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getAsciiStream(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getUnicodeStream(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public InputStream getBinaryStream(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public SQLWarning getWarnings() throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public void clearWarnings() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public String getCursorName() throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -326,28 +302,24 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override @SkipNullableCheck public Object getObject(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public int findColumn(String columnLabel) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Reader getCharacterStream(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Reader getCharacterStream(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -364,559 +336,520 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override @SkipNullableCheck public BigDecimal getBigDecimal(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isBeforeFirst() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isAfterLast() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isFirst() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isLast() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public void beforeFirst() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void afterLast() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public boolean first() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean last() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public int getRow() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean absolute(int row) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean relative(int rows) throws SQLException { - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean previous() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public void setFetchDirection(int direction) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public int getFetchDirection() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public void setFetchSize(int rows) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public int getFetchSize() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public int getType() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public int getConcurrency() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean rowUpdated() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean rowInserted() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean rowDeleted() throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNull(int columnIndex) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBoolean(int columnIndex, boolean x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateByte(int columnIndex, byte x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateShort(int columnIndex, short x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateInt(int columnIndex, int x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateLong(int columnIndex, long x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateFloat(int columnIndex, float x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateDouble(int columnIndex, double x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateString(int columnIndex, String x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBytes(int columnIndex, byte[] x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateDate(int columnIndex, Date x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateTime(int columnIndex, Time x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateObject(int columnIndex, Object x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNull(String columnLabel) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBoolean(String columnLabel, boolean x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateByte(String columnLabel, byte x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateShort(String columnLabel, short x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateInt(String columnLabel, int x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateLong(String columnLabel, long x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateFloat(String columnLabel, float x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateDouble(String columnLabel, double x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateString(String columnLabel, String x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBytes(String columnLabel, byte[] x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateDate(String columnLabel, Date x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateTime(String columnLabel, Time x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateObject(String columnLabel, Object x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void insertRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void deleteRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void refreshRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void cancelRowUpdates() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void moveToInsertRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void moveToCurrentRow() throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Statement getStatement() throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Object getObject(int columnIndex, Map> map) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Ref getRef(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Blob getBlob(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Clob getClob(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Array getArray(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Object getObject(String columnLabel, Map> map) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Ref getRef(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Blob getBlob(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Clob getClob(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Array getArray(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Date getDate(int columnIndex, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Date getDate(String columnLabel, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Time getTime(int columnIndex, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Time getTime(String columnLabel, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public URL getURL(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public URL getURL(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public void updateRef(int columnIndex, Ref x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateRef(String columnLabel, Ref x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(int columnIndex, Blob x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(String columnLabel, Blob x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(int columnIndex, Clob x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(String columnLabel, Clob x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateArray(int columnIndex, Array x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateArray(String columnLabel, Array x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public RowId getRowId(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public RowId getRowId(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public void updateRowId(int columnIndex, RowId x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateRowId(String columnLabel, RowId x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public int getHoldability() throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -926,259 +859,247 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override public void updateNString(int columnIndex, String nString) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNString(String columnLabel, String nString) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(int columnIndex, NClob nClob) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(String columnLabel, NClob nClob) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public NClob getNClob(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public NClob getNClob(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public SQLXML getSQLXML(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public SQLXML getSQLXML(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public String getNString(int columnIndex) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override public String getNString(String columnLabel) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Reader getNCharacterStream(int columnIndex) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public Reader getNCharacterStream(String columnLabel) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(int columnIndex, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(String columnLabel, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(int columnIndex, Reader x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(int columnIndex, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateClob(String columnLabel, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(int columnIndex, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override public void updateNClob(String columnLabel, Reader reader) throws SQLException { - // TODO + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public T getObject(int columnIndex, Class type) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public T getObject(String columnLabel, Class type) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override @SkipNullableCheck public T unwrap(Class iface) throws SQLException { - // TODO - return null; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isWrapperFor(Class iface) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -1188,38 +1109,32 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override public boolean isAutoIncrement(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isCaseSensitive(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isSearchable(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isCurrency(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public int isNullable(int column) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isSigned(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override @@ -1244,68 +1159,57 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData { @Override public String getSchemaName(int column) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override public int getPrecision(int column) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public int getScale(int column) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public String getTableName(int column) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override public String getCatalogName(int column) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override public int getColumnType(int column) throws SQLException { - // TODO - return 0; + throw new UnsupportedOperationException("not implemented"); } @Override public String getColumnTypeName(int column) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isReadOnly(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isWritable(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public boolean isDefinitelyWritable(int column) throws SQLException { - // TODO - return false; + throw new UnsupportedOperationException("not implemented"); } @Override public String getColumnClassName(int column) throws SQLException { - // TODO - return ""; + throw new UnsupportedOperationException("not implemented"); } @FunctionalInterface