public class MetadataCollector
extends Object
Constructor and Description |
---|
MetadataCollector()
Instantiates a new metadata collector.
|
Modifier and Type | Method and Description |
---|---|
void |
addObject(MetadataProvider metadataProvider,
String objectName)
Collect database object's metadata, such as fields, indexes, etc.
|
void |
free()
Free the memory.
|
Map<String,FieldDef> |
getMetadataByName(String name)
Gets the object's metadata by name.
|
public MetadataCollector()
public void addObject(MetadataProvider metadataProvider, String objectName) throws Exception
metadataProvider
- the metadata providerobjectName
- the object nameException
- n case of any errorpublic void free()
public Map<String,FieldDef> getMetadataByName(String name)
name
- the nameCopyright © 2010-2020 Toolsverse. All Rights Reserved.