OrientDB Sink
Description
This unit is a Sink unit type.
A unit that stores events into an OrientDB database.
All events enter through the in port. Then, the unit executes the query specified in its properties. Successful results are sent to the OrientDB database using the connection details configured for the unit.
If an error occurs, an event is enriched with standard error fields and sent to the error output port.
Configuration
After dragging this unit into the Flow canvas, double-click it to access its configuration options. The following table describes the configuration options of this unit:
Tab | Field | Description |
---|---|---|
General | Name | Enter a name for the unit. It must start with a letter, and cannot contain spaces. Only letters, numbers, and underscores are allowed. |
Description | Enter a description detailing the scope of the unit. | |
Query | OrientDB SQL query to execute. This is a template and can contain references to the input event fields. | |
Retries | Number of retries in case of failure. | |
Parameters | Parameters | A list of field names to be used as parameters in the query. |
Connection | OrientDB url | The URL (remote:ip:port/database) of the host running the OrientDB database. |
Username | The client name to access OrientDB. | |
Password | The password requested to access OrientDB. |
Input ports
Port | Description |
---|---|
in | All events enter through this port. |
Output ports
Port | Description |
---|---|
error | Outputs all events that produced some error during processing. These events have two additional fields, error, and exception, that describe the error. |