@@ -122,7 +122,7 @@ MultiDocumentEntity<DocumentCreateEntity<RawData>> insertDocuments(
122
122
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
123
123
* Documentation</a>
124
124
*/
125
- MultiDocumentEntity <DocumentCreateEntity <Void >> insertDocuments (Collection <?> values );
125
+ MultiDocumentEntity <DocumentCreateEntity <Void >> insertDocuments (Iterable <?> values );
126
126
127
127
/**
128
128
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
@@ -135,7 +135,7 @@ MultiDocumentEntity<DocumentCreateEntity<RawData>> insertDocuments(
135
135
* Documentation</a>
136
136
*/
137
137
MultiDocumentEntity <DocumentCreateEntity <Void >> insertDocuments (
138
- Collection <?> values , DocumentCreateOptions options );
138
+ Iterable <?> values , DocumentCreateOptions options );
139
139
140
140
/**
141
141
* Creates new documents from the given documents, unless there is already a document with the _key given. If no
@@ -149,15 +149,15 @@ MultiDocumentEntity<DocumentCreateEntity<Void>> insertDocuments(
149
149
* Documentation</a>
150
150
*/
151
151
<T > MultiDocumentEntity <DocumentCreateEntity <T >> insertDocuments (
152
- Collection <? extends T > values , DocumentCreateOptions options , Class <T > type );
152
+ Iterable <? extends T > values , DocumentCreateOptions options , Class <T > type );
153
153
154
154
/**
155
155
* Bulk imports the given values into the collection.
156
156
*
157
157
* @param values A List of documents (POJO or {@link com.arangodb.util.RawData})
158
158
* @return information about the import
159
159
*/
160
- DocumentImportEntity importDocuments (Collection <?> values );
160
+ DocumentImportEntity importDocuments (Iterable <?> values );
161
161
162
162
/**
163
163
* Bulk imports the given values into the collection.
@@ -166,7 +166,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
166
166
* @param options Additional options, can be null
167
167
* @return information about the import
168
168
*/
169
- DocumentImportEntity importDocuments (Collection <?> values , DocumentImportOptions options );
169
+ DocumentImportEntity importDocuments (Iterable <?> values , DocumentImportOptions options );
170
170
171
171
/**
172
172
* Bulk imports the given values into the collection.
@@ -215,7 +215,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
215
215
* @param type The type of the documents (POJO or {@link com.arangodb.util.RawData})
216
216
* @return the documents and possible errors
217
217
*/
218
- <T > MultiDocumentEntity <T > getDocuments (Collection <String > keys , Class <T > type );
218
+ <T > MultiDocumentEntity <T > getDocuments (Iterable <String > keys , Class <T > type );
219
219
220
220
/**
221
221
* Retrieves multiple documents with the given {@code _key} from the collection.
@@ -225,7 +225,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
225
225
* @param options Additional options, can be null
226
226
* @return the documents and possible errors
227
227
*/
228
- <T > MultiDocumentEntity <T > getDocuments (Collection <String > keys , Class <T > type , DocumentReadOptions options );
228
+ <T > MultiDocumentEntity <T > getDocuments (Iterable <String > keys , Class <T > type , DocumentReadOptions options );
229
229
230
230
/**
231
231
* Replaces the document with {@code key} with the one in the body, provided there is such a document and no
@@ -305,7 +305,7 @@ MultiDocumentEntity<DocumentUpdateEntity<RawData>> replaceDocuments(
305
305
* <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#replace-documents">API
306
306
* Documentation</a>
307
307
*/
308
- MultiDocumentEntity <DocumentUpdateEntity <Void >> replaceDocuments (Collection <?> values );
308
+ MultiDocumentEntity <DocumentUpdateEntity <Void >> replaceDocuments (Iterable <?> values );
309
309
310
310
/**
311
311
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
@@ -319,7 +319,7 @@ MultiDocumentEntity<DocumentUpdateEntity<RawData>> replaceDocuments(
319
319
* Documentation</a>
320
320
*/
321
321
MultiDocumentEntity <DocumentUpdateEntity <Void >> replaceDocuments (
322
- Collection <?> values , DocumentReplaceOptions options );
322
+ Iterable <?> values , DocumentReplaceOptions options );
323
323
324
324
/**
325
325
* Replaces multiple documents in the specified collection with the ones in the values, the replaced documents are
@@ -334,7 +334,7 @@ MultiDocumentEntity<DocumentUpdateEntity<Void>> replaceDocuments(
334
334
* Documentation</a>
335
335
*/
336
336
<T > MultiDocumentEntity <DocumentUpdateEntity <T >> replaceDocuments (
337
- Collection <? extends T > values , DocumentReplaceOptions options , Class <T > type );
337
+ Iterable <? extends T > values , DocumentReplaceOptions options , Class <T > type );
338
338
339
339
/**
340
340
* Partially updates the document identified by document-key. The value must contain a document with the attributes
@@ -421,7 +421,7 @@ MultiDocumentEntity<DocumentUpdateEntity<RawData>> updateDocuments(
421
421
* <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#update-documents">API
422
422
* Documentation</a>
423
423
*/
424
- MultiDocumentEntity <DocumentUpdateEntity <Void >> updateDocuments (Collection <?> values );
424
+ MultiDocumentEntity <DocumentUpdateEntity <Void >> updateDocuments (Iterable <?> values );
425
425
426
426
/**
427
427
* Partially updates documents, the documents to update are specified by the _key attributes in the objects on
@@ -437,7 +437,7 @@ MultiDocumentEntity<DocumentUpdateEntity<RawData>> updateDocuments(
437
437
* Documentation</a>
438
438
*/
439
439
MultiDocumentEntity <DocumentUpdateEntity <Void >> updateDocuments (
440
- Collection <?> values , DocumentUpdateOptions options );
440
+ Iterable <?> values , DocumentUpdateOptions options );
441
441
442
442
/**
443
443
* Partially updates documents, the documents to update are specified by the _key attributes in the objects on
@@ -454,7 +454,7 @@ MultiDocumentEntity<DocumentUpdateEntity<Void>> updateDocuments(
454
454
* Documentation</a>
455
455
*/
456
456
<T > MultiDocumentEntity <DocumentUpdateEntity <T >> updateDocuments (
457
- Collection <?> values , DocumentUpdateOptions options , Class <T > returnType );
457
+ Iterable <?> values , DocumentUpdateOptions options , Class <T > returnType );
458
458
459
459
/**
460
460
* Deletes the document with the given {@code key} from the collection.
@@ -525,7 +525,7 @@ MultiDocumentEntity<DocumentDeleteEntity<RawData>> deleteDocuments(
525
525
* "https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#removes-multiple-documents">API
526
526
* Documentation</a>
527
527
*/
528
- MultiDocumentEntity <DocumentDeleteEntity <Void >> deleteDocuments (Collection <?> values );
528
+ MultiDocumentEntity <DocumentDeleteEntity <Void >> deleteDocuments (Iterable <?> values );
529
529
530
530
/**
531
531
* Deletes multiple documents from the collection.
@@ -538,7 +538,7 @@ MultiDocumentEntity<DocumentDeleteEntity<RawData>> deleteDocuments(
538
538
* Documentation</a>
539
539
*/
540
540
MultiDocumentEntity <DocumentDeleteEntity <Void >> deleteDocuments (
541
- Collection <?> values , DocumentDeleteOptions options );
541
+ Iterable <?> values , DocumentDeleteOptions options );
542
542
543
543
/**
544
544
* Deletes multiple documents from the collection.
@@ -552,7 +552,7 @@ MultiDocumentEntity<DocumentDeleteEntity<Void>> deleteDocuments(
552
552
* Documentation</a>
553
553
*/
554
554
<T > MultiDocumentEntity <DocumentDeleteEntity <T >> deleteDocuments (
555
- Collection <?> values , DocumentDeleteOptions options , Class <T > type );
555
+ Iterable <?> values , DocumentDeleteOptions options , Class <T > type );
556
556
557
557
/**
558
558
* Checks if the document exists by reading a single document head
0 commit comments