Class ReactorQueryEngine

java.lang.Object
org.springframework.data.aerospike.query.ReactorQueryEngine

public class ReactorQueryEngine
extends Object
This class provides a multi-filter reactive query engine that augments the query capability in Aerospike.
Author:
Sergii Karpenko, Anastasiia Smirnova
  • Constructor Summary

    Constructors
    Constructor Description
    ReactorQueryEngine​(com.aerospike.client.reactor.IAerospikeReactorClient client, StatementBuilder statementBuilder, com.aerospike.client.policy.QueryPolicy queryPolicy)  
  • Method Summary

    Modifier and Type Method Description
    reactor.core.publisher.Flux<com.aerospike.client.query.KeyRecord> select​(String namespace, String set, com.aerospike.client.query.Filter filter, Qualifier... qualifiers)
    Select records filtered by a Filter and Qualifiers
    void setScansEnabled​(boolean scansEnabled)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReactorQueryEngine

      public ReactorQueryEngine​(com.aerospike.client.reactor.IAerospikeReactorClient client, StatementBuilder statementBuilder, com.aerospike.client.policy.QueryPolicy queryPolicy)
  • Method Details

    • select

      public reactor.core.publisher.Flux<com.aerospike.client.query.KeyRecord> select​(String namespace, String set, com.aerospike.client.query.Filter filter, Qualifier... qualifiers)
      Select records filtered by a Filter and Qualifiers
      Parameters:
      namespace - Namespace to storing the data
      set - Set storing the data
      filter - Aerospike Filter to be used
      qualifiers - Zero or more Qualifiers for the update query
      Returns:
      A Flux to iterate over the results
    • setScansEnabled

      public void setScansEnabled​(boolean scansEnabled)