| Modifier and Type | Class and Description |
|---|---|
class |
KnowledgeSourceImpl
A read-only "interface" to an externally-maintained knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
KnowledgeSource |
Protempa.getKnowledgeSource()
Gets the knowledge source.
|
KnowledgeSource |
KnowledgeSourceUpdatedEvent.getProtempaSource() |
KnowledgeSource |
SourceFactory.newKnowledgeSourceInstance() |
| Modifier and Type | Method and Description |
|---|---|
KnowledgeSourceCache |
KnowledgeSourceCacheFactory.getInstance(KnowledgeSource ks,
Collection<PropositionDefinition> cache,
boolean collectValueSets) |
| Constructor and Description |
|---|
KnowledgeSourceUpdatedEvent(KnowledgeSource knowledgeSource)
Constructs an event with the source
KnowledgeSource that generated the event. |
Protempa(DataSource dataSource,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource,
TermSource termSource)
Constructor that configures PROTEMPA not to cache found abstract
parameters.
|
Protempa(DataSource dataSource,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource,
TermSource termSource,
boolean cacheFoundAbstractParameters)
Constructor that lets the user specify whether or not to cache found
abstract parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataSourceBackend.validateConfiguration(KnowledgeSource knowledgeSource) |
DataValidationEvent[] |
DataSourceBackend.validateData(KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
Destination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource)
Performs any initialization required for the query results handler's
configuration.
|
String[] |
Destination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource)
Infers from the query results handler's specification what propositions
this query results handler supports in its output.
|
String[] |
AbstractDestination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
DeidentifiedDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
String[] |
DeidentifiedDestination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
KeyLoaderDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
String[] |
KeyLoaderDestination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource) |
void |
Criteria.init(KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
MapDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
PropositionListDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
TableColumnSpec.columnNames(KnowledgeSource knowledgeSource)
Gets the names of the columns representing one instance of a
proposition or property.
|
String[] |
PropositionValueColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
PropositionColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
DistanceBetweenColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
CountColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
AtLeastNColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
TableColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds)
Infers the ids of the propositions corresponding to the contents of this
column.
|
String[] |
Reference.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
PropositionValueColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
PropositionColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
abstract String[] |
Link.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds)
Aggregates and returns the possible proposition ids on the right-hand
side of the link.
|
String[] |
DistanceBetweenColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
Derivation.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
CountColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
AtLeastNColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
TableQueryResultsHandler |
TableDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
String[] |
TableDestination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource)
Infers a list of propositions to populate all of the specified columns.
|
void |
TableColumnSpec.validate(KnowledgeSource knowledgeSource)
Validates the fields of this column specification against the
knowledge source.
|
void |
PropositionValueColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
PropositionColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
DistanceBetweenColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
CountColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
AtLeastNColumnSpec.validate(KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsHandler |
XmlDestination.getQueryResultsHandler(Query query,
DataSource dataSource,
KnowledgeSource knowledgeSource) |
String[] |
XmlDestination.getSupportedPropositionIds(DataSource dataSource,
KnowledgeSource knowledgeSource)
Returns the proposition ids specified in the constructor.
|
| Constructor and Description |
|---|
XmlPropositionVisitor(KnowledgeSource ks) |
| Modifier and Type | Method and Description |
|---|---|
Query |
QueryBuilder.build(KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Builds a
Query. |
Query |
DefaultQueryBuilder.build(KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource) |
| Modifier and Type | Method and Description |
|---|---|
Query |
XMLConfiguration.build(KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource) |
static Query |
XMLConfiguration.readQueryAsXML(File file,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Read XML from the specified file that describes a Protempa query and
create the query.
|
static Query |
XMLConfiguration.readQueryAsXML(InputStream inputStream,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Read XML from the specified input stream that describes a Protempa query
and create the query.
|
static Query |
XMLConfiguration.readQueryAsXML(Reader reader,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Read XML from the specified
Reader that describes a Protempa
query and create the query. |
static Query |
XMLConfiguration.readQueryAsXML(String str,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Read XML from the specified string that describes a Protempa query and
create the query.
|
static Query |
XMLConfiguration.readQueryAsXML(URL url,
KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Read XML from the specified URL that describes a Protempa query and
create the query.
|
static TableDestination |
XMLConfiguration.readTableQueryResultsHandlerAsXML(InputStream inputStream,
BufferedWriter dataWriter,
KnowledgeSource knowledgeSource)
Read XML from the specified
InputStream that describes a Protempa
TableQueryResultsHandler and create the TableQueryResultsHandler. |
static TableDestination |
XMLConfiguration.readTableQueryResultsHandlerAsXML(Reader reader,
BufferedWriter dataWriter,
KnowledgeSource knowledgeSource)
Read XML from the specified
Reader that describes a Protempa
TableQueryResultsHandler and create the TableQueryResultsHandler. |
static TableDestination |
XMLConfiguration.readTableQueryResultsHandlerAsXML(String str,
BufferedWriter dataWriter,
KnowledgeSource knowledgeSource)
Read XML from the specified string that describes a Protempa
TableQueryResultsHandler and create the
TableQueryResultsHandler. |
static TableDestination |
XMLConfiguration.readTableQueryResultsHandlerAsXML(URL url,
BufferedWriter dataWriter,
KnowledgeSource knowledgeSource)
Read XML from the specified URL that describes a Protempa
TableQueryResultsHandler and create the
TableQueryResultsHandler. |
static TableDestination |
XMLConfiguration.readTableQueryResultsHandlerFactoryAsXML(File file,
BufferedWriter dataWriter,
KnowledgeSource knowledgeSource)
Read XML from the specified file that describes a Protempa
TableQueryResultsHandler and create the
TableQueryResultsHandler. |
static void |
XMLConfiguration.writeTableDestinationAsXML(TableDestination destination,
File file,
boolean surpressSchemaReference,
KnowledgeSource knowledgeSource)
Write the given
TableDestination query to the specified
file. |
static void |
XMLConfiguration.writeTableDestinationAsXML(TableDestination destination,
File file,
KnowledgeSource knowledgeSource)
Write the given
TableDestination query to the specified
file. |
static void |
XMLConfiguration.writeTableDestinationAsXML(TableDestination destination,
Writer writer,
boolean surpressSchemaReference,
KnowledgeSource knowledgeSource)
Write the given
TableDestination query using the
specified Writer. |
Copyright © 2012–2016 Emory University. All rights reserved.