tapan.sharma_186956 avatar image
tapan.sharma_186956 asked csplinter commented

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?



graphbulk loader
10 |1000

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 csplinter commented

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

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

tapan.sharma_186956 avatar image tapan.sharma_186956 commented ·

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 commented ·

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

0 Likes 0 ·
Yeikel.ValdesSantana_186477 avatar image Yeikel.ValdesSantana_186477 csplinter ♦♦ commented ·

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

0 Likes 0 ·
Show more comments