|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.jdbc.AbstractMetadataProvider
com.metamatrix.jdbc.DeferredMetadataProvider
public class DeferredMetadataProvider
This metadata provider starts with just column names and types (provided in the response) but must lazily load the rest of the metadata when necessary.
Method Summary | |
---|---|
static DeferredMetadataProvider |
createWithInitialData(java.lang.String[] columnNames,
java.lang.String[] columnTypes,
MMStatement statement,
long requestID)
|
int |
getColumnCount()
Get number of columns in the result set metadata |
int |
getParameterCount()
Get parameter count from original command |
java.lang.Object |
getValue(int columnIndex,
java.lang.Integer metadataPropertyKey)
Get metadata value for the column at columnIndex for a given metadata property. |
Methods inherited from class com.metamatrix.jdbc.AbstractMetadataProvider |
---|
getBooleanValue, getIntValue, getStringValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DeferredMetadataProvider createWithInitialData(java.lang.String[] columnNames, java.lang.String[] columnTypes, MMStatement statement, long requestID)
public int getColumnCount() throws java.sql.SQLException
ResultsMetadataProvider
java.sql.SQLException
public java.lang.Object getValue(int columnIndex, java.lang.Integer metadataPropertyKey) throws java.sql.SQLException
ResultsMetadataProvider
columnIndex
- The column indexmetadataPropertyKey
- The metadata property
java.sql.SQLException
public int getParameterCount() throws java.sql.SQLException
ResultsMetadataProvider
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |