Ejemplo n.º 1
0
        public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient, ILog logger)
        {
            var columnParent   = BuildColumnParent();
            var slicePredicate = predicate.ToCassandraSlicePredicate();

            Output = new MultigetQueryHelper(nameof(MultiGetCountCommand), keyspace, columnFamily, consistencyLevel)
                     .EnumerateAllKeysWithPartialFetcher(
                keys,
                queryKeys => cassandraClient.multiget_count(queryKeys, columnParent, slicePredicate, consistencyLevel), logger);
        }
 public override void Execute(Apache.Cassandra.Cassandra.Client cassandraClient)
 {
     Output = cassandraClient.multiget_count(keys, BuildColumnParent(), predicate.ToCassandraSlicePredicate(), consistencyLevel);
 }