public final class I2b2Destination
extends org.protempa.dest.AbstractDestination
| Constructor and Description |
|---|
I2b2Destination(Configuration config)
Creates a new query results handler that will use the provided
configuration file.
|
I2b2Destination(Configuration config,
boolean inferSupportedPropositionIds)
Creates a new query results handler that will use the provided
configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
org.protempa.dest.QueryResultsHandler |
getQueryResultsHandler(org.protempa.query.Query query,
org.protempa.DataSource dataSource,
org.protempa.KnowledgeSource knowledgeSource,
List<? extends org.protempa.ProtempaEventListener> eventListeners) |
org.protempa.dest.Statistics |
getStatistics() |
String[] |
getSupportedPropositionIds(org.protempa.DataSource dataSource,
org.protempa.KnowledgeSource knowledgeSource) |
boolean |
isGetStatisticsSupported() |
public I2b2Destination(Configuration config)
inferPropositionIdsNeeded set to
false.confXML - an i2b2 query results handler configuration file. Cannot
be null.public I2b2Destination(Configuration config, boolean inferSupportedPropositionIds)
inferPropositionIdsNeeded parameter, lets you control
whether proposition ids to be returned from the Protempa processing run
should be inferred from the i2b2 configuration file.confXML - an i2b2 query results handler configuration file. Cannot
be null.inferPropositionIdsNeeded - true if proposition ids to
be returned from the Protempa processing run should include all of those
specified in the i2b2 configuration file, false if the
proposition ids returned should be only those specified in the Protempa
Query.public org.protempa.dest.QueryResultsHandler getQueryResultsHandler(org.protempa.query.Query query,
org.protempa.DataSource dataSource,
org.protempa.KnowledgeSource knowledgeSource,
List<? extends org.protempa.ProtempaEventListener> eventListeners)
throws org.protempa.dest.QueryResultsHandlerInitException
org.protempa.dest.QueryResultsHandlerInitExceptionpublic boolean isGetStatisticsSupported()
isGetStatisticsSupported in interface org.protempa.dest.DestinationisGetStatisticsSupported in class org.protempa.dest.AbstractDestinationpublic org.protempa.dest.Statistics getStatistics()
throws org.protempa.dest.StatisticsException
getStatistics in interface org.protempa.dest.DestinationgetStatistics in class org.protempa.dest.AbstractDestinationorg.protempa.dest.StatisticsExceptionpublic String[] getSupportedPropositionIds(org.protempa.DataSource dataSource, org.protempa.KnowledgeSource knowledgeSource) throws org.protempa.dest.GetSupportedPropositionIdsException
getSupportedPropositionIds in interface org.protempa.dest.DestinationgetSupportedPropositionIds in class org.protempa.dest.AbstractDestinationorg.protempa.dest.GetSupportedPropositionIdsExceptionCopyright © 2012–2017 Emory University. All rights reserved.