flink-neo4j | Read Cypher query results into Apache Flink | Graph Database library
kandi X-RAY | flink-neo4j Summary
kandi X-RAY | flink-neo4j Summary
Read Cypher query results into Apache Flink and write datasets to Neo4j using Cypher batches.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Opens the transaction
- Creates the client for REST requests
- Gets the connect timeout
- Close all resources
- Adds a new tuple to the pipeline
- Initialize the element types
- Sends a transactional batch query to the Neo4j endpoint
- Add a tuple to the batch
- Read row
- Fills the tuple with values from the tuple
- Opens the node factory
- Returns the parameter name of the query
- Moves to the next row element in the JSON stream
- Finalizes the batch
flink-neo4j Key Features
flink-neo4j Examples and Code Snippets
Community Discussions
Trending Discussions on flink-neo4j
QUESTION
I'm processing data with Scala 2.11.7 and Flink 1.3.2. Now I'd like to store the resulting org.apache.flink.api.scala.DataSet in a neo4j graph database.
There are Github projects for compatibility:
- Flink with neo4j: https://github.com/s1ck/flink-neo4j
- Scala with neo4j: _https://github.com/FaKod/neo4j-scala
- Flink's graph library "Gelly" with neo4j: _https://github.com/albertodelazzari/gelly-neo4j
What is the most promising way to go? Or should I better use neo4j's REST API directly?
(BTW: Why does stackoverflow restrict the number of links postet...?)
I tried flink-neo4j, but it seems that there are some problems with mixing Java and Scala classes:
...ANSWER
Answered 2017-Sep-15 at 15:19The solution is not to change Tuple2 objects to Tuple:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install flink-neo4j
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page