CAST supports Couchbase via its NoSQL for Java extension. Details about the support provided for Java SDK source code is discussed below.
Supported Libraries
Library | Version | Supported |
---|---|---|
Couchbase | 2.0.0 to 3.4.7 |
Supported Operations (2.x)
Support is provided for CRUD operations only when jars are configured inside the classpath. In all other situations, CRUD operations for Couchbase 2.x are NOT supported.
Operation | Methods Supported |
---|---|
Insert | |
Select | |
Delete | |
Update |
Supported Operations (3.x)
Support is provided for CRUD operations in Couchbase 3.x in all situations.
Operation | Methods Supported |
---|---|
Insert | |
Select | |
Delete | |
Update |
What results can you expect?
Objects (Couchbase 2.x)
Icon | Description |
---|---|
Java Couchbase Cluster | |
Java Couchbase Bucket | |
Java Couchbase Unknown Cluster | |
| Java Couchbase Unknown Bucket |
Objects (Couchbase 3.x)
Icon | Description |
---|---|
Java Couchbase Cluster | |
Java Couchbase Bucket | |
Java Couchbase Collection | |
Java Couchbase Unknown Cluster | |
| Java Couchbase Unknown Bucket |
Java Couchbase Unknown Collection |
Links (Couchbase 2.x)
Links are created for transaction and function point needs:
Link type | Source and destination of link | Methods supported |
---|---|---|
belongsTo | From Java Couchbase Collection object to Java Couchbase Bucket object and Java Couchbase Bucket object to Java Couchbase Cluster object | |
useLink | Between the caller Couchbase Java Method objects and Java Couchbase Buckets/Collection objects |
|
useSelectLink |
| |
useUpdateLink |
| |
useDeleteLink |
| |
useInsertLink |
|
Links (Couchbase 3.x)
Link type | Source and destination of link | Methods supported |
---|---|---|
parentLink |
| |
useLink | Between the caller Couchbase Java Method objects and Couchbase Buckets objects |
|
useSelectLink |
| |
useUpdateLink |
| |
useDeleteLink |
| |
useInsertLink |
|
Code examples
Cluster and Bucket Object
Insert operations
Select operations
Update Operations
Delete Operations
Batch Operations
Queries
Limitations
- If the bucket or cluster name is not resolved, then "Java Couchbase Unknown Objects" will be created.