public class SnowflakeDatabaseMetaDataResultSet extends SnowflakeBaseResultSet
| Modifier and Type | Field and Description |
|---|---|
protected Object[][] |
rows |
protected ResultSet |
showObjectResultSet |
protected Statement |
statement |
binaryFormatter, dateFormatter, endOfResult, fetchDirection, fetchSize, honorClientTZForTimestampNTZ, nextRow, parameters, resultSetMetaData, resultVersion, row, timeFormatter, timestampLTZFormatter, timestampNTZFormatter, timestampTZFormatter, timeZone, timeZoneUTC, 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| Constructor and Description |
|---|
SnowflakeDatabaseMetaDataResultSet()
Used for creating an empty result set
|
SnowflakeDatabaseMetaDataResultSet(List<String> columnNames,
List<String> columnTypeNames,
List<Integer> columnTypes,
Object[][] rows,
Statement statement)
DatabaseMetadataResultSet based on a constant rowset.
|
SnowflakeDatabaseMetaDataResultSet(List<String> columnNames,
List<String> columnTypeNames,
List<Integer> columnTypes,
ResultSet showObjectResultSet,
Statement statement)
DatabaseMetadataResultSet based on result from show command
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
next() |
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, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getObjectInternal, getRef, getRef, getRow, getRowId, getRowId, getSFTime, getSFTimestamp, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, 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, 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, updateTimestamp, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectprotected ResultSet showObjectResultSet
protected Statement statement
protected Object[][] rows
public SnowflakeDatabaseMetaDataResultSet()
public SnowflakeDatabaseMetaDataResultSet(List<String> columnNames, List<String> columnTypeNames, List<Integer> columnTypes, ResultSet showObjectResultSet, Statement statement) throws SQLException
columnNames - column namescolumnTypeNames - column type namescolumnTypes - column typesshowObjectResultSet - result set after issuing a show commandstatement - show command statementSQLException - if failed to construct snowflake database metadata result setpublic SnowflakeDatabaseMetaDataResultSet(List<String> columnNames, List<String> columnTypeNames, List<Integer> columnTypes, Object[][] rows, Statement statement) throws SQLException
columnNames - column namecolumnTypeNames - column types namecolumnTypes - column typerows - returned value of database metadatastatement - show command statementSQLException - if failed to construct snowflake database metadata result setpublic boolean next()
throws SQLException
next in interface ResultSetnext in class SnowflakeBaseResultSetSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ResultSetclose in class SnowflakeBaseResultSetSQLExceptionCopyright © 2016. All rights reserved.