Record Class DittoException.StoreExceptionReason.InvalidDocumentStructure
java.lang.Object
java.lang.Record
com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
- All Implemented Interfaces:
DittoException.StoreExceptionReason
- Enclosing interface:
DittoException.StoreExceptionReason
public static record DittoException.StoreExceptionReason.InvalidDocumentStructure(byte[] cbor)
extends Record
implements DittoException.StoreExceptionReason
The document's internal representation was invalid.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ditto.java.DittoException.StoreExceptionReason
DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists, DittoException.StoreExceptionReason.AttachmentDataRetrievalError, DittoException.StoreExceptionReason.AttachmentFileCopyError, DittoException.StoreExceptionReason.AttachmentFileNotFound, DittoException.StoreExceptionReason.AttachmentFilePermissionDenied, DittoException.StoreExceptionReason.AttachmentNotFound, DittoException.StoreExceptionReason.AttachmentTokenInvalid, DittoException.StoreExceptionReason.BackendError, DittoException.StoreExceptionReason.CrdtError, DittoException.StoreExceptionReason.DocumentContentEncodingFailed, DittoException.StoreExceptionReason.DocumentNotFound, DittoException.StoreExceptionReason.FailedToCopyAttachment, DittoException.StoreExceptionReason.FailedToCreateAttachment, DittoException.StoreExceptionReason.FailedToDecodeCounter, DittoException.StoreExceptionReason.FailedToDecodeData, DittoException.StoreExceptionReason.FailedToDecodeDocument, DittoException.StoreExceptionReason.FailedToDecodeValue, DittoException.StoreExceptionReason.FailedToEncodeValue, DittoException.StoreExceptionReason.FailedToFetchAttachment, DittoException.StoreExceptionReason.FailedToGetDocumentData, DittoException.StoreExceptionReason.FailedToGetDocumentIDData, DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory, DittoException.StoreExceptionReason.InvalidCrdtType, DittoException.StoreExceptionReason.InvalidDocumentStructure, DittoException.StoreExceptionReason.InvalidLiveQueryId, DittoException.StoreExceptionReason.InvalidValueForCrdt, DittoException.StoreExceptionReason.NoIdPresentInDocument, DittoException.StoreExceptionReason.NonStringKeyInDocument, DittoException.StoreExceptionReason.PersistenceDirectoryLocked, DittoException.StoreExceptionReason.QueryArgumentsInvalid, DittoException.StoreExceptionReason.QueryCompilationFailed, DittoException.StoreExceptionReason.QueryError, DittoException.StoreExceptionReason.QueryInvalid, DittoException.StoreExceptionReason.QueryNotSupported, DittoException.StoreExceptionReason.TransactionReadOnly -
Constructor Summary
ConstructorsConstructorDescriptionInvalidDocumentStructure(byte[] cbor) Creates an instance of aInvalidDocumentStructurerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]cbor()Returns the value of thecborrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InvalidDocumentStructure
public InvalidDocumentStructure(byte[] cbor) Creates an instance of aInvalidDocumentStructurerecord class.- Parameters:
cbor- the value for thecborrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cbor
public byte[] cbor()Returns the value of thecborrecord component.- Returns:
- the value of the
cborrecord component
-