org.modeshape.connector.meta.jdbc
Class AbstractMetadataRetriever
java.lang.Object
org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
- Direct Known Subclasses:
- CatalogRetriever, ColumnRetriever, DatabaseRetriever, ForeignKeyRetriever, ProcedureRetriever, SchemaRetriever, TableRetriever
public abstract class AbstractMetadataRetriever
- extends Object
Base class for converting DB Metadata to connector documents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connector
protected JdbcMetadataConnector connector
AbstractMetadataRetriever
protected AbstractMetadataRetriever(JdbcMetadataConnector connector)
generateId
protected static String generateId(String prefix,
String... segments)
removeEmptyOrNullElements
protected List<String> removeEmptyOrNullElements(List<String> list)
getDocumentById
protected abstract Document getDocumentById(String id,
DocumentWriter writer,
Connection connection)
idFrom
protected abstract String idFrom(String path)
canHandle
protected abstract boolean canHandle(String id)
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.