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 ExplainAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description ExplainRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentExplainResponse
newResponse()
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:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<ExplainRequest,ExplainResponse,ExplainRequestBuilder>
-
newResponse
public ExplainResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<ExplainRequest,ExplainResponse>
-
-