@@ -5071,7 +5071,7 @@ public <T> EdgeEntity<T> graphUpdateEdge(
5071
5071
public CursorEntity <PlainEdgeEntity > graphGetEdges (String graphName ) throws ArangoException {
5072
5072
5073
5073
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" ;
5075
5075
Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).get ();
5076
5076
5077
5077
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
5238
5238
throws ArangoException {
5239
5239
5240
5240
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" ;
5242
5242
Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName )
5243
5243
.put ("vertexDocumentHandle" , vertexDocumentHandle ).get ();
5244
5244
@@ -5280,7 +5280,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursorByExample(String graphName, Class<T>
5280
5280
public <T > CursorEntity <T > graphGetEdgesByExampleObject (String graphName , Class <T > clazz , Object vertexExample )
5281
5281
throws ArangoException {
5282
5282
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" ;
5284
5284
5285
5285
Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
5286
5286
.get ();
@@ -5310,7 +5310,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
5310
5310
Class <T > clazz ,
5311
5311
Map <String , Object > vertexExample ) throws ArangoException {
5312
5312
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" ;
5314
5314
5315
5315
Map <String , Object > bindVars = new MapBuilder ().put ("graphName" , graphName ).put ("vertexExample" , vertexExample )
5316
5316
.get ();
@@ -5320,7 +5320,7 @@ public <T> CursorEntity<T> graphGetEdgesByExampleMap(
5320
5320
return result ;
5321
5321
}
5322
5322
5323
- public <V , E > ShortestPathEntity <V , E > graphGetShortesPath (
5323
+ public <V , E > ShortestPathEntity <V , E > graphGetShortestPath (
5324
5324
String graphName ,
5325
5325
Object startVertexExample ,
5326
5326
Object endVertexExample ,
@@ -5332,7 +5332,7 @@ public <V, E> ShortestPathEntity<V, E> graphGetShortesPath(
5332
5332
shortestPathOptions = new ShortestPathOptions ();
5333
5333
}
5334
5334
5335
- return cursorDriver .getShortesPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
5335
+ return cursorDriver .getShortestPath (getDefaultDatabase (), graphName , startVertexExample , endVertexExample ,
5336
5336
shortestPathOptions , getDefaultAqlQueryOptions (), vertexClass , edgeClass );
5337
5337
}
5338
5338
0 commit comments