Class IndexUpgradeInfoRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- org.elasticsearch.action.support.master.MasterNodeRequest<Request>
-
- org.elasticsearch.action.support.master.MasterNodeReadRequest<IndexUpgradeInfoRequest>
-
- org.elasticsearch.protocol.xpack.migration.IndexUpgradeInfoRequest
-
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.Replaceable,Streamable,Writeable,TaskAwareRequest
public class IndexUpgradeInfoRequest extends MasterNodeReadRequest<IndexUpgradeInfoRequest> implements IndicesRequest.Replaceable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.Replaceable
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.MasterNodeReadRequest
local
-
Fields inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
-
-
Constructor Summary
Constructors Constructor Description IndexUpgradeInfoRequest(java.lang.String... indices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.String[]indices()IndexUpgradeInfoRequestindices(java.lang.String... indices)IndicesOptionsindicesOptions()voidindicesOptions(IndicesOptions indicesOptions)voidreadFrom(StreamInput in)ActionRequestValidationExceptionvalidate()voidwriteTo(StreamOutput out)-
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeReadRequest
local, local
-
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
-
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult
-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
-
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
- Specified by:
writeToin interfaceStreamable- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classMasterNodeReadRequest<IndexUpgradeInfoRequest>- Throws:
java.io.IOException
-
indices
public java.lang.String[] indices()
- Specified by:
indicesin interfaceIndicesRequest
-
indices
public IndexUpgradeInfoRequest indices(java.lang.String... indices)
- Specified by:
indicesin interfaceIndicesRequest.Replaceable
-
indicesOptions
public IndicesOptions indicesOptions()
- Specified by:
indicesOptionsin interfaceIndicesRequest
-
indicesOptions
public void indicesOptions(IndicesOptions indicesOptions)
-
validate
public ActionRequestValidationException validate()
- Specified by:
validatein classActionRequest
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
- Specified by:
readFromin interfaceStreamable- Overrides:
readFromin classMasterNodeReadRequest<IndexUpgradeInfoRequest>- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-