public class HiveQueryResultSet extends HiveBaseResultSet
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveQueryResultSet.Builder |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
columnAttributes, columnNames, columnTypes, normalizedColumnNames, row, statement, 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 |
HiveQueryResultSet(HiveQueryResultSet.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeFirst()
Moves the cursor before the first row of the resultset.
|
void |
close() |
int |
getFetchSize() |
ResultSetMetaData |
getMetaData() |
<T> T |
getObject(int columnIndex,
Class<T> type) |
<T> T |
getObject(String columnLabel,
Class<T> type) |
int |
getRow() |
int |
getType() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
next()
Moves the cursor down one row from its current position.
|
void |
setFetchSize(int rows) |
absolute, afterLast, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getSchema, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setSchema, 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, updateTimestamp, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectprotected HiveQueryResultSet(HiveQueryResultSet.Builder builder) throws SQLException
SQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ResultSetclose in class HiveBaseResultSetSQLExceptionpublic boolean next()
throws SQLException
SQLException - if a database access error occurs.ResultSet.next()public ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetgetMetaData in class HiveBaseResultSetSQLExceptionpublic void setFetchSize(int rows)
throws SQLException
setFetchSize in interface ResultSetsetFetchSize in class HiveBaseResultSetSQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetgetType in class HiveBaseResultSetSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetgetFetchSize in class HiveBaseResultSetSQLExceptionpublic <T> T getObject(String columnLabel, Class<T> type) throws SQLException
SQLExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
SQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetbeforeFirst in class HiveBaseResultSetSQLException - if a database access error occurs.ResultSet.next()public boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetisBeforeFirst in class HiveBaseResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetgetRow in class HiveBaseResultSetSQLExceptionpublic boolean isClosed()
isClosed in interface ResultSetisClosed in class HiveBaseResultSetCopyright © 2019 The Apache Software Foundation. All Rights Reserved.