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

com.marklogic.flux.api.DocumentCopier Maven / Gradle / Ivy

There is a newer version: 1.0.0.ea1
Show newest version
/*
 * 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy