Package com.stardog.stark.query
Class AbstractQueryResultHandler<T>
- java.lang.Object
-
- com.stardog.stark.query.AbstractQueryResultHandler<T>
-
- All Implemented Interfaces:
QueryResultHandler<T>
- Direct Known Subclasses:
QueryResultBuilder
public abstract class AbstractQueryResultHandler<T> extends java.lang.Object implements QueryResultHandler<T>
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryResultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
Signal that query processing has completedvoid
links(java.util.List<java.lang.String> theLinks)
Handle the set of links from the resultvoid
start()
Signal that query processing is starting-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.stardog.stark.query.QueryResultHandler
handle
-
-
-
-
Method Detail
-
links
public void links(@Nonnull java.util.List<java.lang.String> theLinks)
Handle the set of links from the result- Specified by:
links
in interfaceQueryResultHandler<T>
- Parameters:
theLinks
- The links- See Also:
- "link"
-
start
public void start()
Signal that query processing is starting- Specified by:
start
in interfaceQueryResultHandler<T>
-
end
public void end()
Signal that query processing has completed- Specified by:
end
in interfaceQueryResultHandler<T>
-
-