@@ -79,7 +79,7 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
79
79
/**
80
80
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
81
81
* _key is given, a new unique _key is generated automatically.
82
- *
82
+ * <p>
83
83
* Limitations:
84
84
* - the fields having {@code null} value are always removed during serialization
85
85
*
@@ -94,7 +94,7 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
94
94
/**
95
95
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
96
96
* _key is given, a new unique _key is generated automatically.
97
- *
97
+ * <p>
98
98
* Limitations:
99
99
* - the fields having {@code null} value are always removed during serialization
100
100
*
@@ -110,7 +110,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
110
110
111
111
/**
112
112
* Bulk imports the given values into the collection.
113
- *
113
+ * <p>
114
114
* Limitations:
115
115
* - the fields having {@code null} value are always removed during serialization
116
116
*
@@ -122,7 +122,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
122
122
123
123
/**
124
124
* Bulk imports the given values into the collection.
125
- *
125
+ * <p>
126
126
* Limitations:
127
127
* - the fields having {@code null} value are always removed during serialization
128
128
*
@@ -135,7 +135,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
135
135
136
136
/**
137
137
* Bulk imports the given values into the collection.
138
- *
138
+ * <p>
139
139
* Limitations:
140
140
* - the fields having {@code null} value are always removed during serialization
141
141
*
@@ -147,7 +147,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
147
147
148
148
/**
149
149
* Bulk imports the given values into the collection.
150
- *
150
+ * <p>
151
151
* Limitations:
152
152
* - the fields having {@code null} value are always removed during serialization
153
153
*
@@ -236,7 +236,7 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
236
236
/**
237
237
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
238
238
* specified by the _key attributes in the documents in values.
239
- *
239
+ * <p>
240
240
* Limitations:
241
241
* - the fields having {@code null} value are always removed during serialization
242
242
*
@@ -251,7 +251,7 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
251
251
/**
252
252
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
253
253
* specified by the _key attributes in the documents in values.
254
- *
254
+ * <p>
255
255
* Limitations:
256
256
* - the fields having {@code null} value are always removed during serialization
257
257
*
@@ -300,10 +300,10 @@ <T> DocumentUpdateEntity<T> updateDocument(String key, T value, DocumentUpdateOp
300
300
* to patch (the patch document). All attributes from the patch document will be added to the existing document if
301
301
* they do not yet exist, and overwritten in the existing document if they do exist there.
302
302
*
303
- * @param key The key of the document
304
- * @param value A representation of a single document (POJO, VPackSlice or String for JSON)
305
- * @param options Additional options, can be null
306
- * @param returnType Type of the returned newDocument and/or oldDocument
303
+ * @param key The key of the document
304
+ * @param value A representation of a single document (POJO, VPackSlice or String for JSON)
305
+ * @param options Additional options, can be null
306
+ * @param returnType Type of the returned newDocument and/or oldDocument
307
307
* @return information about the document
308
308
* @throws ArangoDBException
309
309
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#update-document">API
@@ -465,7 +465,10 @@ <T> MultiDocumentEntity<DocumentDeleteEntity<T>> deleteDocuments(
465
465
* @return information about the index
466
466
* @throws ArangoDBException
467
467
* @see <a href="https://www.arangodb.com/docs/stable/http/indexes-hash.html#create-hash-index">API Documentation</a>
468
+ * @deprecated use {@link #ensurePersistentIndex(Iterable, PersistentIndexOptions)} instead. Since ArangoDB 3.7 a
469
+ * hash index is an alias for a persistent index.
468
470
*/
471
+ @ Deprecated
469
472
IndexEntity ensureHashIndex (Iterable <String > fields , HashIndexOptions options ) throws ArangoDBException ;
470
473
471
474
/**
@@ -477,7 +480,10 @@ <T> MultiDocumentEntity<DocumentDeleteEntity<T>> deleteDocuments(
477
480
* @throws ArangoDBException
478
481
* @see <a href="https://www.arangodb.com/docs/stable/http/indexes-skiplist.html#create-skip-list">API
479
482
* Documentation</a>
483
+ * @deprecated use {@link #ensurePersistentIndex(Iterable, PersistentIndexOptions)} instead. Since ArangoDB 3.7 a
484
+ * skiplist index is an alias for a persistent index.
480
485
*/
486
+ @ Deprecated
481
487
IndexEntity ensureSkiplistIndex (Iterable <String > fields , SkiplistIndexOptions options ) throws ArangoDBException ;
482
488
483
489
/**
0 commit comments