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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidend()Signal that query processing has completedvoidhandle(T theResult)Handle a result to a queryvoidlinks(java.util.List<java.lang.String> theLinks)Handle the set of links from the resultvoidstart()Signal that query processing is starting
-
-
-
Method Detail
-
links
void links(@Nonnull java.util.List<java.lang.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
-
-