use of com.hazelcast.cardinality.impl.operations.AggregateOperation in project hazelcast by hazelcast.
the class CardinalityEstimatorProxy method addAsync.
@Override
public InternalCompletableFuture<Void> addAsync(Object obj) {
checkNotNull(obj, "Object is null.");
Data data = getNodeEngine().getSerializationService().toData(obj);
Operation operation = new AggregateOperation(name, data.hash64()).setPartitionId(partitionId);
return invokeOnPartition(operation);
}
Aggregations