Package crate.elasticsearch.action.export

Source Code of crate.elasticsearch.action.export.ExportAction

package crate.elasticsearch.action.export;

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


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

    public static final ExportAction INSTANCE = new ExportAction();
    public static final String NAME = "el-crate-export";

    private ExportAction() {
        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.export.ExportAction

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.