Package org.elasticsearch.action.explain
Class ExplainAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<ExplainRequest,ExplainResponse,ExplainRequestBuilder>
-
- org.elasticsearch.action.explain.ExplainAction
-
public class ExplainAction extends Action<ExplainRequest,ExplainResponse,ExplainRequestBuilder>
Entry point for the explain feature.
-
-
Field Summary
Fields Modifier and Type Field Description static ExplainActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
Modifier and Type Method Description ExplainRequestBuildernewRequestBuilder(ElasticsearchClient client)Creates a new request builder given the client provided as argumentExplainResponsenewResponse()Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final ExplainAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newRequestBuilder
public ExplainRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument- Specified by:
newRequestBuilderin classAction<ExplainRequest,ExplainResponse,ExplainRequestBuilder>
-
newResponse
public ExplainResponse newResponse()
Description copied from class:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<ExplainRequest,ExplainResponse>
-
-