コード例 #1
0
ファイル: Client.cs プロジェクト: mehtarakesh/Nector
        public void deleteRow(string keyspace, Object columnFamily, Object key)
        {
            client.set_keyspace(keyspace);
            ColumnPath columnPath = new ColumnPath();

            columnPath.Column_family = columnFamily.ToString();
            client.remove(key.ToByteArray(), columnPath, createTimestamp(), consistencyLevel);
        }
コード例 #2
0
 public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient, ILog logger)
 {
     cassandraClient.remove(
         PartitionKey,
         new ColumnPath {
         Column_family = columnFamily
     },
         timestamp ?? Timestamp.Now.Ticks,
         consistencyLevel);
 }
コード例 #3
0
 public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient)
 {
     cassandraClient.remove(
         PartitionKey,
         new ColumnPath {
         Column_family = columnFamily
     },
         timestamp ?? DateTimeService.UtcNow.Ticks,
         consistencyLevel);
 }