Package org.teiid.jdbc
Class MetadataProvider
- java.lang.Object
-
- org.teiid.jdbc.MetadataProvider
-
- Direct Known Subclasses:
DeferredMetadataProvider
public class MetadataProvider extends Object
-
-
Constructor Summary
Constructors Constructor Description MetadataProvider(Map[] metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBooleanValue(int columnIndex, Integer metadataPropertyKey)
int
getColumnCount()
int
getIntValue(int columnIndex, Integer metadataPropertyKey)
int
getIntValue(int columnIndex, Integer metadataPropertyKey, int defaultValue)
String
getStringValue(int columnIndex, Integer metadataPropertyKey)
Object
getValue(int columnIndex, Integer metadataPropertyKey)
-
-
-
Field Detail
-
metadata
protected Map[] metadata
-
-
Constructor Detail
-
MetadataProvider
public MetadataProvider(Map[] metadata)
-
-
Method Detail
-
getValue
public Object getValue(int columnIndex, Integer metadataPropertyKey) throws SQLException
- Throws:
SQLException
-
getColumnCount
public int getColumnCount()
-
getStringValue
public String getStringValue(int columnIndex, Integer metadataPropertyKey) throws SQLException
- Throws:
SQLException
-
getIntValue
public int getIntValue(int columnIndex, Integer metadataPropertyKey) throws SQLException
- Throws:
SQLException
-
getIntValue
public int getIntValue(int columnIndex, Integer metadataPropertyKey, int defaultValue) throws SQLException
- Throws:
SQLException
-
getBooleanValue
public boolean getBooleanValue(int columnIndex, Integer metadataPropertyKey) throws SQLException
- Throws:
SQLException
-
-