Class TeamRunResult

java.lang.Object
com.oracle.database.selectai.model.agent.TeamRunResult

public final class TeamRunResult extends Object
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 Details

    • TeamRunResult

      public TeamRunResult(String rawValue)
      Creates a team-run result.
      Parameters:
      rawValue - value returned by the database, possibly null
  • Method Details

    • fromRawValue

      public static TeamRunResult fromRawValue(String rawValue)
      Creates a result from a database value.
      Parameters:
      rawValue - value returned by the database
      Returns:
      result, or null when the database returned no value
    • getRawValue

      public String getRawValue()
      Returns the exact value returned by the database.
      Returns:
      final answer, status text, or JSON returned by the database