Uses of Class
org.apache.cassandra.db.Keyspace
-
-
Uses of Keyspace in org.apache.cassandra.db
Fields in org.apache.cassandra.db declared as Keyspace Modifier and Type Field Description KeyspaceColumnFamilyStore. keyspaceMethods in org.apache.cassandra.db that return Keyspace Modifier and Type Method Description static KeyspaceKeyspace. mockKS(KeyspaceMetadata metadata)static KeyspaceKeyspace. open(java.lang.String keyspaceName)static KeyspaceKeyspace. open(java.lang.String keyspaceName, SchemaProvider schema, boolean loadSSTables)static KeyspaceKeyspace. openWithoutSSTables(java.lang.String keyspaceName)Methods in org.apache.cassandra.db that return types with arguments of type Keyspace Modifier and Type Method Description static java.lang.Iterable<Keyspace>Keyspace. all()static java.util.stream.Stream<Keyspace>Keyspace. allExisting()static java.lang.Iterable<Keyspace>Keyspace. nonLocalStrategy()static java.lang.Iterable<Keyspace>Keyspace. system()Methods in org.apache.cassandra.db with parameters of type Keyspace Modifier and Type Method Description static ColumnFamilyStoreColumnFamilyStore. createColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamily, TableMetadataRef metadata, boolean loadSSTables)static ColumnFamilyStoreColumnFamilyStore. createColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamily, TableMetadataRef metadata, Directories directories, boolean loadSSTables, boolean registerBookkeeping, boolean offline)This is only directly used by offline toolsstatic ColumnFamilyStoreColumnFamilyStore. createColumnFamilyStore(Keyspace keyspace, TableMetadataRef metadata, boolean loadSSTables)Constructors in org.apache.cassandra.db with parameters of type Keyspace Constructor Description CassandraKeyspaceWriteHandler(Keyspace keyspace)ColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamilyName, java.util.function.Supplier<? extends SSTableId> sstableIdGenerator, TableMetadataRef metadata, Directories directories, boolean loadSSTables, boolean registerBookeeping, boolean offline) -
Uses of Keyspace in org.apache.cassandra.db.repair
Constructors in org.apache.cassandra.db.repair with parameters of type Keyspace Constructor Description CassandraKeyspaceRepairManager(Keyspace keyspace) -
Uses of Keyspace in org.apache.cassandra.db.view
Constructors in org.apache.cassandra.db.view with parameters of type Keyspace Constructor Description ViewManager(Keyspace keyspace) -
Uses of Keyspace in org.apache.cassandra.locator
Fields in org.apache.cassandra.locator declared as Keyspace Modifier and Type Field Description protected KeyspaceReplicaPlan.AbstractReplicaPlan. keyspaceMethods in org.apache.cassandra.locator that return Keyspace Modifier and Type Method Description KeyspaceReplicaPlan.AbstractReplicaPlan. keyspace()KeyspaceReplicaPlan. keyspace()Methods in org.apache.cassandra.locator with parameters of type Keyspace Modifier and Type Method Description static ReplicaPlan.ForWriteReplicaPlans. forForwardingCounterWrite(Keyspace keyspace, Token token, Replica replica)A forwarding counter write is always sent to a single owning coordinator for the range, by the original coordinator (if it is not itself an owner)static ReplicaPlan.ForPaxosWriteReplicaPlans. forPaxos(Keyspace keyspace, DecoratedKey key, ConsistencyLevel consistencyForPaxos)Construct the plan for a paxos round - NOT the write or read consistency level for either the write or comparison, but for the paxos linearisation agreement.static ReplicaPlan.ForRangeReadReplicaPlans. forRangeRead(Keyspace keyspace, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, int vnodeCount)Construct a plan for reading the provided range at the provided consistency level.static ReplicaPlan.ForTokenReadReplicaPlans. forRead(Keyspace keyspace, Token token, ConsistencyLevel consistencyLevel, SpeculativeRetryPolicy retry)Construct a plan for reading the provided token at the provided consistency level.static ReplicaPlan.ForRangeReadReplicaPlans. forSingleReplicaRead(Keyspace keyspace, AbstractBounds<PartitionPosition> range, Replica replica, int vnodeCount)Construct a plan for reading from a single node - this permits no speculation or read-repairstatic ReplicaPlan.ForTokenReadReplicaPlans. forSingleReplicaRead(Keyspace keyspace, Token token, Replica replica)Construct a plan for reading from a single node - this permits no speculation or read-repairstatic ReplicaPlan.ForWriteReplicaPlans. forSingleReplicaWrite(Keyspace keyspace, Token token, Replica replica)Construct a ReplicaPlan for writing to exactly one node, with CL.ONE.static ReplicaLayout.ForTokenWriteReplicaLayout. forTokenWriteLiveAndDown(Keyspace keyspace, Token token)Gets the 'natural' and 'pending' replicas that own a given token, with no filtering or processing.static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, Token token, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, EndpointsForToken natural, EndpointsForToken pending, java.util.function.Predicate<Replica> isAlive, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaLayout.ForTokenWrite liveAndDown, ReplicaLayout.ForTokenWrite live, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaLayout.ForTokenWrite liveAndDown, ReplicaPlans.Selector selector)static ReplicaPlan.ForRangeReadReplicaPlans. maybeMerge(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaPlan.ForRangeRead left, ReplicaPlan.ForRangeRead right)Take two range read plans for adjacent ranges, and check if it is OK (and worthwhile) to combine them into a single planstatic EndpointsForTokenEndpointsForToken. natural(Keyspace keyspace, Token token)static EndpointsForTokenEndpointsForToken. pending(Keyspace keyspace, Token token)Constructors in org.apache.cassandra.locator with parameters of type Keyspace Constructor Description ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount)ForTokenRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken candidates, EndpointsForToken contacts)ForWrite(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, EndpointsForToken pending, EndpointsForToken liveAndDown, EndpointsForToken live, EndpointsForToken contact) -
Uses of Keyspace in org.apache.cassandra.metrics
Constructors in org.apache.cassandra.metrics with parameters of type Keyspace Constructor Description KeyspaceMetrics(Keyspace ks)Creates metrics for givenColumnFamilyStore. -
Uses of Keyspace in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema that return Keyspace Modifier and Type Method Description KeyspaceSchema. getKeyspaceInstance(java.lang.String keyspaceName)Get keyspace instance by nameKeyspaceSchemaProvider. getKeyspaceInstance(java.lang.String keyspaceName)KeyspaceSchema. maybeAddKeyspaceInstance(java.lang.String keyspaceName, java.util.function.Supplier<Keyspace> loadFunction)KeyspaceSchemaProvider. maybeAddKeyspaceInstance(java.lang.String keyspaceName, java.util.function.Supplier<Keyspace> loadFunction)Method parameters in org.apache.cassandra.schema with type arguments of type Keyspace Modifier and Type Method Description KeyspaceSchema. maybeAddKeyspaceInstance(java.lang.String keyspaceName, java.util.function.Supplier<Keyspace> loadFunction)KeyspaceSchemaProvider. maybeAddKeyspaceInstance(java.lang.String keyspaceName, java.util.function.Supplier<Keyspace> loadFunction) -
Uses of Keyspace in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return Keyspace Modifier and Type Method Description KeyspaceActiveRepairService.ParentRepairSession. getKeyspace() -
Uses of Keyspace in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos with parameters of type Keyspace Modifier and Type Method Description static booleanPaxosRepair. hasSufficientLiveNodesForTopologyChange(Keyspace keyspace, Range<Token> range, java.util.Collection<InetAddressAndPort> liveEndpoints)checks if we have enough live nodes to perform a paxos repair for topology repair.
-