Class JoinNode
java.lang.Object
com.google.adk.workflow.BaseNode
com.google.adk.workflow.JoinNode
- All Implemented Interfaces:
Node
A node that waits for every predecessor to complete, then outputs their outputs keyed by
predecessor name. Route each predecessor into the join every time it completes: one that routes
elsewhere still counts as complete, and if it completes last, the join never runs.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JoinNode.Builderbuilder()booleanReturnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does.io.reactivex.rxjava3.core.Flowable<?> Outputs its input unchanged, or nothing when the input is null.Methods inherited from class BaseNode
config, description, inputSchema, name, outputSchema, rerunOnResume, stateSchema, waitForOutputModifier and TypeMethodDescriptionconfig()Returns the node's retry policy and execution timeout.Returns what the node does, for humans and for a model that may call it.Optional<com.google.genai.types.Schema> Returns the schema the node's input must match.final Stringname()Returns the name that identifies the node within its graph.Optional<com.google.genai.types.Schema> Returns the schema that the node's output value must match.booleanReturnstrueif a resumed node runs again from scratch, rather than completing with the resuming answer as its output.Optional<com.google.genai.types.Schema> Returns the schema declaring the state keys the node uses.booleanReturnstrueif the node stays re-triggerable until it produces an output or a route, instead of completing when its run completes.
-
Method Details
-
builder
-
requiresAllPredecessors
public boolean requiresAllPredecessors()Description copied from interface:NodeReturnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does. -
runNode
-