@Test public void test() { assertTrue(database.hasTable("myTableId")); assertFalse(database.hasTable("myTableId that doesn't actually exist.")); }
public boolean hasTable(@Nonnull String tableId) { return tableMap.hasTable(tableId); }
SQLDatabase { public boolean hasTable(@Nonnull String tableId) { return tableMap.hasTable(tableId); } }
SQLDatabase { public boolean hasTable(@Nonnull String tableId) { return tableMap.hasTable(tableId); } SQLDatabase(@Nonnull Logger logger, @Nonnull SpringJDBCAgent jdbcAgent); }
SQLDatabase { public boolean hasTable(@Nonnull String tableId) { return tableMap.hasTable(tableId); } SQLDatabase(@Nonnull Logger logger, @Nonnull SpringJDBCAgent jdbcAgent); void checkTables(); void checkTables(@Nullable PlaceholderSet placeholderSet); @Nullable Boolean checkTable(@Nonnull String tableId); boolean checkTable(@Nonnull Table table); @Nullable Boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull String tableId); boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull Table table); @Nullable Boolean checkTable(@Nonnull String tableId,
                            @Nullable PlaceholderSet placeholders); boolean checkTable(@Nonnull Table table,
                            @Nullable PlaceholderSet placeholders); boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull Table table,
                            @Nullable PlaceholderSet placeholders); SpringJDBCAgent getJdbcAgent(); TableMap getTableMap(); boolean hasTable(@Nonnull String tableId); boolean hasTable(@Nonnull Table table); boolean hasTableByName(@Nonnull String tableName); @Nullable String getTableIdByName(@Nullable String tableName); @Nullable Table getTable(@Nullable String tableId); @Nullable String getTableName(@Nullable String tableId); void addTable(@Nonnull String id, @Nonnull String name); void addTable(@Nonnull String id, @Nonnull String name, @Nullable String schema); void addTable(@Nonnull String id, @Nonnull Table table); boolean removeTable(@Nonnull Table table); @Nullable Table removeTable(@Nonnull String id); Map<String, Table> getTables(); }
SQLDatabase { public boolean hasTable(@Nonnull String tableId) { return tableMap.hasTable(tableId); } SQLDatabase(@Nonnull Logger logger, @Nonnull SpringJDBCAgent jdbcAgent); void checkTables(); void checkTables(@Nullable PlaceholderSet placeholderSet); @Nullable Boolean checkTable(@Nonnull String tableId); boolean checkTable(@Nonnull Table table); @Nullable Boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull String tableId); boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull Table table); @Nullable Boolean checkTable(@Nonnull String tableId,
                            @Nullable PlaceholderSet placeholders); boolean checkTable(@Nonnull Table table,
                            @Nullable PlaceholderSet placeholders); boolean checkTable(@Nonnull JdbcTemplate template, @Nonnull Table table,
                            @Nullable PlaceholderSet placeholders); SpringJDBCAgent getJdbcAgent(); TableMap getTableMap(); boolean hasTable(@Nonnull String tableId); boolean hasTable(@Nonnull Table table); boolean hasTableByName(@Nonnull String tableName); @Nullable String getTableIdByName(@Nullable String tableName); @Nullable Table getTable(@Nullable String tableId); @Nullable String getTableName(@Nullable String tableId); void addTable(@Nonnull String id, @Nonnull String name); void addTable(@Nonnull String id, @Nonnull String name, @Nullable String schema); void addTable(@Nonnull String id, @Nonnull Table table); boolean removeTable(@Nonnull Table table); @Nullable Table removeTable(@Nonnull String id); Map<String, Table> getTables();  }