Package com.arangodb.entity
Class MultiDocumentEntity<E>
- java.lang.Object
-
- com.arangodb.entity.MultiDocumentEntity<E>
-
public final class MultiDocumentEntity<E> extends Object
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description MultiDocumentEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<E>getDocuments()Collection<Object>getDocumentsAndErrors()Collection<ErrorEntity>getErrors()BooleanisPotentialDirtyRead()voidsetDocuments(Collection<E> documents)voidsetDocumentsAndErrors(Collection<Object> documentsAndErrors)voidsetErrors(Collection<ErrorEntity> errors)voidsetPotentialDirtyRead(Boolean isPotentialDirtyRead)
-
-
-
Method Detail
-
getDocuments
public Collection<E> getDocuments()
- Returns:
- all successfully processed documents
-
setDocuments
public void setDocuments(Collection<E> documents)
-
getErrors
public Collection<ErrorEntity> getErrors()
- Returns:
- all errors
-
setErrors
public void setErrors(Collection<ErrorEntity> errors)
-
getDocumentsAndErrors
public Collection<Object> getDocumentsAndErrors()
- Returns:
- all successfully processed documents and all errors in the same order they are processed
-
setDocumentsAndErrors
public void setDocumentsAndErrors(Collection<Object> documentsAndErrors)
-
isPotentialDirtyRead
public Boolean isPotentialDirtyRead()
- Returns:
- true if the result is a potential dirty read
- Since:
- ArangoDB 3.10
-
setPotentialDirtyRead
public void setPotentialDirtyRead(Boolean isPotentialDirtyRead)
-
-