public class RSMDWrapper
extends org.apache.derby.vti.StringColumnVTI
Table function wrapping the result set meta data for a query.
Modifier and Type | Field and Description |
---|---|
private int |
_currentRow |
private java.lang.Integer |
_currentRowNumber |
private java.lang.reflect.Method[] |
_methods |
private int |
_rowCount |
private java.sql.ResultSetMetaData |
_rsmd |
private static java.lang.String[] |
COLUMN_NAMES |
private static int[] |
COLUMN_TYPES |
Constructor and Description |
---|
RSMDWrapper(java.sql.Connection conn,
java.lang.String query) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.sql.ResultSetMetaData |
getMetaData() |
protected java.lang.String |
getRawColumn(int columnNumber) |
static java.sql.ResultSet |
getResultSetMetaData(java.lang.String query)
This is the method which is registered as a table function.
|
private void |
loadMethods() |
boolean |
next() |
findColumn, getAsciiStream, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getClob, getColumnCount, getColumnName, getDate, getDouble, getFloat, getInt, getLong, getShort, getString, getTime, getTimestamp, setColumnNames, wasNull
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, first, getArray, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getConcurrency, getContext, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getHoldability, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getReturnTableSignature, getRow, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getStatement, getString, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, notImplemented, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setContext, 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
private static final java.lang.String[] COLUMN_NAMES
private static final int[] COLUMN_TYPES
private java.lang.reflect.Method[] _methods
private java.sql.ResultSetMetaData _rsmd
private int _rowCount
private int _currentRow
private java.lang.Integer _currentRowNumber
public RSMDWrapper(java.sql.Connection conn, java.lang.String query) throws java.lang.Exception
java.lang.Exception
public static java.sql.ResultSet getResultSetMetaData(java.lang.String query) throws java.lang.Exception
This is the method which is registered as a table function.
java.lang.Exception
private void loadMethods() throws java.lang.Exception
java.lang.Exception
public boolean next() throws java.sql.SQLException
java.sql.SQLException
public void close()
public java.sql.ResultSetMetaData getMetaData()
getMetaData
in interface java.sql.ResultSet
getMetaData
in class org.apache.derby.vti.VTITemplate
protected java.lang.String getRawColumn(int columnNumber) throws java.sql.SQLException
getRawColumn
in class org.apache.derby.vti.StringColumnVTI
java.sql.SQLException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.