@Test public void testListTables() throws Exception { List<String> tblList = explorer.listTables("DEFAULT"); Assert.assertTrue(tblList.size() >= 3); Assert.assertTrue(tblList.contains("TEST_KYLIN_FACT")); Assert.assertTrue(tblList.contains("TEST_ACCOUNT")); Assert.assertTrue(tblList.contains("TEST_COUNTRY")); }
@Override public List<String> listTables(String schema) throws SQLException { return dataSource.listTables(schema); }
JdbcExplorer implements ISourceMetadataExplorer, ISampleDataDeployer { @Override public List<String> listTables(String schema) throws SQLException { return dataSource.listTables(schema); } }
JdbcExplorer implements ISourceMetadataExplorer, ISampleDataDeployer { @Override public List<String> listTables(String schema) throws SQLException { return dataSource.listTables(schema); } JdbcExplorer(JdbcConnector dataSource); }
JdbcExplorer implements ISourceMetadataExplorer, ISampleDataDeployer { @Override public List<String> listTables(String schema) throws SQLException { return dataSource.listTables(schema); } JdbcExplorer(JdbcConnector dataSource); @Override List<String> listDatabases(); @Override List<String> listTables(String schema); @Override Pair<TableDesc, TableExtDesc> loadTableMetadata(String database, String table, String prj); @Override void createSampleDatabase(String database); @Override void loadSampleData(String tableName, String tmpDataDir); @Override void createSampleTable(TableDesc table); @Override void createWrapperView(String origTableName, String viewName); @Override List<String> getRelatedKylinResources(TableDesc table); @Override ColumnDesc[] evalQueryMetadata(String query); @Override void validateSQL(String query); }
JdbcExplorer implements ISourceMetadataExplorer, ISampleDataDeployer { @Override public List<String> listTables(String schema) throws SQLException { return dataSource.listTables(schema); } JdbcExplorer(JdbcConnector dataSource); @Override List<String> listDatabases(); @Override List<String> listTables(String schema); @Override Pair<TableDesc, TableExtDesc> loadTableMetadata(String database, String table, String prj); @Override void createSampleDatabase(String database); @Override void loadSampleData(String tableName, String tmpDataDir); @Override void createSampleTable(TableDesc table); @Override void createWrapperView(String origTableName, String viewName); @Override List<String> getRelatedKylinResources(TableDesc table); @Override ColumnDesc[] evalQueryMetadata(String query); @Override void validateSQL(String query);  }