@Override @SuppressWarnings("deprecation") public InputStream getUnicodeStream(String columnLabel) throws SQLException { return rs.getUnicodeStream(columnLabel); }
@Override @SuppressWarnings("deprecation") public InputStream getUnicodeStream(int columnIndex) throws SQLException { return rs.getUnicodeStream(columnIndex); }
@Override @Deprecated public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { try { return rs.getUnicodeStream(columnIndex); } catch (Throwable t) { throw checkException(t); } }
@Override @Deprecated public java.io.InputStream getUnicodeStream(String columnLabel) throws SQLException { try { return rs.getUnicodeStream(columnLabel); } catch (Throwable t) { throw checkException(t); } }
@SuppressWarnings("deprecation") @Override public InputStream getInputStream(final int columnIndex, final String type) throws SQLException { switch (type) { case "Ascii": return resultSet.getAsciiStream(columnIndex); case "Unicode": return resultSet.getUnicodeStream(columnIndex); case "Binary": return resultSet.getBinaryStream(columnIndex); default: throw new SQLException(String.format("Unsupported type: %s", type)); } }
@SuppressWarnings("deprecation") @Override public InputStream getInputStream(final String columnLabel, final String type) throws SQLException { switch (type) { case "Ascii": return resultSet.getAsciiStream(columnLabel); case "Unicode": return resultSet.getUnicodeStream(columnLabel); case "Binary": return resultSet.getBinaryStream(columnLabel); default: throw new SQLException(String.format("Unsupported type: %s", type)); } }
@SuppressWarnings("deprecation") @Override public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy rs, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_getUnicodeStream(this, rs, columnLabel); } return rs.getResultSetRaw() .getUnicodeStream(columnLabel); }
@SuppressWarnings("deprecation") @Override public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy rs, int columnIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_getUnicodeStream(this, rs, columnIndex); } return rs.getResultSetRaw() .getUnicodeStream(columnIndex); }
@Override public InputStream getUnicodeStream(String columnLabel) throws SQLException { SQLException e = null; try { InputStream value = delegate.getUnicodeStream(columnLabel); eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, null, e); throw e; } }
@Override public InputStream getUnicodeStream(int columnIndex) throws SQLException { SQLException e = null; try { InputStream value = delegate.getUnicodeStream(columnIndex); eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, null, e); throw e; } }
@Deprecated @Override public InputStream getUnicodeStream(String columnLabel) throws SQLException { return innerResultSet.getUnicodeStream(columnLabel); }
@Deprecated @Override public InputStream getUnicodeStream(String columnLabel) throws SQLException { return innerResultSet.getUnicodeStream(columnLabel); }
@Deprecated @Override public InputStream getUnicodeStream(int columnIndex) throws SQLException { return innerResultSet.getUnicodeStream(columnIndex); }
@Deprecated @Override public InputStream getUnicodeStream(int columnIndex) throws SQLException { return innerResultSet.getUnicodeStream(columnIndex); }
@Override @Deprecated public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { try { return rs.getUnicodeStream(columnIndex); } catch (Throwable t) { throw checkException(t); } }
@Override @Deprecated public java.io.InputStream getUnicodeStream(String columnLabel) throws SQLException { try { return rs.getUnicodeStream(columnLabel); } catch (Throwable t) { throw checkException(t); } }
@Override public InputStream getUnicodeStream(String columnLabel) throws SQLException { SQLException e = null; try { InputStream value = delegate.getUnicodeStream(columnLabel); eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, null, e); throw e; } }
@Override public InputStream getUnicodeStream(int columnIndex) throws SQLException { SQLException e = null; try { InputStream value = delegate.getUnicodeStream(columnIndex); eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, null, e); throw e; } }
@SuppressWarnings("deprecation") @Override public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy rs, int columnIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_getUnicodeStream(this, rs, columnIndex); } return rs.getResultSetRaw() .getUnicodeStream(columnIndex); }
@SuppressWarnings("deprecation") @Override public java.io.InputStream resultSet_getUnicodeStream(ResultSetProxy rs, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_getUnicodeStream(this, rs, columnLabel); } return rs.getResultSetRaw() .getUnicodeStream(columnLabel); }