@@ -93,9 +93,6 @@ public interface ArangoCollection extends ArangoSerdeAccessor {
93
93
/**
94
94
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
95
95
* _key is given, a new unique _key is generated automatically.
96
- * <p>
97
- * Limitations:
98
- * - the fields having {@code null} value are always removed during serialization
99
96
*
100
97
* @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
101
98
* @return information about the documents
@@ -108,9 +105,6 @@ public interface ArangoCollection extends ArangoSerdeAccessor {
108
105
/**
109
106
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
110
107
* _key is given, a new unique _key is generated automatically.
111
- * <p>
112
- * Limitations:
113
- * - the fields having {@code null} value are always removed during serialization
114
108
*
115
109
* @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
116
110
* @param options Additional options, can be null
@@ -125,9 +119,6 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
125
119
/**
126
120
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
127
121
* _key is given, a new unique _key is generated automatically.
128
- * <p>
129
- * Limitations:
130
- * - the fields having {@code null} value are always removed during serialization
131
122
*
132
123
* @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
133
124
* @param options Additional options, can be null
@@ -142,9 +133,6 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
142
133
143
134
/**
144
135
* Bulk imports the given values into the collection.
145
- * <p>
146
- * Limitations:
147
- * - the fields having {@code null} value are always removed during serialization
148
136
*
149
137
* @param values a list of Objects that will be stored as documents
150
138
* @return information about the import
@@ -154,9 +142,6 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
154
142
155
143
/**
156
144
* Bulk imports the given values into the collection.
157
- * <p>
158
- * Limitations:
159
- * - the fields having {@code null} value are always removed during serialization
160
145
*
161
146
* @param values a list of Objects that will be stored as documents
162
147
* @param options Additional options, can be null
@@ -167,9 +152,6 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
167
152
168
153
/**
169
154
* Bulk imports the given values into the collection.
170
- * <p>
171
- * Limitations:
172
- * - the fields having {@code null} value are always removed during serialization
173
155
*
174
156
* @param values JSON-encoded array of objects that will be stored as documents
175
157
* @return information about the import
@@ -179,9 +161,6 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
179
161
180
162
/**
181
163
* Bulk imports the given values into the collection.
182
- * <p>
183
- * Limitations:
184
- * - the fields having {@code null} value are always removed during serialization
185
164
*
186
165
* @param values JSON-encoded array of objects that will be stored as documents
187
166
* @param options Additional options, can be null
@@ -284,24 +263,18 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
284
263
/**
285
264
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
286
265
* specified by the _key attributes in the documents in values.
287
- * <p>
288
- * Limitations:
289
- * - the fields having {@code null} value are always removed during serialization
290
266
*
291
267
* @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
292
268
* @return information about the documents
293
269
* @throws ArangoDBException
294
270
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#replace-documents">API
295
271
* Documentation</a>
296
272
*/
297
- < T > MultiDocumentEntity <DocumentUpdateEntity <T >> replaceDocuments (Collection <T > values ) throws ArangoDBException ;
273
+ MultiDocumentEntity <DocumentUpdateEntity <Void >> replaceDocuments (Collection <? > values ) throws ArangoDBException ;
298
274
299
275
/**
300
276
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
301
277
* specified by the _key attributes in the documents in values.
302
- * <p>
303
- * Limitations:
304
- * - the fields having {@code null} value are always removed during serialization
305
278
*
306
279
* @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
307
280
* @param options Additional options, can be null
@@ -313,6 +286,21 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
313
286
<T > MultiDocumentEntity <DocumentUpdateEntity <T >> replaceDocuments (
314
287
Collection <T > values , DocumentReplaceOptions options ) throws ArangoDBException ;
315
288
289
+ /**
290
+ * Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
291
+ * specified by the _key attributes in the documents in values.
292
+ *
293
+ * @param values A List of documents (POJO, {@link com.arangodb.util.RawJson} or {@link com.arangodb.util.RawBytes})
294
+ * @param options Additional options, can be null
295
+ * @param type Deserialization target type for the returned documents.
296
+ * @return information about the documents
297
+ * @throws ArangoDBException
298
+ * @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#replace-documents">API
299
+ * Documentation</a>
300
+ */
301
+ <T > MultiDocumentEntity <DocumentUpdateEntity <T >> replaceDocuments (
302
+ Collection <T > values , DocumentReplaceOptions options , Class <T > type ) throws ArangoDBException ;
303
+
316
304
/**
317
305
* Partially updates the document identified by document-key. The value must contain a document with the attributes
318
306
* to patch (the patch document). All attributes from the patch document will be added to the existing document if
0 commit comments