Java api: remove operationThreaded setter from ExplainRequestBuilder, already available in base class SingleShardOperationRequestBuilder

It also didn't follow the setter convention that we adopted for request builders.
Fixed also javadocs warning caused byt missing descriptions for tag.

Closes #7186
This commit is contained in:
javanna 2014-08-07 10:00:42 +02:00 committed by Luca Cavanna
parent a242a63817
commit dbb513f5b0

View File

@ -110,10 +110,6 @@ public class ExplainRequestBuilder extends SingleShardOperationRequestBuilder<Ex
/**
* Indicates whether the response should contain the stored _source
*
*
* @param fetch
* @return
*/
public ExplainRequestBuilder setFetchSource(boolean fetch) {
FetchSourceContext context = request.fetchSourceContext();
@ -167,14 +163,6 @@ public class ExplainRequestBuilder extends SingleShardOperationRequestBuilder<Ex
return this;
}
/**
* Sets whether the actual explain action should occur in a different thread if executed locally.
*/
public ExplainRequestBuilder operationThreaded(boolean threadedOperation) {
request().operationThreaded(threadedOperation);
return this;
}
protected void doExecute(ActionListener<ExplainResponse> listener) {
if (sourceBuilder != null) {
request.source(sourceBuilder);