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

com.marklogic.spark.writer.file.FileCommitMessage 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 FileCommitMessage implements WriterCommitMessage {

    private final String path;
    private final int fileCount;

    FileCommitMessage(String path, int fileCount) {
        this.path = path;
        this.fileCount = fileCount;
    }

    String getPath() {
        return path;
    }

    int getFileCount() {
        return fileCount;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy