com.marklogic.flux.api.CustomImporter 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.Map;
import java.util.function.Consumer;
/**
* Read data via a custom Spark connector or data source and write JSON or XML documents to MarkLogic.
*/
public interface CustomImporter extends Executor {
interface CustomReadOptions {
CustomReadOptions source(String source);
CustomReadOptions additionalOptions(Map additionalOptions);
CustomReadOptions s3AddCredentials();
CustomReadOptions s3AccessKeyId(String accessKeyId);
CustomReadOptions s3SecretAccessKey(String secretAccessKey);
CustomReadOptions s3Endpoint(String endpoint);
}
CustomImporter from(Consumer consumer);
CustomImporter to(Consumer consumer);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy