July 30, 2023

tNeo4jConnection – Docs for ESB 7.x

tNeo4jConnection

Opens a connection to a Neo4j database to be reuse by other Neo4j components.

tNeo4jConnection starts the
database in embedded mode, and checks the server availability in REST mode.

tNeo4jConnection Standard properties

These properties are used to configure tNeo4jConnection running in the Standard Job framework.

The Standard
tNeo4jConnection component belongs to the Big Data and the Databases NoSQL families.

The component in this framework is available in all Talend products with Big Data
and in Talend Data Fabric.

Basic settings

DB version

Select the Neo4j version you are using.

When you use V3.2.X:

  • If you work with a remote server, only tNeo4jInput and tNeo4jRow can reuse the connection defined in tNeo4jConnection because these components work with Neo4j remote servers only.

  • If you work with a local server, only tNeo4jBatchOutput, tNeo4jBatchSchema and tNeo4jBatchOutputRelationship can reuse the connection defined in tNeo4jConnection because these components work with Neo4j local servers only.

Do
not use a 2.X.X version and a 3.X.X version in the same Job. Otherwise,
class conflict issues occur.

Neo4j version 2.X.X is compatible only with Java 7 or higher but it offers
support of advanced features such as node labels.

Upon selecting a database version, you will be
prompted to install the corresponding database driver JAR files if not
yet installed. You can find more details
about how to install external modules in Talend Help Center (https://help.talend.com)
.

Remote server

Select this check box if you use a Neo4j remote server, and specify the root URL in the Server URL field.

  • Set username: this check box
    is available when you have selected the Use a remote server check box and the Neo4j version
    you are using is earlier than 2.2. If the remote Neo4j server
    you want to connect to does not require user credentials, leave
    it clear.

  • Username and Password: enter the authentication
    information to connect to the remote Neo4j server to be used.
    Since Neo4j 2.2, user credentials are always required.

Server URL

Specify the root URL.

This field is available only if the Use a remote server check box is
selected.

Read only

Select this check box if you want to use the embedded
database in read only mode. It’s useful if an application is already
dedicated with the database.

This check box is available only when you are using a 2.X.X version.

Warning:

Do not use this mode when you have any output Neo4j
component in your Job such as tNeo4jOutput, tNeo4jOutputRelationship or tNeo4jRow.

Database path

If you use Neo4j in embedded mode, specify the path of
data file.

This field is available only if the Use a remote server check box is not
selected.

Advanced settings

tStatCatcher Statistics Select this check box to collect the log data at a component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.

Usage

Usage rule

This component is generally used with other
Neo4j components, particularly tNeo4jClose.
Limitation n/a


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x