Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
AuthKeyspace.metadata() |
Constructor and Description |
---|
Element(java.lang.String keyspace,
java.lang.String name,
java.util.function.BiFunction<KeyspaceMetadata,java.lang.String,java.util.stream.Stream<? extends SchemaElement>> elementsProvider) |
Listing(java.util.function.Function<KeyspaceMetadata,java.util.stream.Stream<? extends SchemaElement>> elementsProvider) |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
AlterTableStatement.AlterColumn.apply(KeyspaceMetadata keyspace,
TableMetadata table) |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
AlterTableStatement.AlterColumn.apply(KeyspaceMetadata keyspace,
TableMetadata table) |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
Keyspace.getMetadata() |
static KeyspaceMetadata |
SystemKeyspace.metadata() |
Modifier and Type | Method and Description |
---|---|
static Keyspace |
Keyspace.mockKS(KeyspaceMetadata metadata) |
void |
Keyspace.setMetadata(KeyspaceMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
VirtualKeyspaceRegistry.getKeyspaceMetadataNullable(java.lang.String name) |
KeyspaceMetadata |
VirtualKeyspace.metadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<KeyspaceMetadata> |
VirtualKeyspaceRegistry.virtualKeyspacesMetadata() |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
SystemDistributedKeyspace.metadata() |
Modifier and Type | Field and Description |
---|---|
KeyspaceMetadata |
KeyspaceMetadata.KeyspaceDiff.after |
KeyspaceMetadata |
KeyspaceMetadata.KeyspaceDiff.before |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params) |
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params,
Tables tables) |
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params,
Tables tables,
Views views,
Types types,
Functions functions) |
KeyspaceMetadata |
Schema.getKeyspaceMetadata(java.lang.String keyspaceName)
Get metadata about keyspace by its name
|
KeyspaceMetadata |
Keyspaces.getNullable(java.lang.String name) |
static KeyspaceMetadata |
SchemaKeyspace.metadata() |
static KeyspaceMetadata |
KeyspaceMetadata.virtual(java.lang.String name,
Tables tables) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Functions functions) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(KeyspaceParams params) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Tables regular) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Types types) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Views views) |
KeyspaceMetadata |
KeyspaceMetadata.withUpdatedUserType(UserType udt)
Returns a new KeyspaceMetadata with all instances of old UDT replaced with the updated version.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<KeyspaceMetadata> |
Keyspaces.get(java.lang.String name)
Get the keyspace with the specified name
|
java.util.Iterator<KeyspaceMetadata> |
Keyspaces.iterator() |
java.util.stream.Stream<KeyspaceMetadata> |
Keyspaces.stream() |
Modifier and Type | Method and Description |
---|---|
Keyspaces.Builder |
Keyspaces.Builder.add(KeyspaceMetadata... keyspaces) |
Keyspaces.Builder |
Keyspaces.Builder.add(KeyspaceMetadata keyspace) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm,
boolean announceLocally) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm,
long timestamp,
boolean announceLocally) |
static java.util.Optional<Mutation> |
MigrationManager.evolveSystemKeyspace(KeyspaceMetadata keyspace,
long generation)
We have a set of non-local, distributed system keyspaces, e.g.
|
void |
Schema.load(KeyspaceMetadata ksm)
Update (or insert) new keyspace definition
|
static Keyspaces |
Keyspaces.of(KeyspaceMetadata... keyspaces) |
Keyspaces |
Keyspaces.withAddedOrUpdated(KeyspaceMetadata keyspace) |
Modifier and Type | Method and Description |
---|---|
Keyspaces.Builder |
Keyspaces.Builder.add(java.lang.Iterable<KeyspaceMetadata> keyspaces) |
Keyspaces |
Keyspaces.filter(java.util.function.Predicate<KeyspaceMetadata> predicate) |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
TraceKeyspace.metadata() |
Copyright © 2009-2020 The Apache Software Foundation