public interface QueryBuilder
build(org.protempa.KnowledgeSource, org.protempa.AlgorithmSource)
to build the actual query. It is recommended that you use
Protempa.buildQuery(org.protempa.query.QueryBuilder),
which calls this method with a Protempa instance's knowledge source backend
and algorithm source backend.| Modifier and Type | Method and Description |
|---|---|
Query |
build(KnowledgeSource knowledgeSource,
AlgorithmSource algorithmSource)
Builds a
Query. |
Query build(KnowledgeSource knowledgeSource, AlgorithmSource algorithmSource) throws QueryBuildException
Query. This method could validate the query
specification using the knowledge source and algorithm source.knowledgeSource - a KnowledgeSource.algorithmSource - a AlgorithmSource.Query. Guaranteed not null.QueryBuildException - If the query specification failed
validation or some other error occurred.Copyright © 2012–2017 Emory University. All rights reserved.