com.marklogic.flux.api.AvroFilesImporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flux-api Show documentation
Show all versions of flux-api Show documentation
Flux API for data movement with MarkLogic
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.flux.api;
import java.util.function.Consumer;
/**
* Read Avro files from local, HDFS, and S3 locations using
* Spark's Avro support,
* and write JSON or XML documents to MarkLogic.
*/
public interface AvroFilesImporter extends Executor {
AvroFilesImporter from(Consumer consumer);
AvroFilesImporter from(String... paths);
AvroFilesImporter to(Consumer consumer);
}