Writer options

The DataSource Writer has several options to connect and persist data into Neo4j.

Table 1. List of available write options
Setting name Description Default value Required

labels

Colon separated list of the labels to attach to the node

(none)

No

batch.size

The number of the rows sent to Neo4j as batch

5000

No

transaction.codes.fail

Comma-separated list of Neo4j codes that cause the transaction to fail

(none)

No

transaction.retries

Number of retries in case of failure

3

No

transaction.retry.timeout

The time in milliseconds that the connector should wait before retry

0

No

Node specific options

node.keys

Comma-separated list of properties considered as node keys if you are using SaveMode.Overwrite

(none)

No

Relationship specific options

relationship.properties

Map used as keys for specifying the relationship properties. Used only if relationship.save.strategy is keys

(empty)

No

relationship.save.strategy

Save strategy to be used

native

Yes

relationship.source.labels

Colon-separated list of labels that identify the source node

(empty)

Yes

relationship.source.node.keys

Map used as keys for matching the source node

(empty)

No

relationship.source.save.mode

Source Node save mode

Match

No

relationship.source.node.properties

Map used as keys for specifying the source properties. Only used if relationship.save.strategy is keys

(empty)

No

relationship.target.labels

Colon-separated list of labels that identify the target node

(empty)

Yes

relationship.target.node.keys

Map used as keys for matching the target node

(empty)

No

relationship.target.save.mode

Target Node save mode

Match

No

relationship.target.node.properties

Map used as keys for specifying the target properties. Only used if relationship.save.strategy is keys

(empty)

No