Package org.elasticsearch.action.explain
Class ExplainAction
- java.lang.Object
-
- org.elasticsearch.action.Action<ExplainResponse>
-
- org.elasticsearch.action.explain.ExplainAction
-
public class ExplainAction extends Action<ExplainResponse>
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 Writeable.Reader<ExplainResponse>
getResponseReader()
Get a reader that can create a new instance of the class from aStreamInput
ExplainResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.Action
equals, 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
-
newResponse
public ExplainResponse newResponse()
Description copied from class:Action
Creates a new response instance.- Specified by:
newResponse
in classAction<ExplainResponse>
-
getResponseReader
public Writeable.Reader<ExplainResponse> getResponseReader()
Description copied from class:Action
Get a reader that can create a new instance of the class from aStreamInput
- Overrides:
getResponseReader
in classAction<ExplainResponse>
-
-