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 TypeMethodDescription<K,V> Collection<org.eclipse.jnosql.communication.Value> sql(com.hazelcast.query.Predicate<K, V> predicate) Executes hazelcast sqlCollection<org.eclipse.jnosql.communication.Value>Executes hazelcast sqlCollection<org.eclipse.jnosql.communication.Value>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
Executes hazelcast sql- Parameters:
query- the sql- Returns:
- the result sql
- Throws:
NullPointerException- when there is null sql
-
sql
Executes hazelcast sql with named sql. E.g.: bucketManager.sql("name = :name", singletonMap("name", "Matrix"))- Parameters:
query- the sqlparams- 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 typeV- the value type- Parameters:
predicate- the hazelcast predicate- Returns:
- the result sql
- Throws:
NullPointerException- when there is null predicate
-