|
35 | 35 | * @see <a href="https://docs.arangodb.com/current/HTTP/Collection/">Documents API Documentation</a>
|
36 | 36 | * @author Mark Vollmary
|
37 | 37 | */
|
| 38 | +@SuppressWarnings("unused") |
38 | 39 | public interface ArangoCollectionAsync extends ArangoSerializationAccessor {
|
39 | 40 |
|
40 | 41 | /**
|
41 | 42 | * The the handler of the database the collection is within
|
42 | 43 | *
|
43 | 44 | * @return database handler
|
44 | 45 | */
|
45 |
| - public ArangoDatabaseAsync db(); |
| 46 | + ArangoDatabaseAsync db(); |
46 | 47 |
|
47 | 48 | /**
|
48 | 49 | * The name of the collection
|
49 | 50 | *
|
50 | 51 | * @return collection name
|
51 | 52 | */
|
52 |
| - public String name(); |
| 53 | + String name(); |
53 | 54 |
|
54 | 55 | /**
|
55 | 56 | * Creates a new document from the given document, unless there is already a document with the _key given. If no
|
@@ -338,9 +339,6 @@ <T> CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<T>>> updateDocume
|
338 | 339 | * Documentation</a>
|
339 | 340 | * @param key
|
340 | 341 | * The key of the document
|
341 |
| - * @param type |
342 |
| - * The type of the document (POJO class, VPackSlice or String for Json). Only necessary if |
343 |
| - * options.returnOld is set to true, otherwise can be null. |
344 | 342 | * @return information about the document
|
345 | 343 | */
|
346 | 344 | CompletableFuture<DocumentDeleteEntity<Void>> deleteDocument(final String key);
|
@@ -372,9 +370,6 @@ <T> CompletableFuture<DocumentDeleteEntity<T>> deleteDocument(
|
372 | 370 | * Documentation</a>
|
373 | 371 | * @param values
|
374 | 372 | * The keys of the documents or the documents themselves
|
375 |
| - * @param type |
376 |
| - * The type of the documents (POJO class, VPackSlice or String for Json). Only necessary if |
377 |
| - * options.returnOld is set to true, otherwise can be null. |
378 | 373 | * @return information about the documents
|
379 | 374 | */
|
380 | 375 | CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<Void>>> deleteDocuments(final Collection<?> values);
|
@@ -586,8 +581,6 @@ CompletableFuture<IndexEntity> ensureFulltextIndex(
|
586 | 581 | *
|
587 | 582 | * @see <a href="https://docs.arangodb.com/current/HTTP/Collection/Creating.html#create-collection">API
|
588 | 583 | * Documentation</a>
|
589 |
| - * @param options |
590 |
| - * Additional options, can be null |
591 | 584 | * @return information about the collection
|
592 | 585 | */
|
593 | 586 | CompletableFuture<CollectionEntity> create();
|
|
0 commit comments