public abstract class AbstractDestination extends Object implements Destination
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDestination() |
| 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.
|
Statistics |
getStatistics()
Returns an instance that can be used to discover information about
previous runs of data.
|
String[] |
getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource)
Infers from the query results handler's specification what propositions
this query results handler supports in its output.
|
boolean |
isGetStatisticsSupported() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetQueryResultsHandlerpublic String getId()
DestinationgetId in interface Destinationpublic String getDisplayName()
getId().getDisplayName in interface Destinationpublic boolean isGetStatisticsSupported()
isGetStatisticsSupported in interface Destinationpublic Statistics getStatistics() throws StatisticsException
DestinationgetStatistics in interface Destinationnull if statistics
collection is not supported by this kind of query results handler.StatisticsExceptionpublic String[] getSupportedPropositionIds(DataSource dataSource, KnowledgeSource knowledgeSource) throws GetSupportedPropositionIdsException
DestinationQueryResultsHandler for which such inference
does not make sense may return an empty array, in which case, no
filtering occurs.getSupportedPropositionIds in interface DestinationString. Guaranteed not
null.GetSupportedPropositionIdsExceptionCopyright © 2012–2018 Emory University. All rights reserved.