SearchAction
instead.@Deprecated public class CountAction extends Action<CountRequest,CountResponse,CountRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static CountAction |
INSTANCE
Deprecated.
|
static String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CountRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Deprecated.
Creates a new request builder given the client provided as argument
|
CountResponse |
newResponse()
Deprecated.
Creates a new response instance.
|
equals, hashCode, name, transportOptions
public static final CountAction INSTANCE
public static final String NAME
public CountResponse newResponse()
GenericAction
newResponse
in class GenericAction<CountRequest,CountResponse>
public CountRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<CountRequest,CountResponse,CountRequestBuilder>
client
- An initialized ElasticsearchClient
RequestBuilder
instanceCopyright © 2009–2016. All rights reserved.