/// <summary> /// Returns the Keyspace with given name /// </summary> /// <param name="keyspace"></param> /// <returns></returns> public Keyspace getKeyspace(String keyspace) { KsDef ks = null; try { ks = client.describe_keyspace(keyspace); } catch (InvalidRequestException e) { } return(ThriftUtility.ToKeyspaceFromKsDef(ks)); }
public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient) { var keyspaceDescription = cassandraClient.describe_keyspace(keyspace); KeyspaceInformation = keyspaceDescription.FromCassandraKsDef(); }