?? simpleresultset.java
字號(hào):
public void updateTimestamp(String columnName, Timestamp x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Object getObject(String colName, Map map) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Date getDate(String columnName, Calendar cal) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Time getTime(String columnName, Calendar cal) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException {
throw getUnsupportedException();
}
// --- private -----------------------------
private static SQLException getUnsupportedException() {
return new SQLException("Feature not supported", "HYC00");
}
private void checkColumnIndex(int columnIndex) throws SQLException {
if (columnIndex < 0 || columnIndex >= columns.size()) {
throw new SQLException("Invalid column index " + (columnIndex + 1), "90009");
}
}
private Object get(int columnIndex) throws SQLException {
if (currentRow == null) {
throw new SQLException("No data is available", "02000");
}
columnIndex--;
checkColumnIndex(columnIndex);
Object o = columnIndex < currentRow.length ? currentRow[columnIndex] : null;
wasNull = o == null;
return o;
}
private Column getColumn(int i) throws SQLException {
checkColumnIndex(i);
return (Column) columns.get(i);
}
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public RowId getRowId(int columnIndex) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public RowId getRowId(String columnName) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateRowId(int columnIndex, RowId x) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateRowId(String columnName, RowId x) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* Returns the current result set holdability.
*
* @return the holdability
*/
//#ifdef JDK14
public int getHoldability() {
return ResultSet.HOLD_CURSORS_OVER_COMMIT;
}
//#endif
/**
* Returns whether this result set has been closed.
*
* @return true if the result set was closed
*/
public boolean isClosed() throws SQLException {
return rows == null;
}
/**
* INTERNAL
*/
public void updateNString(int columnIndex, String nString) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNString(String columnName, String nString) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateNClob(String columnName, NClob nClob) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public NClob getNClob(int columnIndex) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public NClob getNClob(String columnName) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public SQLXML getSQLXML(int columnIndex) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public SQLXML getSQLXML(String columnName) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateSQLXML(int columnIndex, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public void updateSQLXML(String columnName, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
public String getNString(int columnIndex) throws SQLException {
return getString(columnIndex);
}
/**
* INTERNAL
*/
public String getNString(String columnName) throws SQLException {
return getString(columnName);
}
/**
* INTERNAL
*/
public Reader getNCharacterStream(int columnIndex) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public Reader getNCharacterStream(String columnName) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(String columnName, Reader x, int length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public <T> T unwrap(Class<T> iface) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
//#ifdef JDK16
/*
public boolean isWrapperFor(Class<?> iface) throws SQLException {
throw getUnsupportedException();
}
*/
//#endif
/**
* INTERNAL
*/
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateAsciiStream(String columnName, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateAsciiStream(String columnName, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBinaryStream(int columnName, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBinaryStream(String columnName, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBinaryStream(String columnName, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBlob(int columnIndex, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBlob(String columnName, InputStream x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBlob(int columnIndex, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateBlob(String columnName, InputStream x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateCharacterStream(String columnName, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateCharacterStream(String columnName, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(String columnName, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(int columnIndex, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(String columnName, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(String columnName, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNCharacterStream(String columnName, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNClob(String columnName, Reader x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNClob(int columnIndex, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateNClob(String columnName, Reader x, long length) throws SQLException {
throw getUnsupportedException();
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -