Interface BooleanQueryResultHandler

All Superinterfaces:
QueryResultHandler<Boolean>
All Known Subinterfaces:
BooleanQueryResultWriter
All Known Implementing Classes:
SPARQLJSONBooleanResultWriter, SPARQLXMLBooleanResultWriter, TextBooleanQueryResultWriter

public interface BooleanQueryResultHandler extends QueryResultHandler<Boolean>
Since:
1.0
Version:
1.0
Author:
Michael Grove
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Boolean theResult)
    Boolean query results return a *single* value, `true` or `false`.

    Methods inherited from interface com.stardog.stark.query.QueryResultHandler

    end, links, start
  • Method Details

    • handle

      void handle(@Nonnull Boolean theResult)
      Boolean query results return a *single* value, `true` or `false`. This method will only be called once by whatever is producing the results
      Specified by:
      handle in interface QueryResultHandler<Boolean>
      Parameters:
      theResult - the single query result