Uses of Class
org.apache.cassandra.db.Keyspace
Packages that use Keyspace
Package
Description
-
Uses of Keyspace in org.apache.cassandra.db
Fields in org.apache.cassandra.db declared as KeyspaceMethods in org.apache.cassandra.db that return KeyspaceModifier and TypeMethodDescriptionstatic KeyspaceKeyspace.mockKS(KeyspaceMetadata metadata) static Keyspacestatic KeyspaceKeyspace.open(String keyspaceName, SchemaProvider schema, boolean loadSSTables) static KeyspaceKeyspace.openWithoutSSTables(String keyspaceName) Methods in org.apache.cassandra.db that return types with arguments of type KeyspaceModifier and TypeMethodDescriptionKeyspace.all()Keyspace.allExisting()Keyspace.nonLocalStrategy()Keyspace.system()Methods in org.apache.cassandra.db with parameters of type KeyspaceModifier and TypeMethodDescriptionstatic ColumnFamilyStoreColumnFamilyStore.createColumnFamilyStore(Keyspace keyspace, String columnFamily, TableMetadataRef metadata, boolean loadSSTables) static ColumnFamilyStoreColumnFamilyStore.createColumnFamilyStore(Keyspace keyspace, 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 KeyspaceModifierConstructorDescriptionCassandraKeyspaceWriteHandler(Keyspace keyspace) ColumnFamilyStore(Keyspace keyspace, String columnFamilyName, 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 -
Uses of Keyspace in org.apache.cassandra.db.view
Constructors in org.apache.cassandra.db.view with parameters of type Keyspace -
Uses of Keyspace in org.apache.cassandra.index
Methods in org.apache.cassandra.index with parameters of type KeyspaceModifier and TypeMethodDescription<E extends Endpoints<E>>
EIndexStatusManager.filterForQuery(E liveEndpoints, Keyspace keyspace, Index.QueryPlan indexQueryPlan, ConsistencyLevel level) Remove endpoints whose indexes are not queryable for the specifiedIndex.QueryPlan. -
Uses of Keyspace in org.apache.cassandra.io.sstable
Methods in org.apache.cassandra.io.sstable with parameters of type KeyspaceModifier and TypeMethodDescriptionabstract com.codahale.metrics.Gauge<T>GaugeProvider.getKeyspaceGauge(Keyspace keyspace) com.codahale.metrics.Gauge<T>SimpleGaugeProvider.getKeyspaceGauge(Keyspace keyspace) -
Uses of Keyspace in org.apache.cassandra.locator
Fields in org.apache.cassandra.locator declared as KeyspaceModifier and TypeFieldDescriptionprotected final KeyspaceReplicaPlan.AbstractReplicaPlan.keyspaceMethods in org.apache.cassandra.locator that return KeyspaceModifier and TypeMethodDescriptionReplicaPlan.AbstractReplicaPlan.keyspace()ReplicaPlan.keyspace()Methods in org.apache.cassandra.locator with parameters of type KeyspaceModifier and TypeMethodDescriptionstatic 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.ForRangeReadReplicaPlans.forFullRangeRead(Keyspace keyspace, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, Set<InetAddressAndPort> endpointsToContact, int vnodeCount) Construct a plan for reading the provided range at the provided consistency level on given endpoints.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, Index.QueryPlan indexQueryPlan, 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, Index.QueryPlan indexQueryPlan, 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, 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 EndpointsForTokenstatic EndpointsForTokenConstructors in org.apache.cassandra.locator with parameters of type KeyspaceModifierConstructorDescriptionForFullRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount) 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 -
Uses of Keyspace in org.apache.cassandra.repair.autorepair
Methods in org.apache.cassandra.repair.autorepair with parameters of type KeyspaceModifier and TypeMethodDescriptionAutoRepairUtils.getAllMVs(AutoRepairConfig.RepairType repairType, Keyspace keyspace, TableMetadata tableMetadata) static booleanAutoRepairUtils.shouldConsiderKeyspace(Keyspace ks) -
Uses of Keyspace in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema that return KeyspaceModifier and TypeMethodDescriptionSchema.getKeyspaceInstance(String keyspaceName) Get keyspace instance by nameSchemaProvider.getKeyspaceInstance(String keyspaceName) Schema.maybeAddKeyspaceInstance(String keyspaceName, Supplier<Keyspace> loadFunction) SchemaProvider.maybeAddKeyspaceInstance(String keyspaceName, Supplier<Keyspace> loadFunction) Method parameters in org.apache.cassandra.schema with type arguments of type KeyspaceModifier and TypeMethodDescriptionSchema.maybeAddKeyspaceInstance(String keyspaceName, Supplier<Keyspace> loadFunction) SchemaProvider.maybeAddKeyspaceInstance(String keyspaceName, Supplier<Keyspace> loadFunction) -
Uses of Keyspace in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return Keyspace -
Uses of Keyspace in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos with parameters of type KeyspaceModifier and TypeMethodDescriptionstatic booleanPaxosRepair.hasSufficientLiveNodesForTopologyChange(Keyspace keyspace, Range<Token> range, Collection<InetAddressAndPort> liveEndpoints) checks if we have enough live nodes to perform a paxos repair for topology repair.