Click or drag to resize

BatchKeyspace 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. If null, it will operate on the default keyspace set during initialization (if it was set).

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

Namespace:  Cassandra.Data.Linq
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public override string Keyspace { get; }

Property Value

Type: String

Implements

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