Writer options
The DataSource Writer has several options to connect and persist data into Neo4j.
| Setting name | Description | Default value | Required |
|---|---|---|---|
|
Colon separated list of the labels to attach to the node |
(none) |
No |
|
The number of the rows sent to Neo4j as a batch. Each batch is committed in its own transaction, so this also bounds what a single failure can leave behind. See Transactions, retries, and partial failures. |
5000 |
No |
|
Number of retries in case of failure. The budget applies per task for its whole lifetime, not per batch. See write/transactions.adoc#retries. |
3 |
No |
|
The time in milliseconds that the connector should wait before retry |
0 |
No |
|
Data conversion logic. When set to |
|
No |
Node specific options |
|||
|
Comma-separated list of properties considered as node keys if you are using
|
(none) |
No |
|
Whether to skip rows which contain null values for any of the specified columns in |
|
No |
Relationship specific options |
|||
|
Comma-separated list of properties considered as relationship keys |
(none) |
No |
|
Whether to skip rows which contain null values for any of the specified columns in |
|
No |
|
Used only if |
(empty) |
No |
|
Save strategy to be used |
|
Yes |
|
Colon-separated list of labels that identify the source node |
(empty) |
Yes |
|
Map used as keys for matching the source node |
(empty) |
No |
|
Whether to skip rows which contain null values for any of the specified columns in |
|
No |
|
Source Node save mode |
|
No |
|
Map used as keys for specifying the source properties. Only used if |
(empty) |
No |
|
Colon-separated list of labels that identify the target node |
(empty) |
Yes |
|
Map used as keys for matching the target node |
(empty) |
No |
|
Whether to skip rows which contain null values for any of the specified columns in |
|
No |
|
Target Node save mode |
|
No |
|
Map used as keys for specifying the target properties. Only used if |
(empty) |
No |
Cypher® options [role=label—new-6.0] |
|||
|
Set a custom Cypher language version to a custom value.
Expected value is the version number itself, e.g. |
5 |
No |
|
Set any cypher query tuning parameter with this prefix. See details on how to properly use this feature here |
(emtpy) |
No |
Optimization options |
|||
|
Apply a custom Cypher query which will run once before any write operations.
Use this capability to apply custom optimizations e.g. custom index/contstraint queries.
Can not be used with |
(empty) |
No |
|
Similar to |
(empty) |
No |
|
Adjust the maximum timeout to wait for index generation
Before writing, the |
300 |
No |