FluentCassandra.Apache.Cassandra.Cassandra.Iface.system_add_keyspace(KsDef)

Here are the examples of the csharp api class FluentCassandra.Apache.Cassandra.Cassandra.Iface.system_add_keyspace(KsDef) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: fluentcassandra
Source File: Cassandra.cs
public void system_add_keyspace_Process(int seqid, TProtocol iprot, TProtocol oprot)
      {
        system_add_keyspace_args args = new system_add_keyspace_args();
        args.Read(iprot);
        iprot.ReadMessageEnd();
        system_add_keyspace_result result = new system_add_keyspace_result();
        try {
          result.Success = iface_.system_add_keyspace(args.Ks_def);
        } catch (InvalidRequestException ire) {
          result.Ire = ire;
        } catch (SchemaDisagreementException sde) {
          result.Sde = sde;
        }
        oprot.WriteMessageBegin(new TMessage("system_add_keyspace", TMessageType.Reply, seqid)); 
        result.Write(oprot);
        oprot.WriteMessageEnd();
        oprot.Transport.Flush();
      }