Class DocumentImportEntity


  • public final class DocumentImportEntity
    extends Object
    Author:
    Mark Vollmary
    • Constructor Detail

      • DocumentImportEntity

        public DocumentImportEntity()
    • Method Detail

      • getCreated

        public Integer getCreated()
        Returns:
        number of documents imported.
      • setCreated

        public void setCreated​(Integer created)
      • getErrors

        public Integer getErrors()
        Returns:
        number of documents that were not imported due to an error.
      • setErrors

        public void setErrors​(Integer errors)
      • getEmpty

        public Integer getEmpty()
        Returns:
        number of empty lines found in the input (will only contain a value greater zero for types documents or auto).
      • setEmpty

        public void setEmpty​(Integer empty)
      • getUpdated

        public Integer getUpdated()
        Returns:
        number of updated/replaced documents (in case onDuplicate was set to either update or replace).
      • setUpdated

        public void setUpdated​(Integer updated)
      • getIgnored

        public Integer getIgnored()
        Returns:
        number of failed but ignored insert operations (in case onDuplicate was set to ignore).
      • setIgnored

        public void setIgnored​(Integer ignored)
      • getDetails

        public Collection<String> 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.