Package crate.elasticsearch.action.dump

Source Code of crate.elasticsearch.action.dump.DumpAction

package crate.elasticsearch.action.dump;

import crate.elasticsearch.action.export.ExportRequest;
import crate.elasticsearch.action.export.ExportResponse;
import crate.elasticsearch.client.action.export.ExportRequestBuilder;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.Client;


/**
*
*/
public class DumpAction extends Action<ExportRequest, ExportResponse, ExportRequestBuilder> {

    public static final DumpAction INSTANCE = new DumpAction();
    public static final String NAME = "el-crate-dump";

    private DumpAction() {
        super(NAME);
    }

    @Override
    public ExportResponse newResponse() {
        return new ExportResponse();
    }

    @Override
    public ExportRequestBuilder newRequestBuilder(Client client) {
        return new ExportRequestBuilder(client);
    }

}
TOP

Related Classes of crate.elasticsearch.action.dump.DumpAction

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.