public interface MetadataExtractor
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.
|
Map<String,FieldDef> getMetaData(String objectName, Connection connection, Driver driver, String sql, boolean useTypes, boolean keepOrder)
objectName
- 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.