Class UpgradeAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
-
- org.elasticsearch.action.admin.indices.upgrade.post.UpgradeAction
-
public class UpgradeAction extends Action<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
Upgrade index/indices action.
-
-
Field Summary
Fields Modifier and Type Field Description static UpgradeAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description UpgradeRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentUpgradeResponse
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 UpgradeAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public UpgradeResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<UpgradeRequest,UpgradeResponse>
-
newRequestBuilder
public UpgradeRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
-
-