Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

tapan.sharma_186956 avatar image
tapan.sharma_186956 asked ·

Is there Java API to bulk load Graph data?

Hi Team,


I know there is a bulk loader utility in datastax to load the graph but is there any Java API that does the same thing? Can we bulk load the data programmatically?

Regards

Tapan

graphbulk loader
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

csplinter avatar image
csplinter answered ·

Hi Tapan, the libraries that DSBulk uses are not publicly exposed for programmatic use but this is something we are working on. I'll circle back here with updates on that when we have them.


Would you mind sharing some details of your use case?

Sounds like you are loading graph data, is that coming from csv or json files ( or other )?

Any details on why this must be done programmatically rather than cmd line will be helpful for us as we make sure the libraries fit user needs.

4 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi @csplinter, Thanks for the response.

We will be getting data streams for nodes and edges, so it would have beeen better if we get something work through Java api. There could be the workaround by storing the data into csv or json before sending it to bulk loader utility, however, Java API would have simplified the whole process.

0 Likes 0 · ·
csplinter avatar image csplinter ♦♦ tapan.sharma_186956 ·

Makes sense, thanks for those details. Where are the data streams coming from and what format are they in?

0 Likes 0 · ·

@csplinter Just to clarify , can't we use gremlin to do this? (with some transformation) ?

0 Likes 0 · ·
Show more comments