Package com.norconex.committer.core
Class UpsertRequest
java.lang.Object
com.norconex.committer.core.UpsertRequest
- All Implemented Interfaces:
CommitterRequest
A committer upsert request (update or insert).
-
Constructor Summary
ConstructorsConstructorDescriptionUpsertRequest(@NonNull String reference, Properties metadata, InputStream content) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGets the metadata.Gets the document reference.Why the committer withheld this document rather than send it (for example its access control list could not be read), ornullwhen it did not.inthashCode()voidsetWithheldReason(String withheldReason) Why the committer withheld this document rather than send it (for example its access control list could not be read), ornullwhen it did not.toString()
-
Constructor Details
-
UpsertRequest
-
-
Method Details
-
getReference
Description copied from interface:CommitterRequestGets the document reference.- Specified by:
getReferencein interfaceCommitterRequest- Returns:
- document reference
-
getMetadata
Description copied from interface:CommitterRequestGets the metadata.- Specified by:
getMetadatain interfaceCommitterRequest- Returns:
- metadata
-
getContent
-
getWithheldReason
Why the committer withheld this document rather than send it (for example its access control list could not be read), ornullwhen it did not. Set by the committer; read by whoever called it, to try the document again later. -
setWithheldReason
Why the committer withheld this document rather than send it (for example its access control list could not be read), ornullwhen it did not. Set by the committer; read by whoever called it, to try the document again later. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-