Is there an easy way to count distinct rows in one set?


#1

Is there an easy way to count distinct rows in one set?


#2

you can invoke the info method in java:

Info.request("sets/test/users")

and you get a result of:

n_objects=1036:set-stop-write-count=0:set-evict-hwm-count=0:set-enable-xdr=use-default:set-delete=false;

n_objects is the number of unique objects in the set.