I’m using OrientDB to represent large city maps and calculate the shortest traversal times between a pair of nodes when the need arises. I have the following method: The getNode(nodeID) method returns the OVertex object present in the database, hence we can identify the @rid. Clearly, this method serves no purpose as is. My issue comes when trying to call
Tag: orientdb
How to setup properties on CSV import in OrientDB?
I have a CSV file like: And I am importing it into OrientDB like: I would like to set the import so that it created properties so that FN becomes first_name, MI becomes middle_name and so on, as well as set some values to lowercase. For ex: Carolina to become carolina I could probably make this changes from the SCHEMA
Summing edges properties for order by in select statement
I’m trying to do a select statement to order the result set by force of connections between them. ‘isConnectedTo’ edges relate Entities to another Entities The tricky part is I have double connections between the same entities as so: So Mike is connected to John which is connected to him too. Also Mike is connected to Susan. In this case