com.marklogic.spark.writer.file.FileCommitMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-spark-connector Show documentation
Show all versions of marklogic-spark-connector Show documentation
Spark 3 connector for MarkLogic
/*
* 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;
}
}