|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.model.impl.query.CoreSolutionGenerator
public abstract class CoreSolutionGenerator
CoreSolutionGenerator solves only TriplePatternNode patterns using subclasses implementation of generateSolutions
| Constructor Summary | |
|---|---|
CoreSolutionGenerator()
|
|
| Method Summary | |
|---|---|
boolean |
canBindGraphVariables()
Informative method. |
boolean |
canHandleSimultaneousRequests()
Informative method. |
void |
cleanup()
Called after all calls to generateSolutions. |
QueryExecutionPlan |
getQueryExecutionPlan()
|
QueryExecutionServices |
getQueryExecutionServices()
|
QueryInformation |
getQueryInformation()
|
RDFDataset<?> |
getRDFDataset()
|
void |
initialize()
Called before any calls to generateSolutions but after all calls to set*. |
void |
setIncludeInferredTriples(boolean includeInferredTriples)
|
void |
setOntology(java.net.URI ontology)
|
void |
setQueryExecutionPlan(QueryExecutionPlan plan)
|
void |
setQueryExecutionServices(QueryExecutionServices services)
|
void |
setQueryInformation(QueryInformation queryInformation)
|
void |
setRDFDataset(RDFDataset<?> dataset)
|
boolean |
sortedSolutions()
|
boolean |
usesRequiredBindings()
Informative method. |
boolean |
willHandleFilters(java.util.Set<Expression> filters)
Many backends do not implement filters, in which case Glitter will filter results even if the solution generator handles a node which subsumes filters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openanzo.glitter.query.SolutionGenerator |
|---|
generateSolutions |
| Constructor Detail |
|---|
public CoreSolutionGenerator()
| Method Detail |
|---|
public boolean canHandleSimultaneousRequests()
SolutionGenerator
canHandleSimultaneousRequests in interface SolutionGeneratorpublic boolean canBindGraphVariables()
SolutionGenerator
canBindGraphVariables in interface SolutionGeneratorRDFDatasetpublic void setQueryInformation(QueryInformation queryInformation)
setQueryInformation in interface SolutionGeneratorqueryInformation - Information on the parsed and prepared query.public void setRDFDataset(RDFDataset<?> dataset)
setRDFDataset in interface SolutionGeneratordataset - The RDFDataset against which the query is being executed.public void setQueryExecutionServices(QueryExecutionServices services)
setQueryExecutionServices in interface SolutionGeneratorpublic QueryExecutionPlan getQueryExecutionPlan()
getQueryExecutionPlan in interface SolutionGeneratorpublic QueryExecutionServices getQueryExecutionServices()
getQueryExecutionServices in interface SolutionGeneratorpublic QueryInformation getQueryInformation()
getQueryInformation in interface SolutionGeneratorpublic RDFDataset<?> getRDFDataset()
getRDFDataset in interface SolutionGeneratorpublic boolean sortedSolutions()
sortedSolutions in interface SolutionGeneratorpublic boolean usesRequiredBindings()
SolutionGenerator
usesRequiredBindings in interface SolutionGeneratorpublic void setQueryExecutionPlan(QueryExecutionPlan plan)
setQueryExecutionPlan in interface SolutionGeneratorplan - The execution plan in use.public boolean willHandleFilters(java.util.Set<Expression> filters)
SolutionGenerator
willHandleFilters in interface SolutionGenerator
public void cleanup()
throws GlitterException
SolutionGenerator
cleanup in interface SolutionGeneratorGlitterException
public void initialize()
throws GlitterException
SolutionGenerator
initialize in interface SolutionGeneratorGlitterExceptionpublic void setIncludeInferredTriples(boolean includeInferredTriples)
setIncludeInferredTriples in interface SolutionGeneratorincludeInferredTriples - Whether or not inferred triples should contribute to bindings.public void setOntology(java.net.URI ontology)
setOntology in interface SolutionGeneratorontology - The ontology in effect for inferred triples.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||