@Test public void shouldSayANonNamespacedVisibleTableIsNotHidden() { assertThat(HiddenTables.isHidden(TableReference.createWithEmptyNamespace("table")), is(false)); }
public static boolean isHidden(TableReference tableReference) { return CASSANDRA_TABLES.contains(tableReference) || AtlasDbConstants.DEPRECATED_SWEEP_TABLES_WITH_NO_METADATA.contains(tableReference) || tableReference.getTablename().startsWith(AtlasDbConstants.LOCK_TABLE_PREFIX); }
HiddenTables { public static boolean isHidden(TableReference tableReference) { return CASSANDRA_TABLES.contains(tableReference) || AtlasDbConstants.DEPRECATED_SWEEP_TABLES_WITH_NO_METADATA.contains(tableReference) || tableReference.getTablename().startsWith(AtlasDbConstants.LOCK_TABLE_PREFIX); } }
HiddenTables { public static boolean isHidden(TableReference tableReference) { return CASSANDRA_TABLES.contains(tableReference) || AtlasDbConstants.DEPRECATED_SWEEP_TABLES_WITH_NO_METADATA.contains(tableReference) || tableReference.getTablename().startsWith(AtlasDbConstants.LOCK_TABLE_PREFIX); } private  HiddenTables(); }
HiddenTables { public static boolean isHidden(TableReference tableReference) { return CASSANDRA_TABLES.contains(tableReference) || AtlasDbConstants.DEPRECATED_SWEEP_TABLES_WITH_NO_METADATA.contains(tableReference) || tableReference.getTablename().startsWith(AtlasDbConstants.LOCK_TABLE_PREFIX); } private  HiddenTables(); static boolean isHidden(TableReference tableReference); }
HiddenTables { public static boolean isHidden(TableReference tableReference) { return CASSANDRA_TABLES.contains(tableReference) || AtlasDbConstants.DEPRECATED_SWEEP_TABLES_WITH_NO_METADATA.contains(tableReference) || tableReference.getTablename().startsWith(AtlasDbConstants.LOCK_TABLE_PREFIX); } private  HiddenTables(); static boolean isHidden(TableReference tableReference);  }