@@ -5073,7 +5073,7 @@ public <T> EdgeEntity<T> graphUpdateEdge(
50735073 public CursorEntity <PlainEdgeEntity > graphGetEdges (String graphName ) throws ArangoException {
50745074
50755075 validateCollectionName (graphName );
5076- String query = "for i in graph_edges(@graphName, null) return i" ;
5076+ String query = "for i in graph_edges(@graphName, null, { includeData: true } ) return i" ;
50775077 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).get ();
50785078
50795079 CursorEntity <PlainEdgeEntity > result = this .executeQuery (query , bindVars , PlainEdgeEntity .class , true , 20 );
@@ -5240,7 +5240,7 @@ public <T> CursorEntity<T> graphGetEdges(String graphName, Class<T> clazz, Strin
52405240 throws ArangoException {
52415241
52425242 validateCollectionName (graphName );
5243- String query = "for i in graph_edges(@graphName, @vertexDocumentHandle) return i" ;
5243+ String query = "for i in graph_edges(@graphName, @vertexDocumentHandle, { includeData: true } ) return i" ;
52445244 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName )
52455245 .put ("vertexDocumentHandle" , vertexDocumentHandle ).get ();
52465246
@@ -5282,7 +5282,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursorByExample(String graphName, Class<T>
52825282 public <T > CursorEntity <T > graphGetEdgesByExampleObject (String graphName , Class <T > clazz , Object vertexExample )
52835283 throws ArangoException {
52845284 validateCollectionName (graphName );
5285- String query = "for i in graph_edges(@graphName, @vertexExample) return i" ;
5285+ String query = "for i in graph_edges(@graphName, @vertexExample, { includeData: true } ) return i" ;
52865286
52875287 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
52885288 .get ();
@@ -5312,7 +5312,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
53125312 Class <T > clazz ,
53135313 Map <String , Object > vertexExample ) throws ArangoException {
53145314 validateCollectionName (graphName );
5315- String query = "for i in graph_edges(@graphName, @vertexExample) return i" ;
5315+ String query = "for i in graph_edges(@graphName, @vertexExample, { includeData: true } ) return i" ;
53165316
53175317 Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
53185318 .get ();
@@ -5322,7 +5322,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
53225322 return result ;
53235323 }
53245324
5325- public <V , E > ShortestPathEntity <V , E > graphGetShortesPath (
5325+ public <V , E > ShortestPathEntity <V , E > graphGetShortestPath (
53265326 String graphName ,
53275327 Object startVertexExample ,
53285328 Object endVertexExample ,
@@ -5334,7 +5334,7 @@ public <V, E> ShortestPathEntity<V, E> graphGetShortesPath(
53345334 shortestPathOptions = new ShortestPathOptions ();
53355335 }
53365336
5337- return cursorDriver .getShortesPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
5337+ return cursorDriver .getShortestPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
53385338 shortestPathOptions , getDefaultAqlQueryOptions (), vertexClass , edgeClass );
53395339 }
53405340
0 commit comments