Interface DrillResultSet
- All Superinterfaces:
AutoCloseable,ResultSet,Wrapper
- All Known Implementing Classes:
DrillResultSetImpl
ResultSet.- See Also:
-
Field Summary
Fields inherited from interface java.sql.ResultSet
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 -
Method Summary
Modifier and TypeMethodDescriptiongetBigDecimal(int columnIndex, int scale) getBigDecimal(String columnLabel, int scale) bytegetByte(int columnIndex) bytedoublegetDouble(int columnIndex) doublefloatgetFloat(int columnIndex) floatintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetObject(int columnIndex) Gets the ID of the associated query (the query whose results this ResultSet presents).shortgetShort(int columnIndex) shortgetString(int columnIndex) booleanisWrapperFor(Class<?> iface) <T> TMethods inherited from interface java.sql.ResultSet
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, wasNull
-
Method Details
-
getQueryId
Gets the ID of the associated query (the query whose results this ResultSet presents).- Throws:
SQLException- if this method is called on a closed result set
-
unwrap
Drill: Accepts
DrillResultSet.class.- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
Drill: Returns true for
DrillResultSet.class.- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
getString
Drill: Conversions: Supports conversion from all types.
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getByte
Drill: Conversions: Supports conversion from types:
SMALLINT(short),INTEGER(int), andBIGINT(long)REAL(float),DOUBLE PRECISION(double), andFLOAT(floatordouble)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range ofbytevalues.- Specified by:
getBytein interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert tobyteSQLException
-
getShort
Drill: Conversions: Supports conversion from types:
TINYINT(byte),INTEGER(int), andBIGINT(long)REAL(float),DOUBLE PRECISION(double), andFLOAT(floatordouble)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range ofshortvalues.- Specified by:
getShortin interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert toshortSQLException
-
getInt
Drill: Conversions: Supports conversion from types:
TINYINT(byte),SMALLINT(short), andBIGINT(long)REAL(float),DOUBLE PRECISION(double), andFLOAT(floatordouble)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range ofintvalues.- Specified by:
getIntin interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert tointSQLException
-
getLong
Drill: Conversions: Supports conversion from types:
TINYINT(byte),SMALLINT(short), andINTEGER(int)REAL(float),DOUBLE PRECISION(double), andFLOAT(floatordouble)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range oflongvalues.- Specified by:
getLongin interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert tolongSQLException
-
getFloat
Drill: Conversions: Supports conversion from types:
TINYINT(byte),SMALLINT(short), andINTEGER(int),BIGINT(long)DOUBLE PRECISION(double) andFLOAT(whendouble)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range offloatvalues.- Specified by:
getFloatin interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert tofloatSQLException
-
getDouble
Drill: Conversions: Supports conversion from types:
TINYINT(byte),SMALLINT(short),INTEGER(int), andBIGINT(long)REAL(float),FLOAT(whenfloat)DECIMAL(BigDecimal)
Conversion throws
SQLConversionOverflowExceptionfor a source value whose magnitude is outside the range ofdoublevalues.- Specified by:
getDoublein interfaceResultSet- Throws:
SQLConversionOverflowException- if a source value was too large to convert todoubleSQLException
-
getBigDecimal
Drill: Conversions: Supports conversion from types:
TINYINT(byte),SMALLINT(short),INTEGER(int), andBIGINT(long)REAL(float),DOUBLE PRECISION(double), andFLOAT(floatordouble)
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getString
Drill: For conversions, see
getString(int).- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getByte
Drill: For conversions, see
getByte(int).- Specified by:
getBytein interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getShort
Drill: For conversions, see
getShort(int).- Specified by:
getShortin interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getInt
Drill: For conversions, see
getInt(int).- Specified by:
getIntin interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getLong
Drill: For conversions, see
getLong(int).- Specified by:
getLongin interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getFloat
Drill: For conversions, see
getFloat(int).- Specified by:
getFloatin interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getDouble
Drill: For conversions, see
getDouble(int).- Specified by:
getDoublein interfaceResultSet- Throws:
SQLConversionOverflowExceptionSQLException
-
getBigDecimal
Drill: For conversions, see
ResultSet.getBigDecimal(int).- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getObject
Drill: Conversions: Supports conversion from all types.
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
Drill: For conversions, see
getObject(int).- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-