Package com.aerospike.client.policy

Examples of com.aerospike.client.policy.QueryPolicy


   * @return            record iterator
   * @throws AerospikeException  if query fails
   */
  public final RecordSet query(QueryPolicy policy, Statement statement) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryRecordExecutor executor = new QueryRecordExecutor(policy, statement, cluster.getNodes());
    return executor.getRecordSet();
  }
View Full Code Here


    String packageName,
    String functionName,
    Value... functionArgs
  ) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryAggregateExecutor executor = new QueryAggregateExecutor(policy, statement, cluster.getNodes(), packageName, functionName, functionArgs);
    return executor.getResultSet();
  }
View Full Code Here

   * @return            record iterator
   * @throws AerospikeException  if query fails
   */
  public final RecordSet query(QueryPolicy policy, Statement statement) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryRecordExecutor executor = new QueryRecordExecutor(cluster, policy, statement);
    executor.execute();
    return executor.getRecordSet();
  }
View Full Code Here

    String packageName,
    String functionName,
    Value... functionArgs
  ) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryAggregateExecutor executor = new QueryAggregateExecutor(cluster, policy, statement, packageName, functionName, functionArgs);
    executor.execute();
    return executor.getResultSet();
  }
View Full Code Here

   * @return            record iterator
   * @throws AerospikeException  if query fails
   */
  public final RecordSet query(QueryPolicy policy, Statement statement) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryRecordExecutor executor = new QueryRecordExecutor(cluster, policy, statement);
    executor.execute();
    return executor.getRecordSet();
  }
View Full Code Here

    String packageName,
    String functionName,
    Value... functionArgs
  ) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryAggregateExecutor executor = new QueryAggregateExecutor(cluster, policy, statement, packageName, functionName, functionArgs);
    executor.execute();
    return executor.getResultSet();
  }
View Full Code Here

   * @return            record iterator
   * @throws AerospikeException  if query fails
   */
  public final RecordSet query(QueryPolicy policy, Statement statement) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryRecordExecutor executor = new QueryRecordExecutor(cluster, policy, statement);
    executor.execute();
    return executor.getRecordSet();
  }
View Full Code Here

    String packageName,
    String functionName,
    Value... functionArgs
  ) throws AerospikeException {
    if (policy == null) {
      policy = new QueryPolicy();
    }
    QueryAggregateExecutor executor = new QueryAggregateExecutor(cluster, policy, statement, packageName, functionName, functionArgs);
    executor.execute();
    return executor.getResultSet();
  }
View Full Code Here

    }
    else {
      this.readPolicyDefault = new Policy();
      this.writePolicyDefault = new WritePolicy();
      this.scanPolicyDefault = new ScanPolicy();
      this.queryPolicyDefault = new QueryPolicy();
    }
  }
View Full Code Here

    }
    else {
      this.readPolicyDefault = new Policy();
      this.writePolicyDefault = new WritePolicy();
      this.scanPolicyDefault = new ScanPolicy();
      this.queryPolicyDefault = new QueryPolicy();
      this.batchPolicyDefault = new BatchPolicy();
    }
  }
View Full Code Here

TOP

Related Classes of com.aerospike.client.policy.QueryPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.