CouchbaseDB Adapter
This adapter provides access to Couchbase buckets through SQL commands, including views and N1QL commands.
Configuration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String userName | Bucket user name | |
String password | Bucket password | |
String nodes | Comma separated list of node IPs |
Handlers
Buckets
Buckets |
Returns a list of buckets available in the current cluster
details
ArgumentsSQL CallSELECT * FROM Couchbase.Buckets Http Call/bsc/couchbase/buckets Output Columns
|
||||||||||||||||||
BulkUpsert
BulkUpsert |
Upserts an array of JSON documents in Couchbase using a database callback mechanism.
details
Arguments
SQL CallEXEC Couchbase.BulkUpsert 'default' Http Call/bsc/couchbase/bulkupsert Output Columns
|
||||||||||||||||||
ClearLoopBack
Loopback |
Removes a loopback connection string from this adapter.
details
Arguments
SQL CallEXEC Couchbase.DeleteLoopBack 'localenzo' Http Call/bsc/couchbase/clearloopback Output ColumnsThis call does not return data. |
||||||||||||||||||
CreateView
CreateView |
Creates a virtual table that points to a Couchbase view
details
Arguments
SQL Callexec Couchbase.CreateView 'myview', 'bucket', 'design', 'view' Http Call/bsc/couchbase/createview Output ColumnsThis call does not return data. |
||||||||||||||||||
CreateVirtualTable
CreateVirtualTable |
Creates a virtual table that is used to access bucket data directly
details
Arguments
SQL Callexec Couchbase.CreateVirtualTable 'beers', 'default', 'int id,string name' Http Call/bsc/couchbase/createvirtualtable Output ColumnsThis call does not return data. |
||||||||||||||||||
DeleteView
DeleteView |
Deletes a virtual table that points to a Couchbase view
details
Arguments
SQL Callexec Couchbase.DeleteView 'myview' Http Call/bsc/couchbase/deleteview Output ColumnsThis call does not return data. |
||||||||||||||||||
DeleteVirtualTable
DeleteVirtualTable |
Deletes a virtual table that is used to access bucket data directly
details
Arguments
SQL Callexec Couchbase.DeleteVirtualTable 'beers' Http Call/bsc/couchbase/deletevirtualtable Output ColumnsThis call does not return data. |
||||||||||||||||||
ListView
ListView |
Returns the list of views
details
ArgumentsSQL Callexec Couchbase.ListView Http Call/bsc/couchbase/listview Output Columns
|
||||||||||||||||||
ListVirtualTable
ListVirtualTable |
Returns the list of views
details
ArgumentsSQL Callexec Couchbase.ListVirtualTable Http Call/bsc/couchbase/listvirtualtable Output Columns
|
||||||||||||||||||
SetLoopBack
Loopback |
Sets a connection string pointing to this Enzo, or another Enzo, or a database server.
details
Arguments
SQL CallEXEC Couchbase.SetLoopBack 'localenzo', 'server=localhost,9550;uid=sa;pwd=password;initial catalog=bsc' Http Call/bsc/couchbase/setloopback Output ColumnsThis call does not return data. |
||||||||||||||||||
UpdateView
UpdateView |
Updates a virtual table that points to a Couchbase view
details
Arguments
SQL Callexec Couchbase.UpdateView 'myview', 'bucket', 'design', 'view' Http Call/bsc/couchbase/updateview Output ColumnsThis call does not return data. |
||||||||||||||||||
UpdateVirtualTable
UpdateVirtualTable |
Updates a virtual table that is used to access bucket data directly
details
Arguments
SQL Callexec Couchbase.UpdateVirtualTable 'beers', 'default', 'int id,string name' Http Call/bsc/couchbase/updatevirtualtable Output ColumnsThis call does not return data. |