public class GenericMetadataExtractor extends Object implements MetadataExtractor
| Constructor and Description |
|---|
GenericMetadataExtractor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FieldDef> |
getMetaData(String objectName,
Connection connection,
Driver driver,
String sql,
boolean useTypes,
boolean keepOrder)
Extracts fields definitions for the object or given sql.
|
public Map<String,FieldDef> getMetaData(String objectName, Connection connection, Driver driver, String sql, boolean useTypes, boolean keepOrder)
MetadataExtractorgetMetaData in interface MetadataExtractorobjectName - the object nameconnection - the connectiondriver - the driversql - the sqluseTypes - if true populates exact field types, for example VARCHAR2(100) NOT NULL, etc. Otherwise just name and type.keepOrder - if true the fields in the map must be in the same order as in data setCopyright © 2010-2020 Toolsverse. All Rights Reserved.