public class MetadataProvider extends Object
Constructor and Description |
---|
MetadataProvider(Map<?,Object>[] metadata) |
Modifier and Type | Method and Description |
---|---|
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) |
public int getColumnCount()
public int getIntValue(int columnIndex, Integer metadataPropertyKey)
public boolean getBooleanValue(int columnIndex, Integer metadataPropertyKey)
public static Map<Integer,Object> getColumnMetadata(String catalogName, String tableName, String columnName, String dataType, Integer nullable, Connection driverConnection)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.