org.modeshape.jdbc.metadata
Class MetadataProvider
java.lang.Object
org.modeshape.jdbc.metadata.MetadataProvider
public class MetadataProvider
- extends Object
Method Summary |
boolean |
getBooleanValue(int columnIndex,
Integer metadataPropertyKey)
|
int |
getColumnCount()
|
static Map<Integer,Object> |
getColumnMetadata(String catalogName,
String tableName,
String columnName,
String dataType,
Integer nullable,
Connection driverConnection)
|
static Map<Integer,Object> |
getColumnMetadata(String catalogName,
String tableName,
String columnName,
String dataType,
Integer nullable,
Integer searchable,
Boolean writable,
Boolean signed,
Boolean caseSensitive,
Connection driverConnection)
|
int |
getIntValue(int columnIndex,
Integer metadataPropertyKey)
|
String |
getStringValue(int columnIndex,
Integer metadataPropertyKey)
|
Object |
getValue(int columnIndex,
Integer metadataPropertyKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metadata
protected Map<?,Object>[] metadata
MetadataProvider
public MetadataProvider(Map<?,Object>[] metadata)
getValue
public Object getValue(int columnIndex,
Integer metadataPropertyKey)
getColumnCount
public int getColumnCount()
getStringValue
public String getStringValue(int columnIndex,
Integer metadataPropertyKey)
getIntValue
public int getIntValue(int columnIndex,
Integer metadataPropertyKey)
getBooleanValue
public boolean getBooleanValue(int columnIndex,
Integer metadataPropertyKey)
getColumnMetadata
public static Map<Integer,Object> getColumnMetadata(String catalogName,
String tableName,
String columnName,
String dataType,
Integer nullable,
Connection driverConnection)
getColumnMetadata
public static Map<Integer,Object> getColumnMetadata(String catalogName,
String tableName,
String columnName,
String dataType,
Integer nullable,
Integer searchable,
Boolean writable,
Boolean signed,
Boolean caseSensitive,
Connection driverConnection)
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.