Contents

execute(table:)

Generates output data from the specified tabular data.

Declaration

nonisolated(nonsending) func execute(table: SearchResultsTable) async throws -> SearchPipelineData

Parameters

  • table:

    The column and row data with the values to process.

Return Value

A pipeline data structure with data your stage produced. Make sure the output you return matches the output you specified in the outputType property.

Discussion

If your stage supports tabular data as input, implement this method and use it to generate your stage’s supported output data. Write your code to run in parallel with other instances of your stage and instances of other stages. The best approach is to use only the contents of the items parameter and local intermediate values you create to deliver the output data.

See Also

Performing the stage behavior