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 class
TaskListResponseBase.AbstractBuilder<BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
TaskListResponseBase(TaskListResponseBase.AbstractBuilder<?> builder)
-
Method Summary
Modifier and Type Method Description java.util.List<ErrorCause>
nodeFailures()
API name:node_failures
java.util.Map<java.lang.String,NodeTasks>
nodes()
Task information grouped by node, ifgroup_by
was set tonode
(the default).void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(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_failures
TaskInfos
tasks()
Either a flat list of tasks ifgroup_by
was set tonone
, or grouped by parents ifgroup_by
was set toparents
.java.lang.String
toString()
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_by
was set tonode
(the default).API name:
nodes
-
tasks
Either a flat list of tasks ifgroup_by
was set tonone
, or grouped by parents ifgroup_by
was set toparents
.API name:
tasks
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTaskListResponseBaseDeserializer
protected static <BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>> void setupTaskListResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)
-