Package org.elasticsearch.client.tasks
Class TaskSubmissionResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- org.elasticsearch.client.tasks.TaskSubmissionResponse
-
- All Implemented Interfaces:
Streamable
,Writeable
public class TaskSubmissionResponse extends ActionResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
-
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 Modifier and Type Field Description static ConstructingObjectParser<TaskSubmissionResponse,java.lang.Void>
PARSER
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static TaskSubmissionResponse
fromXContent(XContentParser parser)
java.lang.String
getTask()
Get the task idint
hashCode()
-
Methods inherited from class org.elasticsearch.action.ActionResponse
readFrom, writeTo
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Field Detail
-
PARSER
public static final ConstructingObjectParser<TaskSubmissionResponse,java.lang.Void> PARSER
-
-
Method Detail
-
getTask
public java.lang.String getTask()
Get the task id- Returns:
- the id of the reindex task.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
fromXContent
public static TaskSubmissionResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-