com.marklogic.flux.api.DocumentCopier 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;
/**
* Copy documents from one database to another database, which can also be the originating database.
*/
public interface DocumentCopier extends Executor {
interface CopyReadDocumentsOptions extends ReadDocumentsOptions {
CopyReadDocumentsOptions categories(String... categories);
}
DocumentCopier from(Consumer consumer);
DocumentCopier outputConnection(Consumer consumer);
DocumentCopier outputConnectionString(String connectionString);
DocumentCopier to(Consumer> consumer);
}