Package com.stardog.stark.query

# Interface QueryResultHandler<T>

All Known Subinterfaces:
  `BooleanQueryResultHandler`, `BooleanQueryResultWriter`, `PathQueryResultWriter`, `QueryResultWriter<T>`, `SelectQueryResultHandler`, `SelectQueryResultWriter`

All Known Implementing Classes:
  `AbstractDataExporterQueryResultWriter`, `AbstractQueryResultHandler`, `AbstractSPARQLJSONWriter`, `AbstractSPARQLXMLWriter`, `BinarySelectQueryResultWriter`, `HTMLQueryResultWriter`, `QueryResultBuilder`, `SPARQLCSVResultWriter`, `SPARQLJSONBooleanResultWriter`, `SPARQLJSONSelectResultWriter`, `SPARQLTSVResultWriter`, `SPARQLXMLBooleanResultWriter`, `SPARQLXMLSelectResultWriter`, `TextBooleanQueryResultWriter`, `TextPathQueryResultWriter`, `TextTablePathQueryResultWriter`, `TextTableQueryResultWriter`

public interface QueryResultHandler<T>

Handler for processing query results.

Since:
  1.0
Version:
  1.0
Author:
  Michael Grove

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `end()`
  Signal that query processing has completed
  `void`
  `handle(T theResult)`
  Handle a result to a query
  `void`
  `links(List<String> theLinks)`
  Handle the set of links from the result
  `void`
  `start()`
  Signal that query processing is starting

- ## Method Details

  - ### links

    void links(@Nonnull List<String> theLinks)
    Handle the set of links from the result
    Parameters:
      `theLinks` - The links
    See Also:
      - "link"

  - ### handle

    void handle(@Nonnull T theResult)
    Handle a result to a query
    Parameters:
      `theResult` - the result

  - ### start

    void start()
    Signal that query processing is starting

  - ### end

    void end()
    Signal that query processing has completed