Skip to content

Commit 5751d68

Browse files
author
Mark
committed
set graph methodes to deprecated (support will be end soon)
1 parent 562e855 commit 5751d68

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/main/java/com/arangodb/ArangoDriver.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4369,6 +4369,7 @@ public <T> VertexCursor<T> executeVertexQuery(
43694369
/**
43704370
* Returns an EdgeCursor by a given vertex example and some options
43714371
*
4372+
* @deprecated use AQL instead
43724373
* @param graphName
43734374
* The name of the graph.
43744375
* @param clazz
@@ -4381,6 +4382,7 @@ public <T> VertexCursor<T> executeVertexQuery(
43814382
* @return EdgeCursor<T>
43824383
* @throws ArangoException
43834384
*/
4385+
@Deprecated
43844386
@SuppressWarnings("unchecked")
43854387
public <T> EdgeCursor<T> graphGetEdgeCursor(
43864388
final String graphName,
@@ -4415,6 +4417,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursor(
44154417
/**
44164418
* Returns a VertexCursor by a given vertex example and some options
44174419
*
4420+
* @deprecated use AQL instead
44184421
* @param graphName
44194422
* The name of the graph.
44204423
* @param clazz
@@ -4427,6 +4430,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursor(
44274430
* @return VertexCursor<T>
44284431
* @throws ArangoException
44294432
*/
4433+
@Deprecated
44304434
public <T> VertexCursor<T> graphGetVertexCursor(
44314435
final String graphName,
44324436
final Class<T> clazz,
@@ -4481,6 +4485,10 @@ public <T> EdgeCursor<T> graphGetEdgeCursorByExample(
44814485
return graphGetEdgeCursor(graphName, clazz, vertexExample, new GraphEdgesOptions(), null);
44824486
}
44834487

4488+
/**
4489+
* @deprecated use AQL instead
4490+
*/
4491+
@Deprecated
44844492
public <V, E> ShortestPathEntity<V, E> graphGetShortestPath(
44854493
final String graphName,
44864494
final Object startVertexExample,

src/main/java/com/arangodb/impl/InternalCursorDriverImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ public CursorRawResult executeAqlQueryRaw(
163163
return new CursorRawResult(database, this, entity);
164164
}
165165

166+
/**
167+
* @deprecated use AQL instead
168+
*/
169+
@Deprecated
166170
@SuppressWarnings("unchecked")
167171
@Override
168172
public <V, E> ShortestPathEntity<V, E> getShortestPath(

0 commit comments

Comments
 (0)