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: Dse
Assembly: Dse (in Dse.dll) Version: 2.1.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