public abstract class KyuubiBaseResultSet extends Object implements SQLResultSet
| Modifier and Type | Field and Description |
|---|---|
protected List<JdbcColumnAttributes> |
columnAttributes |
protected List<String> |
columnNames |
protected List<org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTypeId> |
columnTypes |
protected List<String> |
normalizedColumnNames |
protected Object[] |
row |
protected Statement |
statement |
protected SQLWarning |
warningChain |
protected boolean |
wasNull |
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| Constructor and Description |
|---|
KyuubiBaseResultSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearWarnings() |
int |
findColumn(String columnName) |
BigDecimal |
getBigDecimal(int columnIndex) |
BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
BigDecimal |
getBigDecimal(String columnName) |
BigDecimal |
getBigDecimal(String columnName,
int scale) |
InputStream |
getBinaryStream(int columnIndex) |
InputStream |
getBinaryStream(String columnName) |
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(String columnName) |
int |
getConcurrency() |
Date |
getDate(int columnIndex) |
Date |
getDate(int columnIndex,
Calendar cal) |
Date |
getDate(String columnName) |
Date |
getDate(String columnLabel,
Calendar cal) |
double |
getDouble(int columnIndex) |
double |
getDouble(String columnName) |
int |
getFetchDirection() |
float |
getFloat(int columnIndex) |
float |
getFloat(String columnName) |
int |
getInt(int columnIndex) |
int |
getInt(String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(String columnName) |
ResultSetMetaData |
getMetaData() |
Object |
getObject(int columnIndex) |
Object |
getObject(String columnName) |
protected org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTableSchema |
getSchema() |
short |
getShort(int columnIndex) |
short |
getShort(String columnName) |
Statement |
getStatement() |
String |
getString(int columnIndex) |
String |
getString(String columnName) |
Time |
getTime(int columnIndex) |
Time |
getTime(int columnIndex,
Calendar cal) |
Time |
getTime(String columnLabel) |
Time |
getTime(String columnLabel,
Calendar cal) |
Timestamp |
getTimestamp(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex,
Calendar cal) |
Timestamp |
getTimestamp(String columnName) |
Timestamp |
getTimestamp(String columnLabel,
Calendar cal) |
int |
getType() |
SQLWarning |
getWarnings() |
boolean |
rowDeleted() |
boolean |
rowInserted() |
boolean |
rowUpdated() |
protected void |
setSchema(org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTableSchema schema) |
boolean |
wasNull() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolute, afterLast, beforeFirst, cancelRowUpdates, deleteRow, first, getArray, getArray, getAsciiStream, getAsciiStream, getBlob, getBlob, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCursorName, getFetchSize, getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getSQLXML, getSQLXML, getUnicodeStream, getUnicodeStream, getURL, getURL, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, setFetchDirection, setFetchSize, unwrap, 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, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestampclose, next, updateObject, updateObject, updateObject, updateObjectprotected Statement statement
protected SQLWarning warningChain
protected boolean wasNull
protected Object[] row
protected List<org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTypeId> columnTypes
protected List<JdbcColumnAttributes> columnAttributes
public int findColumn(String columnName) throws SQLException
findColumn in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnName) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnName, int scale) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(int columnIndex) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(String columnName) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic boolean getBoolean(int columnIndex)
throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic boolean getBoolean(String columnName) throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(int columnIndex)
throws SQLException
getByte in interface ResultSetSQLExceptionpublic byte getByte(String columnName) throws SQLException
getByte in interface ResultSetSQLExceptionpublic int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionpublic Date getDate(int columnIndex) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String columnName) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(int columnIndex, Calendar cal) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String columnLabel, Calendar cal) throws SQLException
getDate in interface ResultSetSQLExceptionpublic double getDouble(int columnIndex)
throws SQLException
getDouble in interface ResultSetSQLExceptionpublic double getDouble(String columnName) throws SQLException
getDouble in interface ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionpublic float getFloat(int columnIndex)
throws SQLException
getFloat in interface ResultSetSQLExceptionpublic float getFloat(String columnName) throws SQLException
getFloat in interface ResultSetSQLExceptionpublic int getInt(int columnIndex)
throws SQLException
getInt in interface ResultSetSQLExceptionpublic int getInt(String columnName) throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(int columnIndex)
throws SQLException
getLong in interface ResultSetSQLExceptionpublic long getLong(String columnName) throws SQLException
getLong in interface ResultSetSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetSQLExceptionpublic Object getObject(int columnIndex) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String columnName) throws SQLException
getObject in interface ResultSetSQLExceptionpublic short getShort(int columnIndex)
throws SQLException
getShort in interface ResultSetSQLExceptionpublic short getShort(String columnName) throws SQLException
getShort in interface ResultSetSQLExceptionpublic Statement getStatement() throws SQLException
getStatement in interface ResultSetSQLExceptionpublic String getString(int columnIndex) throws SQLException
getString in interface ResultSetcolumnIndex - - the first column is 1, the second is 2, ...SQLExceptionResultSet.getString(int)public String getString(String columnName) throws SQLException
getString in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String columnName) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Time getTime(int columnIndex) throws SQLException
getTime in interface ResultSetgetTime in interface SQLResultSetSQLExceptionpublic Time getTime(String columnLabel) throws SQLException
getTime in interface ResultSetgetTime in interface SQLResultSetSQLExceptionpublic Time getTime(int columnIndex, Calendar cal) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String columnLabel, Calendar cal) throws SQLException
getTime in interface ResultSetSQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetSQLExceptionpublic boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLExceptionpublic boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLExceptionpublic boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLExceptionprotected void setSchema(org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTableSchema schema)
protected org.apache.kyuubi.shaded.hive.service.rpc.thrift.TTableSchema getSchema()
Copyright © 2023 The Apache Software Foundation. All rights reserved.