Class ResultSetConsumer.Chaining
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.rdfservice.ResultSetConsumer
-
- edu.cornell.mannlib.vitro.webapp.rdfservice.ResultSetConsumer.Chaining
-
- Enclosing class:
- ResultSetConsumer
public abstract static class ResultSetConsumer.Chaining extends ResultSetConsumer
Helper implemenation of ResutSetConsumer that can be used to wrap another ResultSetConsumer - useful for filtering implementations
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.rdfservice.ResultSetConsumer
ResultSetConsumer.Chaining, ResultSetConsumer.HasResult
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChaining(ResultSetConsumer innerConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidchainEndProcessing()Helper method that calls endProcessing on an embedded ResultSetConsumerprotected voidchainProcessQuerySolution(org.apache.jena.query.QuerySolution qs)Helper method that calls the processQuerySolution on an embedded ResultSetConsumerprotected voidchainStartProcessing()Helper method that calls startProcessing on an embedded ResultSetConsumerprotected voidendProcessing()Method to notify the consumer that all QuerySolutions have been processedprotected voidstartProcessing()Method to notify the consumer that a ResultSet is valid and is about to be processed-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.rdfservice.ResultSetConsumer
getResultVars, processQuerySolution, processResultSet
-
-
-
-
Constructor Detail
-
Chaining
protected Chaining(ResultSetConsumer innerConsumer)
-
-
Method Detail
-
startProcessing
protected void startProcessing()
Description copied from class:ResultSetConsumerMethod to notify the consumer that a ResultSet is valid and is about to be processed- Overrides:
startProcessingin classResultSetConsumer
-
endProcessing
protected void endProcessing()
Description copied from class:ResultSetConsumerMethod to notify the consumer that all QuerySolutions have been processed- Overrides:
endProcessingin classResultSetConsumer
-
chainProcessQuerySolution
protected void chainProcessQuerySolution(org.apache.jena.query.QuerySolution qs)
Helper method that calls the processQuerySolution on an embedded ResultSetConsumer- Parameters:
qs- Query solution
-
chainStartProcessing
protected void chainStartProcessing()
Helper method that calls startProcessing on an embedded ResultSetConsumer
-
chainEndProcessing
protected void chainEndProcessing()
Helper method that calls endProcessing on an embedded ResultSetConsumer
-
-