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

com.marklogic.spark.writer.file.ZipCommitMessage Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.spark.writer.file;

import org.apache.spark.sql.connector.write.WriterCommitMessage;

class ZipCommitMessage implements WriterCommitMessage {

    private final String path;
    private final String zipFilePath;
    private final int zipEntryCount;

    ZipCommitMessage(String path, String zipFilePath, int zipEntryCount) {
        this.path = path;
        this.zipFilePath = zipFilePath;
        this.zipEntryCount = zipEntryCount;
    }

    String getPath() {
        return path;
    }

    String getZipFilePath() {
        return zipFilePath;
    }

    int getZipEntryCount() {
        return zipEntryCount;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy