@@ -5071,7 +5071,7 @@ public <T> EdgeEntity<T> graphUpdateEdge(
50715071 public CursorEntity <PlainEdgeEntity > graphGetEdges (String graphName ) throws ArangoException {
50725072
50735073 validateCollectionName (graphName );
5074- String query = "for i in graph_edges(@graphName, null) return i" ;
5074+ String query = "for i in graph_edges(@graphName, null, { includeData: true } ) return i" ;
50755075 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).get ();
50765076
50775077 CursorEntity <PlainEdgeEntity > result = this .executeQuery (query , bindVars , PlainEdgeEntity .class , true , 20 );
@@ -5238,7 +5238,7 @@ public <T> CursorEntity<T> graphGetEdges(String graphName, Class<T> clazz, Strin
52385238 throws ArangoException {
52395239
52405240 validateCollectionName (graphName );
5241- String query = "for i in graph_edges(@graphName, @vertexDocumentHandle) return i" ;
5241+ String query = "for i in graph_edges(@graphName, @vertexDocumentHandle, { includeData: true } ) return i" ;
52425242 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName )
52435243 .put ("vertexDocumentHandle" , vertexDocumentHandle ).get ();
52445244
@@ -5280,7 +5280,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursorByExample(String graphName, Class<T>
52805280 public <T > CursorEntity <T > graphGetEdgesByExampleObject (String graphName , Class <T > clazz , Object vertexExample )
52815281 throws ArangoException {
52825282 validateCollectionName (graphName );
5283- String query = "for i in graph_edges(@graphName, @vertexExample) return i" ;
5283+ String query = "for i in graph_edges(@graphName, @vertexExample, { includeData: true } ) return i" ;
52845284
52855285 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
52865286 .get ();
@@ -5310,7 +5310,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
53105310 Class <T > clazz ,
53115311 Map <String , Object > vertexExample ) throws ArangoException {
53125312 validateCollectionName (graphName );
5313- String query = "for i in graph_edges(@graphName, @vertexExample) return i" ;
5313+ String query = "for i in graph_edges(@graphName, @vertexExample, { includeData: true } ) return i" ;
53145314
53155315 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
53165316 .get ();
@@ -5320,7 +5320,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
53205320 return result ;
53215321 }
53225322
5323- public <V , E > ShortestPathEntity <V , E > graphGetShortesPath (
5323+ public <V , E > ShortestPathEntity <V , E > graphGetShortestPath (
53245324 String graphName ,
53255325 Object startVertexExample ,
53265326 Object endVertexExample ,
@@ -5332,7 +5332,7 @@ public <V, E> ShortestPathEntity<V, E> graphGetShortesPath(
53325332 shortestPathOptions = new ShortestPathOptions ();
53335333 }
53345334
5335- return cursorDriver .getShortesPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
5335+ return cursorDriver .getShortestPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
53365336 shortestPathOptions , getDefaultAqlQueryOptions (), vertexClass , edgeClass );
53375337 }
53385338
0 commit comments