public List <Keyspace> getKeyspaces() { List <KsDef> ks = null; try { ks = client.describe_keyspaces(); } catch (InvalidRequestException e) { } List <Keyspace> keyspaces = ThriftUtility.ToKeyspaceListFromKsfDefList(ks); return(keyspaces); }
public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient) { var keySpaces = cassandraClient.describe_keyspaces(); Keyspaces = BuildKeyspaces(keySpaces); }