aerospike / aerospike-client-csharp

Aerospike C# Client Library
70 stars 47 forks source link

How to use Predicate Filtering #23

Closed Caldas closed 7 years ago

Caldas commented 7 years ago

How can I use Predicate Filtering from C# client?

BrianNichols commented 7 years ago

Look at QueryPredExp.cs in the AerospikeDemo project.

https://github.com/aerospike/aerospike-client-csharp/blob/master/Framework/AerospikeDemo/QueryPredExp.cs

Caldas commented 7 years ago

Thanks,

Another question. Why on the sample there is a lua filter registration If se dont see an aggregation call? When the UDF is used on this case?

Em 30 de mar de 2017 2:45 PM, "Brian Nichols" notifications@github.com escreveu:

Look at QueryPredExp.cs in the AerospikeDemo project.

https://github.com/aerospike/aerospike-client-csharp/blob/ master/Framework/AerospikeDemo/QueryPredExp.cs

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aerospike/aerospike-client-csharp/issues/23#issuecomment-290487702, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5QPZNkkEHplnY2Sybd3wjHDjlHSCb0ks5rq-pMgaJpZM4MurxU .

BrianNichols commented 7 years ago

It's not needed. The example was apparently copied from an other example and then modified for PredExp and wasn't completely cleaned up. We will remove Register() from the PredExp example in the next release.

Caldas commented 7 years ago

Thanks, since it's not needed I will be able to upgrade my project to .net core ;)