org.teiid.jdbc
Class MetadataProvider

java.lang.Object
  extended by org.teiid.jdbc.MetadataProvider
Direct Known Subclasses:
DeferredMetadataProvider

public class MetadataProvider
extends java.lang.Object


Field Summary
protected  java.util.Map[] metadata
           
 
Constructor Summary
MetadataProvider(java.util.Map[] metadata)
           
 
Method Summary
 boolean getBooleanValue(int columnIndex, java.lang.Integer metadataPropertyKey)
           
 int getColumnCount()
           
 int getIntValue(int columnIndex, java.lang.Integer metadataPropertyKey)
           
 java.lang.String getStringValue(int columnIndex, java.lang.Integer metadataPropertyKey)
           
 java.lang.Object getValue(int columnIndex, java.lang.Integer metadataPropertyKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadata

protected java.util.Map[] metadata
Constructor Detail

MetadataProvider

public MetadataProvider(java.util.Map[] metadata)
Method Detail

getValue

public java.lang.Object getValue(int columnIndex,
                                 java.lang.Integer metadataPropertyKey)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getColumnCount

public int getColumnCount()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getStringValue

public java.lang.String getStringValue(int columnIndex,
                                       java.lang.Integer metadataPropertyKey)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getIntValue

public int getIntValue(int columnIndex,
                       java.lang.Integer metadataPropertyKey)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

getBooleanValue

public boolean getBooleanValue(int columnIndex,
                               java.lang.Integer metadataPropertyKey)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2011. All Rights Reserved.