Class CouchbaseBucketManager

java.lang.Object
org.eclipse.jnosql.databases.couchbase.communication.CouchbaseBucketManager
All Implemented Interfaces:
AutoCloseable, org.eclipse.jnosql.communication.keyvalue.BucketManager

public class CouchbaseBucketManager extends Object implements org.eclipse.jnosql.communication.keyvalue.BucketManager
The couchbase implementation to BucketManager
Closing a CouchbaseBucketManager has no effect.
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public <K, V> void put(K key, V value)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) throws NullPointerException
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
    • put

      public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity, Duration ttl)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> keyValueEntities)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> keyValueEntities, Duration ttl)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • get

      public <K> Optional<org.eclipse.jnosql.communication.Value> get(K key) throws NullPointerException
      Specified by:
      get in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
    • get

      public <K> Iterable<org.eclipse.jnosql.communication.Value> get(Iterable<K> keys)
      Specified by:
      get in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • delete

      public <K> void delete(K key)
      Specified by:
      delete in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • delete

      public <K> void delete(Iterable<K> keys)
      Specified by:
      delete in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • close

      public void close()
      Closing a CouchbaseBucketManager has no effect.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • toString

      public String toString()
      Overrides:
      toString in class Object