Class RDBDocumentSerializer
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentSerializer
Serialization/Parsing of documents.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSerializes all non-column properties of theDocument
into a JSON string.Serializes the changes in theUpdateOp
into a JSON array; each entry is another JSON array holding operation, key, revision, and value.<T extends Document>
TfromRow
(@NotNull Collection<T> collection, @NotNull RDBRow row)
-
Constructor Details
-
RDBDocumentSerializer
-
-
Method Details
-
asString
Serializes all non-column properties of theDocument
into a JSON string. -
asString
Serializes the changes in theUpdateOp
into a JSON array; each entry is another JSON array holding operation, key, revision, and value. -
fromRow
@NotNull public <T extends Document> T fromRow(@NotNull @NotNull Collection<T> collection, @NotNull @NotNull RDBRow row) throws DocumentStoreException - Throws:
DocumentStoreException
-