Click or drag to resize
StatementKeyspace Property
Returns the keyspace this query operates on.

Note that not all Statement implementations specify on which keyspace they operate on so this method can return null.

The keyspace returned is used as a hint for token-aware routing.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public virtual string Keyspace { get; }

Property Value

Type: String
Remarks
Consider using a ISession connected to single keyspace using Connect(String).
See Also