public interface DrillResultSet extends ResultSet
ResultSet.unwrap(java.lang.Class<T>)CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
BigDecimal |
getBigDecimal(String columnLabel,
int scale) |
byte |
getByte(int columnIndex) |
byte |
getByte(String columnLabel) |
double |
getDouble(int columnIndex) |
double |
getDouble(String columnLabel) |
float |
getFloat(int columnIndex) |
float |
getFloat(String columnLabel) |
int |
getInt(int columnIndex) |
int |
getInt(String columnLabel) |
long |
getLong(int columnIndex) |
long |
getLong(String columnLabel) |
Object |
getObject(int columnIndex) |
Object |
getObject(String columnLabel) |
String |
getQueryId()
Gets the ID of the associated query (the query whose results this ResultSet
presents).
|
short |
getShort(int columnIndex) |
short |
getShort(String columnLabel) |
String |
getString(int columnIndex) |
String |
getString(String columnLabel) |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getFetchDirection, getFetchSize, getHoldability, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getSQLXML, getSQLXML, getStatement, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullString getQueryId() throws SQLException
SQLException - if this method is called on a closed result set<T> T unwrap(Class<T> iface) throws SQLException
Drill:
Accepts DrillResultSet.class.
unwrap in interface WrapperSQLExceptionboolean isWrapperFor(Class<?> iface) throws SQLException
Drill:
Returns true for DrillResultSet.class.
isWrapperFor in interface WrapperSQLExceptionString getString(int columnIndex) throws SQLException
Drill: Conversions: Supports conversion from all types.
getString in interface ResultSetSQLExceptionbyte getByte(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
SMALLINT (short),
INTEGER (int), and
BIGINT (long)
REAL (float),
DOUBLE PRECISION (double), and
FLOAT (float or double)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of byte values.
getByte in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to byteSQLExceptionshort getShort(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
INTEGER (int), and
BIGINT (long)
REAL (float),
DOUBLE PRECISION (double), and
FLOAT (float or double)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of short values.
getShort in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to shortSQLExceptionint getInt(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
SMALLINT (short), and
BIGINT (long)
REAL (float),
DOUBLE PRECISION (double), and
FLOAT (float or double)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of int values.
getInt in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to intSQLExceptionlong getLong(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
SMALLINT (short), and
INTEGER (int)
REAL (float),
DOUBLE PRECISION (double), and
FLOAT (float or double)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of long values.
getLong in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to longSQLExceptionfloat getFloat(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
SMALLINT (short), and
INTEGER (int),
BIGINT (long)
DOUBLE PRECISION (double) and
FLOAT (when double)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of float values.
getFloat in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to floatSQLExceptiondouble getDouble(int columnIndex)
throws SQLConversionOverflowException,
SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
SMALLINT (short),
INTEGER (int), and
BIGINT (long)
REAL (float),
FLOAT (when float)
DECIMAL (BigDecimal)
Conversion throws SQLConversionOverflowException for a source
value whose magnitude is outside the range of double values.
getDouble in interface ResultSetSQLConversionOverflowException - if a source value was too large
to convert to doubleSQLExceptionBigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
Drill: Conversions: Supports conversion from types:
TINYINT (byte),
SMALLINT (short),
INTEGER (int), and
BIGINT (long)
REAL (float),
DOUBLE PRECISION (double), and
FLOAT (float or double)
getBigDecimal in interface ResultSetSQLExceptionString getString(String columnLabel) throws SQLException
Drill:
For conversions, see getString(int).
getString in interface ResultSetSQLExceptionbyte getByte(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getByte(int).
getByte in interface ResultSetSQLConversionOverflowExceptionSQLExceptionshort getShort(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getShort(int).
getShort in interface ResultSetSQLConversionOverflowExceptionSQLExceptionint getInt(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getInt(int).
getInt in interface ResultSetSQLConversionOverflowExceptionSQLExceptionlong getLong(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getLong(int).
getLong in interface ResultSetSQLConversionOverflowExceptionSQLExceptionfloat getFloat(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getFloat(int).
getFloat in interface ResultSetSQLConversionOverflowExceptionSQLExceptiondouble getDouble(String columnLabel) throws SQLConversionOverflowException, SQLException
Drill:
For conversions, see getDouble(int).
getDouble in interface ResultSetSQLConversionOverflowExceptionSQLExceptionBigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException
Drill:
For conversions, see ResultSet.getBigDecimal(int).
getBigDecimal in interface ResultSetSQLExceptionObject getObject(int columnIndex) throws SQLException
Drill: Conversions: Supports conversion from all types.
getObject in interface ResultSetSQLExceptionObject getObject(String columnLabel) throws SQLException
Drill:
For conversions, see getObject(int).
getObject in interface ResultSetSQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.