Class TeamRunResult
java.lang.Object
com.oracle.database.selectai.model.agent.TeamRunResult
Result returned by a Select AI Agent team run.
The database may return a final answer, status information, or a database-defined JSON document. This model preserves the returned value without imposing a database-version-specific schema.
This class inherits Object.toString() so ordinary object logging
does not include response content. Use getRawValue() explicitly
when the response is needed, and review it before logging.
- Since:
- 1.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamRunResultfromRawValue(String rawValue) Creates a result from a database value.Returns the exact value returned by the database.
-
Constructor Details
-
TeamRunResult
Creates a team-run result.- Parameters:
rawValue- value returned by the database, possiblynull
-
-
Method Details
-
fromRawValue
Creates a result from a database value.- Parameters:
rawValue- value returned by the database- Returns:
- result, or
nullwhen the database returned no value
-
getRawValue
Returns the exact value returned by the database.- Returns:
- final answer, status text, or JSON returned by the database
-