Package com.arangodb.entity
Class DocumentImportEntity
java.lang.Object
com.arangodb.entity.DocumentImportEntity
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmpty()
void
setCreated
(Integer created) void
setDetails
(Collection<String> details) void
void
void
setIgnored
(Integer ignored) void
setUpdated
(Integer updated)
-
Constructor Details
-
DocumentImportEntity
public DocumentImportEntity()
-
-
Method Details
-
getCreated
- Returns:
- number of documents imported.
-
setCreated
-
getErrors
- Returns:
- number of documents that were not imported due to an error.
-
setErrors
-
getEmpty
- Returns:
- number of empty lines found in the input (will only contain a value greater zero for types documents or auto).
-
setEmpty
-
getUpdated
- Returns:
- number of updated/replaced documents (in case onDuplicate was set to either update or replace).
-
setUpdated
-
getIgnored
- Returns:
- number of failed but ignored insert operations (in case onDuplicate was set to ignore).
-
setIgnored
-
getDetails
- Returns:
- if query parameter details is set to true, the result contain details with more detailed information about which documents could not be inserted.
-
setDetails
-