All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.spark.reader.file.MlcpMetadata Maven / Gradle / Ivy

There is a newer version: 2.4.2
Show newest version
/*
 * Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.spark.reader.file;

import com.marklogic.client.io.DocumentMetadataHandle;
import com.marklogic.client.io.Format;

/**
 * Captures all the metadata, including document format, from an XML metadata entry in an MLCP archive file.
 */
class MlcpMetadata {

    private DocumentMetadataHandle metadata;
    private Format format;

    MlcpMetadata(DocumentMetadataHandle metadata, Format format) {
        this.metadata = metadata;
        this.format = format;
    }

    DocumentMetadataHandle getMetadata() {
        return metadata;
    }

    Format getFormat() {
        return format;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy