Skip to content

Commit b4d186b

Browse files
committed
reviewed deprecated API methods and javadoc
1 parent bde83d1 commit b4d186b

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

src/main/java/com/arangodb/ArangoDB.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,7 @@ public synchronized ArangoDB build() {
895895
* Documentation</a>
896896
* @deprecated use {@link #getLogEntries(LogOptions)} instead
897897
*/
898+
@Deprecated
898899
LogEntity getLogs(LogOptions options) throws ArangoDBException;
899900

900901
/**

src/main/java/com/arangodb/ArangoDatabase.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,9 @@ GraphEntity createGraph(String name, Collection<EdgeDefinition> edgeDefinitions,
622622
* @throws ArangoDBException
623623
* @see <a href= "https://www.arangodb.com/docs/stable/http/traversal.html#executes-a-traversal">API
624624
* Documentation</a>
625+
* @deprecated use {@link this#query(String, Map, AqlQueryOptions, Class)}
625626
*/
627+
@Deprecated
626628
<V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edgeClass, TraversalOptions options)
627629
throws ArangoDBException;
628630

@@ -732,6 +734,7 @@ <V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edg
732734
* @since ArangoDB 3.5.0
733735
* @deprecated use {@link this#createSearchAnalyzer(SearchAnalyzer)}}
734736
*/
737+
@Deprecated
735738
AnalyzerEntity createAnalyzer(AnalyzerEntity options) throws ArangoDBException;
736739

737740
/**
@@ -755,6 +758,7 @@ <V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edg
755758
* @since ArangoDB 3.5.0
756759
* @deprecated use {@link this#getSearchAnalyzer(String)}}
757760
*/
761+
@Deprecated
758762
AnalyzerEntity getAnalyzer(String name) throws ArangoDBException;
759763

760764
/**
@@ -777,6 +781,7 @@ <V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edg
777781
* @since ArangoDB 3.5.0
778782
* @deprecated use {@link this#getSearchAnalyzers()}
779783
*/
784+
@Deprecated
780785
Collection<AnalyzerEntity> getAnalyzers() throws ArangoDBException;
781786

782787
/**
@@ -798,6 +803,7 @@ <V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edg
798803
* @since ArangoDB 3.5.0
799804
* @deprecated use {@link this#deleteSearchAnalyzer(String)}}}
800805
*/
806+
@Deprecated
801807
void deleteAnalyzer(String name) throws ArangoDBException;
802808

803809
/**
@@ -810,6 +816,7 @@ <V, E> TraversalEntity<V, E> executeTraversal(Class<V> vertexClass, Class<E> edg
810816
* @since ArangoDB 3.5.0
811817
* @deprecated use {@link this#deleteSearchAnalyzer(String, AnalyzerDeleteOptions)}}}
812818
*/
819+
@Deprecated
813820
void deleteAnalyzer(String name, AnalyzerDeleteOptions options) throws ArangoDBException;
814821

815822
/**

src/main/java/com/arangodb/async/ArangoDBAsync.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ public interface ArangoDBAsync extends ArangoSerializationAccessor {
289289
* Documentation</a>
290290
* @deprecated use {@link #getLogEntries(LogOptions)} instead
291291
*/
292+
@Deprecated
292293
CompletableFuture<LogEntity> getLogs(final LogOptions options);
293294

294295
/**

src/main/java/com/arangodb/async/ArangoDatabaseAsync.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,9 @@ CompletableFuture<GraphEntity> createGraph(
600600
* @return Result of the executed traversal
601601
* @see <a href= "https://www.arangodb.com/docs/stable/http/traversal.html#executes-a-traversal">API
602602
* Documentation</a>
603+
* @deprecated use {@link this#query(String, Map, AqlQueryOptions, Class)}
603604
*/
605+
@Deprecated
604606
<V, E> CompletableFuture<TraversalEntity<V, E>> executeTraversal(
605607
final Class<V> vertexClass,
606608
final Class<E> edgeClass,
@@ -707,6 +709,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
707709
* @since ArangoDB 3.5.0
708710
* @deprecated use {@link this#createSearchAnalyzer(SearchAnalyzer)}}
709711
*/
712+
@Deprecated
710713
CompletableFuture<AnalyzerEntity> createAnalyzer(AnalyzerEntity options);
711714

712715
/**
@@ -729,6 +732,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
729732
* @since ArangoDB 3.5.0
730733
* @deprecated use {@link this#getSearchAnalyzer(String)}}
731734
*/
735+
@Deprecated
732736
CompletableFuture<AnalyzerEntity> getAnalyzer(String name);
733737

734738
/**
@@ -750,6 +754,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
750754
* @since ArangoDB 3.5.0
751755
* @deprecated use {@link this#getSearchAnalyzers()}
752756
*/
757+
@Deprecated
753758
CompletableFuture<Collection<AnalyzerEntity>> getAnalyzers();
754759

755760
/**
@@ -770,6 +775,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
770775
* @since ArangoDB 3.5.0
771776
* @deprecated use {@link this#deleteSearchAnalyzer(String)}}}
772777
*/
778+
@Deprecated
773779
CompletableFuture<Void> deleteAnalyzer(String name);
774780

775781
/**
@@ -781,6 +787,7 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
781787
* @since ArangoDB 3.5.0
782788
* @deprecated use {@link this#deleteSearchAnalyzer(String, AnalyzerDeleteOptions)}}}
783789
*/
790+
@Deprecated
784791
CompletableFuture<Void> deleteAnalyzer(String name, AnalyzerDeleteOptions options);
785792

786793
/**

src/main/java/com/arangodb/entity/arangosearch/AnalyzerEntity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @author Michele Rastelli
2828
* @deprecated use typed analyzers {@link com.arangodb.entity.arangosearch.analyzer}
2929
*/
30+
@Deprecated
3031
public class AnalyzerEntity {
3132

3233
private Set<AnalyzerFeature> features;

src/main/java/com/arangodb/model/TraversalOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @author Mark Vollmary
2525
* @see <a href="https://www.arangodb.com/docs/stable/http/traversal.html">API Documentation</a>
2626
*/
27+
@Deprecated
2728
public class TraversalOptions {
2829

2930
public enum Direction {

0 commit comments

Comments
 (0)