Hi Dmitrii, You can invoke getEdges() with no edge labels: labels are optional.
Lvc@ On 5 December 2014 at 15:29, Dmitrii Rogozin <[email protected]> wrote: > Hello everyone, > my question is how to get all adjacent edges of the vertex from JavaAPI. > > The methods of the OrientdbVertex and TinkerPopVertex provide API where > you need to specify the names of the edges for example > OrientVertex.getEdges(iDirection, iLabels). It seems like really general > method, one use case is > deleting a vertex, so you want to delete all the edges connected to the > vertex, and you don't want to know anything about edges names, because > after you add some new edge type, you code won't work. > > Same question is how to get all the adjacent Vertecies for the vertex. > > Thanks for help. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
