|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.sparql.ast.EmptySolutionSetStats
public class EmptySolutionSetStats
An object which mocks the statistics for a single empty solution set. This is
used to make some of the unit tests happy which were written before the
ISolutionSetStats interface was introduced.
| Field Summary | |
|---|---|
static ISolutionSetStats |
INSTANCE
|
| Method Summary | |
|---|---|
Set<IVariable<?>> |
getAlwaysBound()
Return the subset of the variables which are bound in all solutions. |
Map<IVariable<?>,IConstant<?>> |
getConstants()
The set of variables which are effective constants (they are bound in every solution and always to the same value) together with their constant bindings. |
Set<IVariable<?>> |
getMaterialized()
Return the subset of the variables which are materialized in all solutions in which they appear (the variables do not have to be bound in every solution, but if they are bound then their IVCache
association is set. |
Set<IVariable<?>> |
getNotAlwaysBound()
Return the subset of the variables which are NOT bound in all solutions. |
long |
getSolutionSetSize()
Return the #of solutions. |
Set<IVariable<?>> |
getUsedVars()
Return the set of variables which in at least one solution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ISolutionSetStats INSTANCE
| Method Detail |
|---|
public long getSolutionSetSize()
ISolutionSetStats
getSolutionSetSize in interface ISolutionSetStatspublic Set<IVariable<?>> getUsedVars()
ISolutionSetStats
getUsedVars in interface ISolutionSetStatspublic Set<IVariable<?>> getAlwaysBound()
ISolutionSetStats
getAlwaysBound in interface ISolutionSetStatspublic Set<IVariable<?>> getNotAlwaysBound()
ISolutionSetStats
getNotAlwaysBound in interface ISolutionSetStatspublic Set<IVariable<?>> getMaterialized()
ISolutionSetStatsIVCache
association is set.
getMaterialized in interface ISolutionSetStatspublic Map<IVariable<?>,IConstant<?>> getConstants()
ISolutionSetStats
getConstants in interface ISolutionSetStats
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||