public class PatientSetSenderQueryResultsHandler extends AbstractFileQueryResultsHandler
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called by
AbstractFileQueryResultsHandler.close() to give subclasses an opportunity to clean up
resources that they have created. |
void |
finish() |
void |
handleQueryResult(String keyId,
List<org.protempa.proposition.Proposition> propositions,
Map<org.protempa.proposition.Proposition,List<org.protempa.proposition.Proposition>> forwardDerivations,
Map<org.protempa.proposition.Proposition,List<org.protempa.proposition.Proposition>> backwardDerivations,
Map<org.protempa.proposition.UniqueId,org.protempa.proposition.Proposition> references) |
void |
start(OutputStream outputStream,
Collection<org.protempa.PropositionDefinition> cache)
Called by
AbstractFileQueryResultsHandler.start(java.util.Collection) to given subclasses an opportunity to create
resources and access the output stream. |
void |
validate() |
close, startpublic void validate()
throws org.protempa.dest.QueryResultsHandlerValidationFailedException
validate in interface org.protempa.dest.QueryResultsHandlervalidate in class org.protempa.dest.AbstractQueryResultsHandlerorg.protempa.dest.QueryResultsHandlerValidationFailedExceptionpublic void start(OutputStream outputStream, Collection<org.protempa.PropositionDefinition> cache) throws org.protempa.dest.QueryResultsHandlerProcessingException
AbstractFileQueryResultsHandlerAbstractFileQueryResultsHandler.start(java.util.Collection) to given subclasses an opportunity to create
resources and access the output stream.start in class AbstractFileQueryResultsHandlerorg.protempa.dest.QueryResultsHandlerProcessingExceptionpublic void handleQueryResult(String keyId, List<org.protempa.proposition.Proposition> propositions, Map<org.protempa.proposition.Proposition,List<org.protempa.proposition.Proposition>> forwardDerivations, Map<org.protempa.proposition.Proposition,List<org.protempa.proposition.Proposition>> backwardDerivations, Map<org.protempa.proposition.UniqueId,org.protempa.proposition.Proposition> references) throws org.protempa.dest.QueryResultsHandlerProcessingException
org.protempa.dest.QueryResultsHandlerProcessingExceptionpublic void finish()
throws org.protempa.dest.QueryResultsHandlerProcessingException
finish in interface org.protempa.dest.QueryResultsHandlerfinish in class org.protempa.dest.AbstractQueryResultsHandlerorg.protempa.dest.QueryResultsHandlerProcessingExceptionpublic void cleanup()
throws org.protempa.dest.QueryResultsHandlerCloseException
AbstractFileQueryResultsHandlerAbstractFileQueryResultsHandler.close() to give subclasses an opportunity to clean up
resources that they have created.cleanup in class AbstractFileQueryResultsHandlerorg.protempa.dest.QueryResultsHandlerCloseException - if an error occurred.Copyright © 2012–2017 Emory University. All rights reserved.