public class KyuubiArrowQueryResultSet extends KyuubiArrowBasedResultSet
| Modifier and Type | Class and Description |
|---|---|
static class |
KyuubiArrowQueryResultSet.Builder |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
allocator, arrowSchema, columnAttributes, columnNames, columnTypes, normalizedColumnNames, root, row, statement, timestampAsString, warningChain, wasNullCLOSE_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 | Constructor and Description |
|---|---|
protected |
KyuubiArrowQueryResultSet(KyuubiArrowQueryResultSet.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeFirst()
Moves the cursor before the first row of the resultset.
|
void |
close() |
static JdbcColumnAttributes |
getColumnAttributes(org.apache.kyuubi.shaded.hive.service.rpc.thrift.TPrimitiveTypeEntry primitiveTypeEntry)
Generate ColumnAttributes object from a TTypeQualifiers
|
int |
getFetchSize() |
ResultSetMetaData |
getMetaData() |
int |
getRow() |
int |
getType() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
next()
Moves the cursor down one row from its current position.
|
void |
setFetchSize(int rows) |
clearWarnings, findColumn, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBoolean, getBoolean, getByte, getByte, getConcurrency, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getSchema, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getWarnings, initArrowSchemaAndAllocator, rowDeleted, rowInserted, rowUpdated, setSchema, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolute, afterLast, cancelRowUpdates, deleteRow, first, getArray, getArray, getAsciiStream, getAsciiStream, getBlob, getBlob, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCursorName, getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getSQLXML, getSQLXML, getUnicodeStream, getUnicodeStream, getURL, getURL, insertRow, isAfterLast, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, setFetchDirection, 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, updateTimestampupdateObject, updateObject, updateObject, updateObjectprotected KyuubiArrowQueryResultSet(KyuubiArrowQueryResultSet.Builder builder) throws SQLException
SQLExceptionpublic static JdbcColumnAttributes getColumnAttributes(org.apache.kyuubi.shaded.hive.service.rpc.thrift.TPrimitiveTypeEntry primitiveTypeEntry)
primitiveTypeEntry - primitive typepublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ResultSetclose in class KyuubiArrowBasedResultSetSQLExceptionpublic boolean next()
throws SQLException
SQLException - if a database access error occurs.ResultSet.next()public ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetgetMetaData in class KyuubiArrowBasedResultSetSQLExceptionpublic void setFetchSize(int rows)
throws SQLException
SQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetgetType in class KyuubiArrowBasedResultSetSQLExceptionpublic int getFetchSize()
throws SQLException
SQLExceptionpublic void beforeFirst()
throws SQLException
SQLException - if a database access error occurs.ResultSet.next()public boolean isBeforeFirst()
throws SQLException
SQLExceptionpublic int getRow()
throws SQLException
SQLExceptionpublic boolean isClosed()
Copyright © 2023 The Apache Software Foundation. All rights reserved.