Skip to content

Commit e506f6b

Browse files
committed
documented limitations about operations with fields having null values
1 parent 96ff7db commit e506f6b

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/main/java/com/arangodb/ArangoCollection.java

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
6060
* @throws ArangoDBException
6161
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
6262
* Documentation</a>
63-
*
64-
* @implNote The current implementation has the following limitations:
65-
* - the fields having {@code null} value are always removed during serialization
6663
*/
6764
<T> DocumentCreateEntity<T> insertDocument(T value) throws ArangoDBException;
6865

@@ -76,9 +73,6 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
7673
* @throws ArangoDBException
7774
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
7875
* Documentation</a>
79-
*
80-
* @implNote The current implementation has the following limitations:
81-
* - the fields having {@code null} value are always removed during serialization
8276
*/
8377
<T> DocumentCreateEntity<T> insertDocument(T value, DocumentCreateOptions options) throws ArangoDBException;
8478

@@ -120,6 +114,9 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
120114
* @param values a list of Objects that will be stored as documents
121115
* @return information about the import
122116
* @throws ArangoDBException
117+
*
118+
* @implNote The current implementation has the following limitations:
119+
* - the fields having {@code null} value are always removed during serialization
123120
*/
124121
DocumentImportEntity importDocuments(Collection<?> values) throws ArangoDBException;
125122

@@ -130,6 +127,9 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
130127
* @param options Additional options, can be null
131128
* @return information about the import
132129
* @throws ArangoDBException
130+
*
131+
* @implNote The current implementation has the following limitations:
132+
* - the fields having {@code null} value are always removed during serialization
133133
*/
134134
DocumentImportEntity importDocuments(Collection<?> values, DocumentImportOptions options) throws ArangoDBException;
135135

@@ -139,6 +139,9 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
139139
* @param values JSON-encoded array of objects that will be stored as documents
140140
* @return information about the import
141141
* @throws ArangoDBException
142+
*
143+
* @implNote The current implementation has the following limitations:
144+
* - the fields having {@code null} value are always removed during serialization
142145
*/
143146
DocumentImportEntity importDocuments(String values) throws ArangoDBException;
144147

@@ -149,6 +152,9 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
149152
* @param options Additional options, can be null
150153
* @return information about the import
151154
* @throws ArangoDBException
155+
*
156+
* @implNote The current implementation has the following limitations:
157+
* - the fields having {@code null} value are always removed during serialization
152158
*/
153159
DocumentImportEntity importDocuments(String values, DocumentImportOptions options) throws ArangoDBException;
154160

@@ -236,6 +242,9 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
236242
* @throws ArangoDBException
237243
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#replace-documents">API
238244
* Documentation</a>
245+
*
246+
* @implNote The current implementation has the following limitations:
247+
* - the fields having {@code null} value are always removed during serialization
239248
*/
240249
<T> MultiDocumentEntity<DocumentUpdateEntity<T>> replaceDocuments(Collection<T> values) throws ArangoDBException;
241250

@@ -249,6 +258,9 @@ <T> DocumentUpdateEntity<T> replaceDocument(String key, T value, DocumentReplace
249258
* @throws ArangoDBException
250259
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#replace-documents">API
251260
* Documentation</a>
261+
*
262+
* @implNote The current implementation has the following limitations:
263+
* - the fields having {@code null} value are always removed during serialization
252264
*/
253265
<T> MultiDocumentEntity<DocumentUpdateEntity<T>> replaceDocuments(
254266
Collection<T> values, DocumentReplaceOptions options) throws ArangoDBException;

0 commit comments

Comments
 (0)