org.modeshape.connector.meta.jdbc

## Class TableRetriever

- java.lang.Object
- - org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
  - - org.modeshape.connector.meta.jdbc.TableRetriever

-     public class TableRetriever
      extends AbstractMetadataRetriever

  Class which converts table metadata to connector documents.

- - ### Field Summary

    - ### Fields inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever

      `connector`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `TableRetriever(JdbcMetadataConnector connector)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `canHandle(String id)`
    `protected Document` | `getDocumentById(String id, DocumentWriter writer, Connection connection)`
    `protected String` | `idFrom(String path)`

    - ### Methods inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever

      `generateId, removeEmptyOrNullElements`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TableRetriever

          protected TableRetriever(JdbcMetadataConnector connector)

  - ### Method Detail

    - #### getDocumentById

          protected Document getDocumentById(String id,
                                 DocumentWriter writer,
                                 Connection connection)

      Specified by:
        `getDocumentById` in class `AbstractMetadataRetriever`

    - #### idFrom

          protected String idFrom(String path)

      Specified by:
        `idFrom` in class `AbstractMetadataRetriever`

    - #### canHandle

          protected boolean canHandle(String id)

      Specified by:
        `canHandle` in class `AbstractMetadataRetriever`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.