Class RiakBucketManagerFactory
java.lang.Object
org.eclipse.jnosql.databases.riak.communication.RiakBucketManagerFactory
- All Implemented Interfaces:
AutoCloseable,Function<String,,org.eclipse.jnosql.communication.keyvalue.BucketManager> org.eclipse.jnosql.communication.keyvalue.BucketManagerFactory
public class RiakBucketManagerFactory
extends Object
implements org.eclipse.jnosql.communication.keyvalue.BucketManagerFactory
The riak implementation to
BucketManagerFactory that returns RiakBucketManager
This implementation just has support to apply(String)
So, these metdhos will returns UnsupportedOperationException
BucketManagerFactory.getList(String, Class)
BucketManagerFactory.getSet(String, Class)
BucketManagerFactory.getQueue(String, Class)
BucketManagerFactory.getMap(String, Class, Class)
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<String,org.eclipse.jnosql.communication.keyvalue.BucketManager> - Throws:
UnsupportedOperationException
-
getList
- Specified by:
getListin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManagerFactory- Throws:
UnsupportedOperationException
-
getSet
- Specified by:
getSetin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManagerFactory- Throws:
UnsupportedOperationException
-
getQueue
public <T> Queue<T> getQueue(String bucketName, Class<T> clazz) throws UnsupportedOperationException - Specified by:
getQueuein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManagerFactory- Throws:
UnsupportedOperationException
-
getMap
public <K,V> Map<K,V> getMap(String bucketName, Class<K> keyValue, Class<V> valueValue) throws UnsupportedOperationException - Specified by:
getMapin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManagerFactory- Throws:
UnsupportedOperationException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManagerFactory
-