orientdb-etl | OrientDB ETL tools | Data Migration library
kandi X-RAY | orientdb-etl Summary
kandi X-RAY | orientdb-etl Summary
OrientDB ETL tools
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Execute the transform
- Transform the string value to a number
- Check if column names are correct
- Converts a known type into an object
- Initializes the file
- Closes the manager
- Starts the document database
- Init OrientDB database
- Loads document fields
- Gets or creates the class
- Resolve the vertex
- Extracts the first token from the stream
- Perform the actual transformation
- Configure options
- Configures the output
- Configures the field transformer
- Starts the cursor
- Executes the given command
- Set configuration
- Configures the source
- Executes the transform
- Configure columns
- Executes the join
- Configure database
- Performs the actual transformation
- Moves to the next item in the result set
orientdb-etl Key Features
orientdb-etl Examples and Code Snippets
Community Discussions
Trending Discussions on orientdb-etl
QUESTION
I'm trying to import edges from a CSV-file into OrientDB. The vertices are stored in a separate file and already imported via ETL into OrientDB. So my situation is similar to OrientDB import edges only using ETL tool and OrientDB ETL loading CSV with vertices in one file and edges in another.
Update
Friend.csv
...ANSWER
Answered 2017-Aug-02 at 19:44After some time I found a way (workaround) to import the above data into OrientDB. Instead of using the ETL Tool I wrote simple ruby scripts which call the HTTP API of OrientDB using the Batch endpoint.
Steps:
- Import the Friends.
- Use the response to create a mapping of
client_ids
to@rids
. - Parse the
PeindingFriendship.csv
and buildbatch
requests. - Each Friendships is created by its own command.
- The mapping from 2. is used to insert the
@rids
into the command from 4. - Send the
batch
requests in junks of 1000 commands.
Example Batch-Request body:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orientdb-etl
You can use orientdb-etl like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the orientdb-etl component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
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