public class SolutionSetManager extends Object implements ISolutionSetManager
| Constructor and Description |
|---|
SolutionSetManager(IBTreeManager store,
String namespace,
long timestamp) |
| 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. |
protected ISPO[] |
getDefaultMetadata()
Return the default metadata used when a named solution set is declared
implicitly rather than explicitly.
|
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.
|
String |
toString() |
public SolutionSetManager(IBTreeManager store, String namespace, long timestamp)
public void init()
ISolutionSetManagerinit in interface ISolutionSetManagerpublic void close()
Note: Explicit close is not safe. We want to destroy to cached solution
sets if the AbstractTripleStore is destroyed. The hook is currently in
AbstractResource.destroy().
close in interface ISolutionSetManagerpublic void clearAllSolutions()
ISolutionSetManagerclearAllSolutions in interface ISolutionSetManagerpublic boolean existsSolutions(String solutionSet)
ISolutionSetManagertrue iff a named solution set exists.existsSolutions in interface ISolutionSetManagersolutionSet - The name of the solution set.true iff a solution set having that name exists.public boolean clearSolutions(String solutionSet)
ISolutionSetManagerclearSolutions in interface ISolutionSetManagersolutionSet - The name of the solution set.true iff a solution set by that name existed and was
cleared.public void putSolutions(String solutionSet, ICloseableIterator<IBindingSet[]> src)
ISolutionSetManagerputSolutions in interface ISolutionSetManagersolutionSet - The name of the solution set.src - The solutions.public void createSolutions(String solutionSet, ISPO[] params)
ISolutionSetManagercreateSolutions in interface ISolutionSetManagersolutionSet - The name of the solution set.params - The configuration parameters (optional).public ISolutionSetStats getSolutionSetStats(String solutionSet)
ISolutionSetManagergetSolutionSetStats in interface ISolutionSetManagersolutionSet - The name of the solution set.null if there is no such named
solution set.public ICloseableIterator<IBindingSet[]> getSolutions(String solutionSet)
ISolutionSetManagergetSolutions in interface ISolutionSetManagersolutionSet - The name of the solution set.protected ISPO[] getDefaultMetadata()
IndexMetadata. However, we do want to provide this
metadata in a CREATE schema as triples.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.