public class HiveQueryResultSet extends HiveBaseResultSet
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
columnNames, columnTypes, row, warningChain, wasNull| Constructor and Description |
|---|
HiveQueryResultSet(HiveInterface client) |
HiveQueryResultSet(HiveInterface client,
int maxRows) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFetchSize() |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
boolean |
next()
Moves the cursor down one row from its current position.
|
void |
setFetchSize(int rows) |
absolute, afterLast, beforeFirst, 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, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, 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, updateTimestamp, wasNullpublic HiveQueryResultSet(HiveInterface client, int maxRows) throws java.sql.SQLException
java.sql.SQLExceptionpublic HiveQueryResultSet(HiveInterface client) throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.ResultSetclose in class HiveBaseResultSetjava.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
java.sql.SQLException - if a database access error occurs.ResultSet.next()public void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetsetFetchSize in class HiveBaseResultSetjava.sql.SQLExceptionpublic int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetgetFetchSize in class HiveBaseResultSetjava.sql.SQLExceptionpublic <T> T getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetgetObject in class HiveBaseResultSetjava.sql.SQLExceptionpublic <T> T getObject(int columnIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetgetObject in class HiveBaseResultSetjava.sql.SQLExceptionCopyright © 2012 The Apache Software Foundation