Class DesignerDatasourceMetaProviderImpl

  • All Implemented Interfaces:
    DatasourceMetaProvider

    public class DesignerDatasourceMetaProviderImpl
    extends java.lang.Object
    implements DatasourceMetaProvider
    This class serves as a proxy to the gateway for the retrieval of database meta info.
    Right now it passes all calls through, in the future we should probably look at implementing caching/asynchronous exec to it or the level that calls it.
    • Constructor Detail

      • DesignerDatasourceMetaProviderImpl

        public DesignerDatasourceMetaProviderImpl()
    • Method Detail

      • getTableInfo

        public Table getTableInfo​(java.lang.String dataSource,
                                  java.lang.String tableName,
                                  TableType type)
                           throws java.lang.Exception
        Specified by:
        getTableInfo in interface DatasourceMetaProvider
        Throws:
        java.lang.Exception
      • getTables

        public java.util.List<java.lang.String> getTables​(java.lang.String dataSource,
                                                          TableType type)
                                                   throws java.lang.Exception
        Specified by:
        getTables in interface DatasourceMetaProvider
        Throws:
        java.lang.Exception