If maxConcurrentNodes is not 1, the supplied listener must handle shared data in a thread-safe manner, because the listener will be called by multiple query threads (one thread per node) in parallel.
Requires server version 6.0+ if using a secondary index query.
public void Query(
QueryPolicy policy,
Statement statement,
QueryListener listener
)
AerospikeException | if query fails |