public class KeyLoaderDestination extends AbstractDestination
| Constructor and Description |
|---|
KeyLoaderDestination(Criteria criteria) |
KeyLoaderDestination(String id,
Criteria criteria) |
KeyLoaderDestination(String id,
String displayName,
Criteria criteria) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns this destination's display name for user interfaces.
|
String |
getId()
Gets the destination's identifier string for logging and internal
purposes.
|
QueryResultsHandler |
getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource,
List<? extends ProtempaEventListener> eventListeners)
Performs any initialization required for the query results handler's
configuration.
|
String[] |
getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource)
Infers from the query results handler's specification what propositions
this query results handler supports in its output.
|
getStatistics, isGetStatisticsSupportedpublic KeyLoaderDestination(Criteria criteria)
public String getDisplayName()
AbstractDestinationAbstractDestination.getId().getDisplayName in interface DestinationgetDisplayName in class AbstractDestinationpublic String getId()
DestinationgetId in interface DestinationgetId in class AbstractDestinationpublic QueryResultsHandler getQueryResultsHandler(Query query, DataSource dataSource, KnowledgeSource knowledgeSource, List<? extends ProtempaEventListener> eventListeners) throws QueryResultsHandlerInitException
Destination#collectStatistics() will work. This method is called by
Protempa before
#handleKnowledgeSource(org.protempa.KnowledgeSource) .QueryResultsHandlerInitExceptionpublic String[] getSupportedPropositionIds(DataSource dataSource, KnowledgeSource knowledgeSource)
DestinationQueryResultsHandler for which such inference
does not make sense may return an empty array, in which case, no
filtering occurs.getSupportedPropositionIds in interface DestinationgetSupportedPropositionIds in class AbstractDestinationString. Guaranteed not
null.Copyright © 2012–2018 Emory University. All rights reserved.