public interface ISolutionSetManager
Note: This is an internal interface that may evolve substantially.
Modifier and Type | Method and Description |
---|---|
void |
clearAllSolutions()
Clear all named solution sets.
|
boolean |
clearSolutions(String solutionSet)
Clear the specified named solution set.
|
void |
close()
Shutdown.
|
void |
createSolutions(String solutionSet,
ISPO[] params)
Create a named solution set.
|
boolean |
existsSolutions(String solutionSet)
Return
true iff a named solution set exists. |
ICloseableIterator<IBindingSet[]> |
getSolutions(String solutionSet)
Read the solutions from a named solution set.
|
ISolutionSetStats |
getSolutionSetStats(String solutionSet)
Return computed statistics for a named solution set.
|
void |
init()
One time initialization.
|
void |
putSolutions(String solutionSet,
ICloseableIterator<IBindingSet[]> src)
Save the solutions into a named solution set.
|
void init()
void close()
boolean clearSolutions(String solutionSet)
solutionSet
- The name of the solution set.true
iff a solution set by that name existed and was
cleared.void clearAllSolutions()
void createSolutions(String solutionSet, ISPO[] params)
solutionSet
- The name of the solution set.params
- The configuration parameters (optional).RuntimeException
- if a solution set exists for that name.void putSolutions(String solutionSet, ICloseableIterator<IBindingSet[]> src)
solutionSet
- The name of the solution set.src
- The solutions.ICloseableIterator<IBindingSet[]> getSolutions(String solutionSet)
solutionSet
- The name of the solution set.IllegalStateException
- if no solution set with that name exists.ISolutionSetStats getSolutionSetStats(String solutionSet)
solutionSet
- The name of the solution set.null
if there is no such named
solution set.boolean existsSolutions(String solutionSet)
true
iff a named solution set exists.solutionSet
- The name of the solution set.true
iff a solution set having that name exists.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.