Class SolutionMappingsIndexBase
java.lang.Object
se.liu.ida.hefquin.base.datastructures.impl.SolutionMappingsIndexBase
- All Implemented Interfaces:
Iterable<SolutionMapping>
,Collection<SolutionMapping>
,SolutionMappingsIndex
,StatsProvider
- Direct Known Subclasses:
SolutionMappingsHashTable
,SolutionMappingsHashTableBasedOnOneVar
,SolutionMappingsHashTableBasedOnTwoVars
,SolutionMappingsIndexNoJoinVars
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addAll
(Collection<? extends SolutionMapping> c) boolean
containsAll
(Collection<?> c) protected Iterable<SolutionMapping>
findSolutionMappingsLastResort
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) Wraps aSolutionMappingsIterableWithOneVarFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
.protected Iterable<SolutionMapping>
findSolutionMappingsLastResort
(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node value1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node value2) Wraps aSolutionMappingsIterableWithTwoVarsFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
.protected Iterable<SolutionMapping>
findSolutionMappingsLastResort
(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node value1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node value2, org.apache.jena.sparql.core.Var var3, org.apache.jena.graph.Node value3) Wraps aSolutionMappingsIterableWithThreeVarsFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
.getStats()
boolean
boolean
removeAll
(Collection<?> c) void
boolean
retainAll
(Collection<?> c) Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
add, clear, contains, equals, hashCode, isEmpty, parallelStream, removeIf, size, spliterator, stream, toArray
Methods inherited from interface se.liu.ida.hefquin.base.datastructures.SolutionMappingsIndex
findSolutionMappings, findSolutionMappings, findSolutionMappings, getAllSolutionMappings, getJoinPartners, iterator
-
Constructor Details
-
SolutionMappingsIndexBase
public SolutionMappingsIndexBase()
-
-
Method Details
-
getStats
- Specified by:
getStats
in interfaceStatsProvider
-
resetStats
public void resetStats()- Specified by:
resetStats
in interfaceStatsProvider
-
containsAll
- Specified by:
containsAll
in interfaceCollection<SolutionMapping>
-
addAll
- Specified by:
addAll
in interfaceCollection<SolutionMapping>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<SolutionMapping>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<SolutionMapping>
-
remove
- Specified by:
remove
in interfaceCollection<SolutionMapping>
-
toArray
- Specified by:
toArray
in interfaceCollection<SolutionMapping>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<SolutionMapping>
-
findSolutionMappingsLastResort
protected Iterable<SolutionMapping> findSolutionMappingsLastResort(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) Wraps aSolutionMappingsIterableWithOneVarFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
. -
findSolutionMappingsLastResort
protected Iterable<SolutionMapping> findSolutionMappingsLastResort(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node value1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node value2) Wraps aSolutionMappingsIterableWithTwoVarsFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
. -
findSolutionMappingsLastResort
protected Iterable<SolutionMapping> findSolutionMappingsLastResort(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node value1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node value2, org.apache.jena.sparql.core.Var var3, org.apache.jena.graph.Node value3) Wraps aSolutionMappingsIterableWithThreeVarsFilter
around the output ofSolutionMappingsIndex.getAllSolutionMappings()
.
-