Interface HazelcastBucketManager

All Superinterfaces:
AutoCloseable, org.eclipse.jnosql.communication.keyvalue.BucketManager

public interface HazelcastBucketManager extends org.eclipse.jnosql.communication.keyvalue.BucketManager
The hazelcast implementation of BucketManager
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> Collection<org.eclipse.jnosql.communication.Value>
    sql(com.hazelcast.query.Predicate<K,V> predicate)
    Executes hazelcast sql
    Collection<org.eclipse.jnosql.communication.Value>
    sql(String query)
    Executes hazelcast sql
    Collection<org.eclipse.jnosql.communication.Value>
    sql(String query, Map<String,Object> params)
    Executes hazelcast sql with named sql.

    Methods inherited from interface org.eclipse.jnosql.communication.keyvalue.BucketManager

    close, delete, delete, get, get, name, put, put, put, put, put
  • Method Details

    • sql

      Collection<org.eclipse.jnosql.communication.Value> sql(String query)
      Executes hazelcast sql
      Parameters:
      query - the sql
      Returns:
      the result sql
      Throws:
      NullPointerException - when there is null sql
    • sql

      Collection<org.eclipse.jnosql.communication.Value> sql(String query, Map<String,Object> params)
      Executes hazelcast sql with named sql. E.g.: bucketManager.sql("name = :name", singletonMap("name", "Matrix"))
      Parameters:
      query - the sql
      params - the params to bind
      Returns:
      the result sql
      Throws:
      NullPointerException - when there is null sql
    • sql

      <K, V> Collection<org.eclipse.jnosql.communication.Value> sql(com.hazelcast.query.Predicate<K,V> predicate)
      Executes hazelcast sql
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      predicate - the hazelcast predicate
      Returns:
      the result sql
      Throws:
      NullPointerException - when there is null predicate