Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: Python 1.0
Community Wiki and Resources
Download Client Library
Python Client Library
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Client Library: Python 1.0
Child Sections
Chapters

Chapter 8. Connection Operations

Table of Contents

8.1. Done Method

Table 8.1. Python Client Library Connection Methods

MethodTitle
object.bucket_select(bucket) Select bucket
object.complete_onlineupdate() Stop onlineupdate
object.delete_vbucket(vbucket) Delete vbucket
object.deregister_tap_client(tap-name) Deregister tap client
object.get_vbucket_state(vbucket) Get vbucket state
object.noop() Send a noop command
object.sasl_auth_plain(sasl-user, sasl-password [, sasl-for-user ]) Perform plain sasl auth
object.sasl_auth_start(sasl-mechanism, sasl-data) Start a sasl auth sessionds
object.sasl_mechanisms() Get the supported SASL methods
object.set_flush_param(flush-param-key, flush-param-value) Set flush parameter
object.set_tap_param(tap-key, tap-value) Set tap parameter
object.set_vbucket_state(vbucket, vbucket-state) Set vbucket state
object.start_onlineupdate() Start onlineupdate
object.start_persistence() Start persistence
object.start_replication() Start replication
object.stop_persistence() Stop persistence
object.stop_replication() Stop replication
object.version() Returns the versions of all servers in the server pool

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