Class TaskListResponseBase
java.lang.Object
co.elastic.clients.elasticsearch.tasks.TaskListResponseBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
CancelResponse,DeleteByQueryRethrottleResponse,ListResponse
public abstract class TaskListResponseBase extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classTaskListResponseBase.AbstractBuilder<BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>> -
Constructor Summary
Constructors Modifier Constructor Description protectedTaskListResponseBase(TaskListResponseBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and Type Method Description java.util.List<ErrorCause>nodeFailures()API name:node_failuresjava.util.Map<java.lang.String,NodeTasks>nodes()Task information grouped by node, ifgroup_bywas set tonode(the default).voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static <BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>>
voidsetupTaskListResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)java.util.List<TaskFailure>taskFailures()API name:task_failuresTaskInfostasks()Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TaskListResponseBase
-
-
Method Details
-
nodeFailures
API name:node_failures -
taskFailures
API name:task_failures -
nodes
Task information grouped by node, ifgroup_bywas set tonode(the default).API name:
nodes -
tasks
Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.API name:
tasks -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTaskListResponseBaseDeserializer
protected static <BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>> void setupTaskListResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)
-