Search:

Search all manuals
Search this manual
Manual
Membase Client Library: Python
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Membase Client Library: Python
Child Sections
Chapters

Chapter 7. Membase Client Library: Python — Connection Operations

Table of Contents

7.1. Done Method
API Callobject.bucket_select(bucket)
Asynchronousno
Description Select bucket
ReturnsBoolean ( Boolean (true/false) )
Arguments 
bucket Bucket name used for storing objects.
API Callobject.complete_onlineupdate()
Asynchronousno
Description Stop onlineupdate
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.delete_vbucket(vbucket)
Asynchronousno
Description Delete vbucket
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String vbucket Name of the vBucket to be used for storage.
API Callobject.get_vbucket_state(vbucket)
Asynchronousno
Description Get vbucket state
Returnsstring ( vBucket state )
Arguments 
String vbucket Name of the vBucket to be used for storage.
API Callobject.version()
Asynchronousno
Description Returns the versions of all servers in the server pool
Returnsarray; supported values:
 arrayArray of the version number for each memcached server in cluster 
Arguments 
 None  
API Callobject.noop()
Asynchronousno
Description Send a noop command
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.sasl_auth_plain(sasl-user, sasl-password [, sasl-for-user ])
Asynchronousno
Description Perform plain sasl auth
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String sasl-user SASL authentication user
String sasl-password SASL authentication password
String sasl-for-user SASL token for user
API Callobject.sasl_auth_start(sasl-mechanism, sasl-data)
Asynchronousno
Description Start a sasl auth session
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String sasl-mechanism SASL authentication mechanism type
String sasl-data SASL token
API Callobject.sasl_mechanisms()
Asynchronousno
Description Get the supported SASL methods
Returnsarray ( List of objects or key/value pairs )
Arguments 
 None  
API Callobject.set_flush_param(flush-param-key, flush-param-value)
Asynchronousno
Description Set flush parameter
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String flush-param-key Flush parameter key
String flush-param-value Flush parameter value
API Callobject.set_tap_param(tap-key, tap-value)
Asynchronousno
Description Set tap parameter
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String tap-key TAP parameter key
String tap-value TAP parameter value
API Callobject.set_vbucket_state(vbucket, vbucket-state)
Asynchronousno
Description Set vbucket state
ReturnsBoolean ( Boolean (true/false) )
Arguments 
String vbucket Name of the vBucket to be used for storage.
String vbucket-state State of the vBucket to be used for storage.
API Callobject.start_onlineupdate()
Asynchronousno
Description Start onlineupdate
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.start_persistence()
Asynchronousno
Description Start persistence
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.start_replication()
Asynchronousno
Description Start replication
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.stop_persistence()
Asynchronousno
Description Stop persistence
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None  
API Callobject.stop_replication()
Asynchronousno
Description Stop replication
ReturnsBoolean ( Boolean (true/false) )
Arguments 
 None