/** * @return collection of the non-system keyspaces (note that this count as system only the * non replicated keyspaces, so keyspace like system_traces which are replicated are actually * returned. See getUserKeyspace() below if you don't want those) */ public List<String> getNonSystemKeyspaces() { return ImmutableList.copyOf(getNonSystemKeyspacesSet()); }
/** * @return collection of the non-system keyspaces (note that this count as system only the * non replicated keyspaces, so keyspace like system_traces which are replicated are actually * returned. See getUserKeyspace() below if you don't want those) */ public List<String> getNonSystemKeyspaces() { return ImmutableList.copyOf(getNonSystemKeyspacesSet()); }
/** * @return collection of the user defined keyspaces */ public List<String> getUserKeyspaces() { return ImmutableList.copyOf(Sets.difference(getNonSystemKeyspacesSet(), SchemaConstants.REPLICATED_SYSTEM_KEYSPACE_NAMES)); }
/** * @return collection of the user defined keyspaces */ public List<String> getUserKeyspaces() { return ImmutableList.copyOf(Sets.difference(getNonSystemKeyspacesSet(), SchemaConstants.REPLICATED_SYSTEM_KEYSPACE_NAMES)); }
/** * @return collection of the non-system keyspaces (note that this count as system only the * non replicated keyspaces, so keyspace like system_traces which are replicated are actually * returned. See getUserKeyspace() below if you don't want those) */ public List<String> getNonSystemKeyspaces() { return ImmutableList.copyOf(getNonSystemKeyspacesSet()); }
/** * @return collection of the non-system keyspaces (note that this count as system only the * non replicated keyspaces, so keyspace like system_traces which are replicated are actually * returned. See getUserKeyspace() below if you don't want those) */ public List<String> getNonSystemKeyspaces() { return ImmutableList.copyOf(getNonSystemKeyspacesSet()); }
/** * @return collection of the user defined keyspaces */ public List<String> getUserKeyspaces() { return ImmutableList.copyOf(Sets.difference(getNonSystemKeyspacesSet(), SchemaConstants.REPLICATED_SYSTEM_KEYSPACE_NAMES)); }
/** * @return collection of the user defined keyspaces */ public List<String> getUserKeyspaces() { return ImmutableList.copyOf(Sets.difference(getNonSystemKeyspacesSet(), replicatedSystemKeyspaceNames)); }