Description:
Put a document to Couchbase Server via Key/Value access.
Tags:
nosql, couchbase, database, put
Properties:
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the Expression Language Guide.
Name | Default Value | Allowable Values | Description |
Couchbase Cluster Controller Service |
Controller Service API: CouchbaseClusterControllerService Implementation: CouchbaseClusterService |
A Couchbase Cluster Controller Service which manages connections to a Couchbase cluster. | |
Bucket Name | default | The name of bucket to access. | |
Document Type | Json |
* Json * Binary |
The type of contents. |
Document Id |
A static, fixed Couchbase document id, or an expression to construct the Couchbase document id. Supports Expression Language: true |
||
Persist To | NONE |
* MASTER * NONE * ONE * TWO * THREE * FOUR |
Durability constraint about disk persistence. |
Replicate To | NONE |
* NONE * ONE * TWO * THREE |
Durability constraint about replication. |
Relationships:
Name | Description |
retry | All FlowFiles that cannot written to Couchbase Server but can be retried are routed to this relationship. |
failure | All FlowFiles that cannot written to Couchbase Server and can't be retried are routed to this relationship. |
success | All FlowFiles that are written to Couchbase Server are routed to this relationship. |
Reads Attributes:
Name | Description |
uuid | Used as a document id if 'Document Id' is not specified |
Writes Attributes:
Name | Description |
couchbase.cluster | Cluster where the document was stored. |
couchbase.bucket | Bucket where the document was stored. |
couchbase.doc.id | Id of the document. |
couchbase.doc.cas | CAS of the document. |
couchbase.doc.expiry | Expiration of the document. |
couchbase.exception | If Couchbase related error occurs the CouchbaseException class name will be captured here. |
See Also:
CouchbaseClusterControllerService