Uses of Interface
se.liu.ida.hefquin.base.data.SolutionMapping
Packages that use SolutionMapping
Package
Description
-
Uses of SolutionMapping in se.liu.ida.hefquin.base.data
Methods in se.liu.ida.hefquin.base.data that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionVocabularyMapping.translateSolutionMapping
(SolutionMapping sm) Applies this vocabulary mapping to the given solution mapping expressed in the local vocabulary and returns a resulting set of solution mappings expressed in the global vocabulary.VocabularyMapping.translateSolutionMappingFromGlobal
(SolutionMapping sm) Applies this vocabulary mapping to the given solution mapping expressed in the global vocabulary and returns a resulting set of solution mappings expressed in the local vocabulary.Methods in se.liu.ida.hefquin.base.data with parameters of type SolutionMappingModifier and TypeMethodDescriptionVocabularyMapping.translateSolutionMapping
(SolutionMapping sm) Applies this vocabulary mapping to the given solution mapping expressed in the local vocabulary and returns a resulting set of solution mappings expressed in the global vocabulary.VocabularyMapping.translateSolutionMappingFromGlobal
(SolutionMapping sm) Applies this vocabulary mapping to the given solution mapping expressed in the global vocabulary and returns a resulting set of solution mappings expressed in the local vocabulary. -
Uses of SolutionMapping in se.liu.ida.hefquin.base.data.impl
Classes in se.liu.ida.hefquin.base.data.impl that implement SolutionMapping -
Uses of SolutionMapping in se.liu.ida.hefquin.base.data.mappings
Methods in se.liu.ida.hefquin.base.data.mappings that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionEntityMapping.applyInverseToSolutionMapping
(SolutionMapping solmap) Applies the inverse of this entity mapping to the given solution mapping, which is assumed to use the local representation of the entities that it binds to its query variables.SchemaMapping.applyInverseToSolutionMapping
(SolutionMapping solmap) Applies the inverse of this schema mapping to the given solution mapping, which is assumed to use the local schema for the vocabulary terms that it binds to its query variables.EntityMapping.applyToSolutionMapping
(SolutionMapping solmap) Applies this entity mapping to the given solution mapping, which is assumed to use the global representation of the entities that it binds to its query variables.SchemaMapping.applyToSolutionMapping
(SolutionMapping solmap) Applies this schema mapping to the given solution mapping, which is assumed to use the global schema for the vocabulary terms that it binds to its query variables.Methods in se.liu.ida.hefquin.base.data.mappings with parameters of type SolutionMappingModifier and TypeMethodDescriptionEntityMapping.applyInverseToSolutionMapping
(SolutionMapping solmap) Applies the inverse of this entity mapping to the given solution mapping, which is assumed to use the local representation of the entities that it binds to its query variables.SchemaMapping.applyInverseToSolutionMapping
(SolutionMapping solmap) Applies the inverse of this schema mapping to the given solution mapping, which is assumed to use the local schema for the vocabulary terms that it binds to its query variables.EntityMapping.applyToSolutionMapping
(SolutionMapping solmap) Applies this entity mapping to the given solution mapping, which is assumed to use the global representation of the entities that it binds to its query variables.SchemaMapping.applyToSolutionMapping
(SolutionMapping solmap) Applies this schema mapping to the given solution mapping, which is assumed to use the global schema for the vocabulary terms that it binds to its query variables. -
Uses of SolutionMapping in se.liu.ida.hefquin.base.data.mappings.impl
Methods in se.liu.ida.hefquin.base.data.mappings.impl that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionEntityMappingImpl.applyInverseToSolutionMapping
(SolutionMapping sm) SchemaMappingImpl.applyInverseToSolutionMapping
(SolutionMapping sm) static Set
<SolutionMapping> EntityMappingImpl.applyMapToSolutionMapping
(SolutionMapping solMap, Map<org.apache.jena.graph.Node, Set<org.apache.jena.graph.Node>> x2yMap) EntityMappingImpl.applyToSolutionMapping
(SolutionMapping sm) SchemaMappingImpl.applyToSolutionMapping
(SolutionMapping sm) protected Set
<SolutionMapping> SchemaMappingImpl.applyToSolutionMapping
(SolutionMapping solMap, boolean useInverse) VocabularyMappingWrappingImpl.translateSolutionMapping
(SolutionMapping solmap) VocabularyMappingWrappingImpl.translateSolutionMappingFromGlobal
(SolutionMapping solmap) Methods in se.liu.ida.hefquin.base.data.mappings.impl with parameters of type SolutionMappingModifier and TypeMethodDescriptionEntityMappingImpl.applyInverseToSolutionMapping
(SolutionMapping sm) SchemaMappingImpl.applyInverseToSolutionMapping
(SolutionMapping sm) static Set
<SolutionMapping> EntityMappingImpl.applyMapToSolutionMapping
(SolutionMapping solMap, Map<org.apache.jena.graph.Node, Set<org.apache.jena.graph.Node>> x2yMap) EntityMappingImpl.applyToSolutionMapping
(SolutionMapping sm) SchemaMappingImpl.applyToSolutionMapping
(SolutionMapping sm) protected Set
<SolutionMapping> SchemaMappingImpl.applyToSolutionMapping
(SolutionMapping solMap, boolean useInverse) VocabularyMappingWrappingImpl.translateSolutionMapping
(SolutionMapping solmap) VocabularyMappingWrappingImpl.translateSolutionMappingFromGlobal
(SolutionMapping solmap) -
Uses of SolutionMapping in se.liu.ida.hefquin.base.data.utils
Classes in se.liu.ida.hefquin.base.data.utils that implement interfaces with type arguments of type SolutionMappingModifier and TypeClassDescriptionclass
class
This iterator enumerates the result of joining two collections of solution mappings.class
This is an iterator over all solution mappings contained in a nested collection (more precisely, in lists contained in a collection).protected static class
class
This iterator enumerates the solution mappings from two other iterators, essentially producing a union of the collections of solution mappings that the other two iterators enumerate.Fields in se.liu.ida.hefquin.base.data.utils declared as SolutionMappingModifier and TypeFieldDescriptionprotected SolutionMapping
JoiningIteratorForSolMaps.currentInputElement
protected final SolutionMapping
FilteringIteratorForSolMaps_CompatibleSolMap.givenSolMap
protected SolutionMapping
FilteringIteratorForSolMapsBase.nextOutputElement
protected SolutionMapping
JoiningIteratorForSolMaps.nextOutputElement
Fields in se.liu.ida.hefquin.base.data.utils with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected Iterator
<SolutionMapping> UnionIteratorForSolMaps.currentInput
protected final Iterator
<SolutionMapping> FilteringIteratorForSolMapsBase.input
protected final Iterable
<SolutionMapping> JoiningIteratorForSolMaps.input2
protected final Iterator
<SolutionMapping> UnionIteratorForSolMaps.input2
protected Iterator
<SolutionMapping> JoiningIteratorForSolMaps.it1
protected Iterator
<SolutionMapping> JoiningIteratorForSolMaps.it2
protected final Iterator
<List<SolutionMapping>> SolutionMappingsIteratorOverCollectionOfLists.itBuckets
protected Iterator
<SolutionMapping> SolutionMappingsIteratorOverCollectionOfLists.itCurBucketElmts
Methods in se.liu.ida.hefquin.base.data.utils that return SolutionMappingModifier and TypeMethodDescriptionprotected SolutionMapping
FilteringIteratorForSolMaps_CompatibleSolMap.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_OneVarBinding.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_ThreeVarsBindings.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_TwoVarsBindings.applyFilter
(SolutionMapping sm) protected abstract SolutionMapping
FilteringIteratorForSolMapsBase.applyFilter
(SolutionMapping sm) Returns the given solution mapping if it passes the filter condition checked by the subclass.protected abstract SolutionMapping
protected SolutionMapping
protected SolutionMapping
protected SolutionMapping
protected SolutionMapping
static SolutionMapping
SolutionMappingUtils.createSolutionMapping()
Creates an empty solution mapping.static SolutionMapping
SolutionMappingUtils.createSolutionMapping
(org.apache.jena.query.QuerySolution s) Creates a solution mapping based on the givenQuerySolution
.static SolutionMapping
SolutionMappingUtils.createSolutionMapping
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node node) Creates a solution mapping in which the given variable is mapped to the given node.static SolutionMapping
SolutionMappingUtils.createSolutionMapping
(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node node1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node node2) Creates a solution mapping in which the given variables are mapped to the given nodes, respectively.static SolutionMapping
SolutionMappingUtils.createSolutionMapping
(org.apache.jena.sparql.core.Var var1, org.apache.jena.graph.Node node1, org.apache.jena.sparql.core.Var var2, org.apache.jena.graph.Node node2, org.apache.jena.sparql.core.Var var3, org.apache.jena.graph.Node node3) Creates a solution mapping in which the given variables are mapped to the given nodes, respectively.static SolutionMapping
SolutionMappingUtils.merge
(SolutionMapping m1, SolutionMapping m2) Merges the given solution mappings into one, assuming that the given solution mappings are compatible.FilteringIteratorForSolMapsBase.next()
JoiningIteratorForSolMaps.next()
SolutionMappingsIteratorOverCollectionOfLists.next()
TriplesToSolMapsConverter.ConvertingIterBase.next()
UnionIteratorForSolMaps.next()
static SolutionMapping
SolutionMappingUtils.restrict
(SolutionMapping sm, Collection<org.apache.jena.sparql.core.Var> vars) Restricts the given solution mapping to the given set of variables.Methods in se.liu.ida.hefquin.base.data.utils that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionstatic List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingG2L
(Iterable<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterable (translating them from the global vocabulary to the local vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingG2L
(Iterator<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterator (translating them from the global vocabulary to the local vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingL2G
(Iterable<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterable (translating them from the local vocabulary to the global vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingL2G
(Iterator<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterator (translating them from the local vocabulary to the global vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static Iterator
<SolutionMapping> TriplesToSolMapsConverter.convert
(Iterable<Triple> itTriples, TriplePattern tp) static Iterator
<SolutionMapping> TriplesToSolMapsConverter.convert
(Iterator<Triple> itTriples, TriplePattern tp) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_CompatibleSolMap.createAsIterable
(Iterable<SolutionMapping> input, SolutionMapping sm) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_OneVarBinding.createAsIterable
(Iterable<SolutionMapping> input, org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_ThreeVarsBindings.createAsIterable
(Iterable<SolutionMapping> input, 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) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_TwoVarsBindings.createAsIterable
(Iterable<SolutionMapping> input, 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) static WrappingIterable
<SolutionMapping> JoiningIteratorForSolMaps.createAsIterable
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) static Iterable
<SolutionMapping> SolutionMappingsIteratorOverCollectionOfLists.createAsIterable
(Collection<List<SolutionMapping>> c) static WrappingIterable
<SolutionMapping> UnionIteratorForSolMaps.createAsIterable
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) FilteringIteratorForSolMaps_CompatibleSolMap.getFactory
(SolutionMapping sm) FilteringIteratorForSolMaps_OneVarBinding.getFactory
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) FilteringIteratorForSolMaps_ThreeVarsBindings.getFactory
(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) FilteringIteratorForSolMaps_TwoVarsBindings.getFactory
(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) JoiningIteratorForSolMaps.getFactory
(Iterable<SolutionMapping> input2) static IteratorFactory
<SolutionMapping> SolutionMappingsIteratorOverCollectionOfLists.getFactory
(Collection<List<SolutionMapping>> c) UnionIteratorForSolMaps.getFactory
(Iterable<SolutionMapping> input2) static Set
<SolutionMapping> SolutionMappingUtils.nestedLoopJoin
(Iterable<SolutionMapping> i1, Iterable<SolutionMapping> i2) Performs a nested-loop join between two Solution Mapping iterables.Methods in se.liu.ida.hefquin.base.data.utils with parameters of type SolutionMappingModifier and TypeMethodDescriptionprotected SolutionMapping
FilteringIteratorForSolMaps_CompatibleSolMap.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_OneVarBinding.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_ThreeVarsBindings.applyFilter
(SolutionMapping sm) protected SolutionMapping
FilteringIteratorForSolMaps_TwoVarsBindings.applyFilter
(SolutionMapping sm) protected abstract SolutionMapping
FilteringIteratorForSolMapsBase.applyFilter
(SolutionMapping sm) Returns the given solution mapping if it passes the filter condition checked by the subclass.static boolean
SolutionMappingUtils.compatible
(SolutionMapping m1, SolutionMapping m2) Returns true if the given solution mappings are compatible.static boolean
SolutionMappingUtils.containsBlankNodes
(SolutionMapping sm) Returns true if the given solution mapping binds any of its variables to a blank node.static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_CompatibleSolMap.createAsIterable
(Iterable<SolutionMapping> input, SolutionMapping sm) static boolean
SolutionMappingUtils.equals
(SolutionMapping m1, SolutionMapping m2) Returns true if the given solution mappings are equivalent; that is, if they are defined for the exact same set of variables and they are compatible.FilteringIteratorForSolMaps_CompatibleSolMap.getFactory
(SolutionMapping sm) static SolutionMapping
SolutionMappingUtils.merge
(SolutionMapping m1, SolutionMapping m2) Merges the given solution mappings into one, assuming that the given solution mappings are compatible.static SolutionMapping
SolutionMappingUtils.restrict
(SolutionMapping sm, Collection<org.apache.jena.sparql.core.Var> vars) Restricts the given solution mapping to the given set of variables.Method parameters in se.liu.ida.hefquin.base.data.utils with type arguments of type SolutionMappingModifier and TypeMethodDescriptionstatic List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingG2L
(Iterable<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterable (translating them from the global vocabulary to the local vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingG2L
(Iterator<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterator (translating them from the global vocabulary to the local vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingL2G
(Iterable<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterable (translating them from the local vocabulary to the global vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static List
<SolutionMapping> SolutionMappingUtils.applyVocabularyMappingL2G
(Iterator<SolutionMapping> it, VocabularyMapping vm) Applies the given vocabulary mapping to each of the solution mappings of the given iterator (translating them from the local vocabulary to the global vocabulary), collects the resulting solution mappings in a list, and returns this list in the end.static org.apache.jena.query.ResultSet
JenaResultSetUtils.convertToJenaResultSet
(List<SolutionMapping> result, List<String> vars) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_CompatibleSolMap.createAsIterable
(Iterable<SolutionMapping> input, SolutionMapping sm) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_OneVarBinding.createAsIterable
(Iterable<SolutionMapping> input, org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_ThreeVarsBindings.createAsIterable
(Iterable<SolutionMapping> input, 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) static WrappingIterable
<SolutionMapping> FilteringIteratorForSolMaps_TwoVarsBindings.createAsIterable
(Iterable<SolutionMapping> input, 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) static WrappingIterable
<SolutionMapping> JoiningIteratorForSolMaps.createAsIterable
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) static Iterable
<SolutionMapping> SolutionMappingsIteratorOverCollectionOfLists.createAsIterable
(Collection<List<SolutionMapping>> c) static WrappingIterable
<SolutionMapping> UnionIteratorForSolMaps.createAsIterable
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) static String
SolutionMappingUtils.createValuesClause
(Iterable<SolutionMapping> solmaps, org.apache.jena.sparql.serializer.SerializationContext scxt) Serializes the given collection of solution mappings as a string that can be used in a SPARQL VALUES clause.protected static String
SolutionMappingUtils.createValuesClauseLongForm
(List<org.apache.jena.sparql.core.Var> vars, Iterable<SolutionMapping> solmaps, org.apache.jena.sparql.serializer.SerializationContext scxt) protected static String
SolutionMappingUtils.createValuesClauseShortForm
(List<org.apache.jena.sparql.core.Var> vars, Iterable<SolutionMapping> solmaps, org.apache.jena.sparql.serializer.SerializationContext scxt) static boolean
SolutionMappingUtils.equals
(Set<SolutionMapping> s1, Set<SolutionMapping> s2) Returns true if the given set of solution mappings are equivalent; that is, if they contain the same number of solution mappings and for each such solution mapping there is an equivalent solution mapping in the respective other set.static Set
<org.apache.jena.sparql.core.Var> SolutionMappingUtils.getAllMentionedVariables
(Iterable<SolutionMapping> solmaps) Returns a set containing all the variables that have a binding in at least one of the given solution mappings.JoiningIteratorForSolMaps.getFactory
(Iterable<SolutionMapping> input2) static IteratorFactory
<SolutionMapping> SolutionMappingsIteratorOverCollectionOfLists.getFactory
(Collection<List<SolutionMapping>> c) UnionIteratorForSolMaps.getFactory
(Iterable<SolutionMapping> input2) static Set
<SolutionMapping> SolutionMappingUtils.nestedLoopJoin
(Iterable<SolutionMapping> i1, Iterable<SolutionMapping> i2) Performs a nested-loop join between two Solution Mapping iterables.Constructors in se.liu.ida.hefquin.base.data.utils with parameters of type SolutionMappingModifierConstructorDescriptionConstructor parameters in se.liu.ida.hefquin.base.data.utils with type arguments of type SolutionMappingModifierConstructorDescriptionFilteringIteratorForSolMaps_OneVarBinding
(Iterable<SolutionMapping> input, org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) FilteringIteratorForSolMaps_OneVarBinding
(Iterator<SolutionMapping> input, org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) FilteringIteratorForSolMaps_ThreeVarsBindings
(Iterable<SolutionMapping> input, 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) FilteringIteratorForSolMaps_ThreeVarsBindings
(Iterator<SolutionMapping> input, 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) FilteringIteratorForSolMaps_TwoVarsBindings
(Iterable<SolutionMapping> input, 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) FilteringIteratorForSolMaps_TwoVarsBindings
(Iterator<SolutionMapping> input, 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) protected
protected
JoiningIteratorForSolMaps
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) JoiningIteratorForSolMaps
(Iterator<SolutionMapping> input1, Iterable<SolutionMapping> input2) JoiningIteratorForSolMaps
(Iterator<SolutionMapping> input1, Iterable<SolutionMapping> input2) UnionIteratorForSolMaps
(Iterable<SolutionMapping> input1, Iterable<SolutionMapping> input2) UnionIteratorForSolMaps
(Iterator<SolutionMapping> input1, Iterator<SolutionMapping> input2) -
Uses of SolutionMapping in se.liu.ida.hefquin.base.datastructures
Subinterfaces with type arguments of type SolutionMapping in se.liu.ida.hefquin.base.datastructuresModifier and TypeInterfaceDescriptioninterface
Implementations of this interface can be used as an index forSolutionMapping
objects.Methods in se.liu.ida.hefquin.base.datastructures that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionSolutionMappingsIndex.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) Returns an iterator over all solution mappings in this index that map the given variable to the given value.SolutionMappingsIndex.findSolutionMappings
(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) Returns an iterator over all solution mappings in this index that map the first variable to the first value and the second variable to the second value.SolutionMappingsIndex.findSolutionMappings
(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) This method is a three-variables version of the methodSolutionMappingsIndex.findSolutionMappings(Var, Node)
.SolutionMappingsIndex.getAllSolutionMappings()
Returns all solution mappings currently in this index.SolutionMappingsIndex.getJoinPartners
(SolutionMapping sm) Returns an iterator over all solution mappings in this index that are compatible with the given solution mappings.default Iterator
<SolutionMapping> SolutionMappingsIndex.iterator()
Methods in se.liu.ida.hefquin.base.datastructures with parameters of type SolutionMappingModifier and TypeMethodDescriptionSolutionMappingsIndex.getJoinPartners
(SolutionMapping sm) Returns an iterator over all solution mappings in this index that are compatible with the given solution mappings. -
Uses of SolutionMapping in se.liu.ida.hefquin.base.datastructures.impl
Classes in se.liu.ida.hefquin.base.datastructures.impl that implement interfaces with type arguments of type SolutionMappingModifier and TypeClassDescriptionprotected class
protected class
Fields in se.liu.ida.hefquin.base.datastructures.impl with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final List
<SolutionMapping> SolutionMappingsIndexNoJoinVars.indexedSolMaps
protected Iterator
<SolutionMapping> SolutionMappingsHashTableBasedOnTwoVars.MyAllSolutionMappingsIterator.itInnerMapElmts
protected final Iterator
<Map<org.apache.jena.graph.Node, List<SolutionMapping>>> SolutionMappingsHashTableBasedOnTwoVars.MyAllSolutionMappingsIterator.itInnerMaps
protected final Map
<List<org.apache.jena.graph.Node>, List<SolutionMapping>> SolutionMappingsHashTable.map
protected final Map
<org.apache.jena.graph.Node, List<SolutionMapping>> SolutionMappingsHashTableBasedOnOneVar.map
protected final Map
<org.apache.jena.graph.Node, Map<org.apache.jena.graph.Node, List<SolutionMapping>>> SolutionMappingsHashTableBasedOnTwoVars.map
Methods in se.liu.ida.hefquin.base.datastructures.impl that return SolutionMappingModifier and TypeMethodDescriptionSolutionMappingsHashTableBasedOnTwoVars.MyAllSolutionMappingsIterator.next()
Methods in se.liu.ida.hefquin.base.datastructures.impl that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionstatic Iterable
<SolutionMapping> SolutionMappingsIndexForMixedUsage.copy
(Iterable<SolutionMapping> i) SolutionMappingsHashTable.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) SolutionMappingsHashTable.findSolutionMappings
(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) SolutionMappingsHashTable.findSolutionMappings
(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) SolutionMappingsHashTableBasedOnOneVar.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) SolutionMappingsHashTableBasedOnOneVar.findSolutionMappings
(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) SolutionMappingsHashTableBasedOnOneVar.findSolutionMappings
(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) SolutionMappingsHashTableBasedOnTwoVars.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) SolutionMappingsHashTableBasedOnTwoVars.findSolutionMappings
(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) SolutionMappingsHashTableBasedOnTwoVars.findSolutionMappings
(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) SolutionMappingsIndexForMixedUsage.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) SolutionMappingsIndexForMixedUsage.findSolutionMappings
(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) SolutionMappingsIndexForMixedUsage.findSolutionMappings
(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) SolutionMappingsIndexNoJoinVars.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) SolutionMappingsIndexNoJoinVars.findSolutionMappings
(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) SolutionMappingsIndexNoJoinVars.findSolutionMappings
(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) WrappingSolutionMappingsIndex.findSolutionMappings
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) WrappingSolutionMappingsIndex.findSolutionMappings
(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) WrappingSolutionMappingsIndex.findSolutionMappings
(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) protected Iterable
<SolutionMapping> SolutionMappingsIndexBase.findSolutionMappingsLastResort
(org.apache.jena.sparql.core.Var var, org.apache.jena.graph.Node value) Wraps ainvalid reference
SolutionMappingsIterableWithOneVarFilter
SolutionMappingsIndex.getAllSolutionMappings()
.protected Iterable
<SolutionMapping> SolutionMappingsIndexBase.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 ainvalid reference
SolutionMappingsIterableWithTwoVarsFilter
SolutionMappingsIndex.getAllSolutionMappings()
.protected Iterable
<SolutionMapping> SolutionMappingsIndexBase.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 ainvalid reference
SolutionMappingsIterableWithThreeVarsFilter
SolutionMappingsIndex.getAllSolutionMappings()
.SolutionMappingsHashTable.getAllSolutionMappings()
SolutionMappingsHashTableBasedOnOneVar.getAllSolutionMappings()
SolutionMappingsHashTableBasedOnTwoVars.getAllSolutionMappings()
SolutionMappingsIndexForMixedUsage.getAllSolutionMappings()
SolutionMappingsIndexNoJoinVars.getAllSolutionMappings()
WrappingSolutionMappingsIndex.getAllSolutionMappings()
SolutionMappingsHashTable.getJoinPartners
(SolutionMapping sm) SolutionMappingsHashTableBasedOnOneVar.getJoinPartners
(SolutionMapping sm) This method assumes that the only variable that the given solution mapping has in common with the solution mappings in the index is the variable on which the index is built.SolutionMappingsHashTableBasedOnTwoVars.getJoinPartners
(SolutionMapping sm) This method assumes that the only variables that the given solution mapping has in common with the solution mappings in the index are the two variables on which the index is built.SolutionMappingsIndexForMixedUsage.getJoinPartners
(SolutionMapping sm) SolutionMappingsIndexNoJoinVars.getJoinPartners
(SolutionMapping sm) SolutionMappingsIndexWithPostMatching.getJoinPartners
(SolutionMapping sm) WrappingSolutionMappingsIndex.getJoinPartners
(SolutionMapping sm) SolutionMappingsHashTableBasedOnTwoVars.MyAllSolutionMappingsIterable.iterator()
protected Iterable
<SolutionMapping> SolutionMappingsHashTable.returnLookupResultOrEmptyList
(List<org.apache.jena.graph.Node> indexKey) protected List
<SolutionMapping> SolutionMappingsHashTableBasedOnTwoVars.returnLookupResultOrEmptyList
(org.apache.jena.graph.Node keyValue1, org.apache.jena.graph.Node keyValue2) Methods in se.liu.ida.hefquin.base.datastructures.impl with parameters of type SolutionMappingModifier and TypeMethodDescriptionboolean
SolutionMappingsHashTable.add
(SolutionMapping e) boolean
SolutionMappingsHashTableBasedOnOneVar.add
(SolutionMapping e) boolean
SolutionMappingsHashTableBasedOnTwoVars.add
(SolutionMapping e) boolean
SolutionMappingsIndexNoJoinVars.add
(SolutionMapping sm) boolean
WrappingSolutionMappingsIndex.add
(SolutionMapping e) SolutionMappingsHashTable.getJoinPartners
(SolutionMapping sm) SolutionMappingsHashTableBasedOnOneVar.getJoinPartners
(SolutionMapping sm) This method assumes that the only variable that the given solution mapping has in common with the solution mappings in the index is the variable on which the index is built.SolutionMappingsHashTableBasedOnTwoVars.getJoinPartners
(SolutionMapping sm) This method assumes that the only variables that the given solution mapping has in common with the solution mappings in the index are the two variables on which the index is built.SolutionMappingsIndexForMixedUsage.getJoinPartners
(SolutionMapping sm) SolutionMappingsIndexNoJoinVars.getJoinPartners
(SolutionMapping sm) SolutionMappingsIndexWithPostMatching.getJoinPartners
(SolutionMapping sm) WrappingSolutionMappingsIndex.getJoinPartners
(SolutionMapping sm) protected org.apache.jena.graph.Node
SolutionMappingsHashTableBasedOnOneVar.getVarKey
(SolutionMapping e) protected List
<org.apache.jena.graph.Node> SolutionMappingsHashTable.getVarKeys
(SolutionMapping e) Method parameters in se.liu.ida.hefquin.base.datastructures.impl with type arguments of type SolutionMappingModifier and TypeMethodDescriptionboolean
SolutionMappingsIndexBase.addAll
(Collection<? extends SolutionMapping> c) boolean
WrappingSolutionMappingsIndex.addAll
(Collection<? extends SolutionMapping> c) static Iterable
<SolutionMapping> SolutionMappingsIndexForMixedUsage.copy
(Iterable<SolutionMapping> i) -
Uses of SolutionMapping in se.liu.ida.hefquin.base.query
Methods in se.liu.ida.hefquin.base.query with parameters of type SolutionMappingModifier and TypeMethodDescriptionSPARQLGraphPattern.applySolMapToGraphPattern
(SolutionMapping sm) Applies the given solution mapping to this graph pattern and returns the resulting graph pattern in which all occurrences of the variables bound by the given solution mapping are replaced by the RDF terms that the solution mappings assigns to these variables.SPARQLGroupPattern.applySolMapToGraphPattern
(SolutionMapping sm) SPARQLUnionPattern.applySolMapToGraphPattern
(SolutionMapping sm) TriplePattern.applySolMapToGraphPattern
(SolutionMapping sm) -
Uses of SolutionMapping in se.liu.ida.hefquin.base.query.impl
Methods in se.liu.ida.hefquin.base.query.impl with parameters of type SolutionMappingModifier and TypeMethodDescriptionBGPImpl.applySolMapToGraphPattern
(SolutionMapping sm) GenericSPARQLGraphPatternImpl1.applySolMapToGraphPattern
(SolutionMapping sm) GenericSPARQLGraphPatternImpl2.applySolMapToGraphPattern
(SolutionMapping sm) SPARQLGroupPatternImpl.applySolMapToGraphPattern
(SolutionMapping sm) SPARQLUnionPatternImpl.applySolMapToGraphPattern
(SolutionMapping sm) TriplePatternImpl.applySolMapToGraphPattern
(SolutionMapping sm) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.federation.access
Subinterfaces with type arguments of type SolutionMapping in se.liu.ida.hefquin.engine.federation.accessMethods in se.liu.ida.hefquin.engine.federation.access that return types with arguments of type SolutionMapping -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.federation.access.impl.req
Fields in se.liu.ida.hefquin.engine.federation.access.impl.req with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final Set
<SolutionMapping> BindingsRestrictedTriplePatternRequestImpl.solMaps
Methods in se.liu.ida.hefquin.engine.federation.access.impl.req that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionBindingsRestrictedTriplePatternRequestImpl.getSolutionMappings()
Constructor parameters in se.liu.ida.hefquin.engine.federation.access.impl.req with type arguments of type SolutionMappingModifierConstructorDescriptionBRTPFRequestImpl
(TriplePattern tp, Set<SolutionMapping> solMaps) BRTPFRequestImpl
(TriplePattern tp, Set<SolutionMapping> solMaps, String pageURL) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.federation.access.impl.reqproc
Fields in se.liu.ida.hefquin.engine.federation.access.impl.reqproc with type parameters of type SolutionMappingModifier and TypeFieldDescriptionfinal List
<SolutionMapping> SPARQLRequestProcessorImpl.MySolutionConsumer.solMaps
-
Uses of SolutionMapping in se.liu.ida.hefquin.engine.federation.access.impl.response
Subclasses with type arguments of type SolutionMapping in se.liu.ida.hefquin.engine.federation.access.impl.responseConstructor parameters in se.liu.ida.hefquin.engine.federation.access.impl.response with type arguments of type SolutionMappingModifierConstructorDescriptionSolMapsResponseImpl
(List<SolutionMapping> solMaps, FederationMember fm, DataRetrievalRequest request, Date requestStartTime) Constructs a response with the given solution mappings, federation member, request, and request start time.SolMapsResponseImpl
(List<SolutionMapping> solMaps, FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Integer errorStatusCode, String errorDescription) Constructs a response with the given solution mappings, federation member, request, request start time, and error details.SolMapsResponseImpl
(List<SolutionMapping> solMaps, FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime) Constructs a response with the given solution mappings, federation member, request, request start time, and retrieval end time.SolMapsResponseImpl
(List<SolutionMapping> solMaps, FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime, Integer errorStatusCode, String errorDescription) Constructs a response with the given solution mappings, federation member, request, request start time, retrieval end time, and error details. -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable
Methods in se.liu.ida.hefquin.engine.queryplan.executable with parameters of type SolutionMappingModifier and TypeMethodDescriptionvoid
UnaryExecutableOp.process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the given solution mapping as input to this operator and sends the produced result elements (if any) to the given sink.void
BinaryExecutableOp.processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the given solution mapping as input coming from the first operand and sends the produced result elements (if any) to the given sink.void
BinaryExecutableOp.processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the given solution mapping as input coming from the second operand and sends the produced result elements (if any) to the given sink.void
NaryExecutableOp.processInputFromXthChild
(int x, SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the given solution mapping as input coming from the x-th operand and sends the produced result elements (if any) to the given sink.void
IntermediateResultElementSink.send
(SolutionMapping element) Method parameters in se.liu.ida.hefquin.engine.queryplan.executable with type arguments of type SolutionMappingModifier and TypeMethodDescriptiondefault void
UnaryExecutableOp.process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the solution mappings of the given list as input to this operator and sends the produced result elements (if any) to the given sink.default void
BinaryExecutableOp.processInputFromChild1
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the solution mappings of the given list as input coming from the first operand and sends the produced result elements (if any) to the given sink.default void
BinaryExecutableOp.processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the solution mappings of the given list as input coming from the second operand and sends the produced result elements (if any) to the given sink.default void
NaryExecutableOp.processInputFromXthChild
(int x, List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the solution mappings oft he given list as input coming from the x-th operand and sends the produced result elements (if any) to the given sink.default int
IntermediateResultElementSink.send
(Iterable<SolutionMapping> it) Consumes the given iterator, callingIntermediateResultElementSink.send(SolutionMapping)
for everySolutionMapping
obtained from the iterator, and returns the number of solution mappings obtained from the iterator.default int
IntermediateResultElementSink.send
(Iterator<SolutionMapping> it) Consumes the given iterator, callingIntermediateResultElementSink.send(SolutionMapping)
for everySolutionMapping
obtained from the iterator, and returns the number of solution mappings obtained from the iterator. -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable.impl
Fields in se.liu.ida.hefquin.engine.queryplan.executable.impl declared as SolutionMappingModifier and TypeFieldDescriptionprotected SolutionMapping
SynchronizedIntermediateResultElementSink.currentElement
Fields in se.liu.ida.hefquin.engine.queryplan.executable.impl with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final List
<SolutionMapping> CollectingIntermediateResultElementSink.l
protected final List
<SolutionMapping> CollectingIntermediateResultElementSinkWithTranslation.l
Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl that return SolutionMappingMethods in se.liu.ida.hefquin.engine.queryplan.executable.impl that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionCollectingIntermediateResultElementSink.getCollectedSolutionMappings()
Returns an iterable over the solution mappings that have been collected in this sink since the last time it was cleared (by callingCollectingIntermediateResultElementSink.clear()
) or, if it has not been cleared so far, since it was created.Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl with parameters of type SolutionMappingModifier and TypeMethodDescriptionvoid
CollectingIntermediateResultElementSink.send
(SolutionMapping element) void
CollectingIntermediateResultElementSinkWithTranslation.send
(SolutionMapping element) void
SynchronizedIntermediateResultElementSink.send
(SolutionMapping element) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable.impl.iterbased
Subinterfaces with type arguments of type SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable.impl.iterbasedFields in se.liu.ida.hefquin.engine.queryplan.executable.impl.iterbased declared as SolutionMappingMethods in se.liu.ida.hefquin.engine.queryplan.executable.impl.iterbased that return SolutionMapping -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops
Fields in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops declared as SolutionMappingModifier and TypeFieldDescriptionprotected final SolutionMapping
BaseForExecOpIndexNestedLoopsJoinWithRequests.MyResponseProcessor.sm
protected final SolutionMapping
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.MyIntermediateResultElementSink.smFromInput
Fields in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final List
<SolutionMapping> UnaryExecutableOpBaseWithBatching.collectedInputSolMaps
protected final List
<SolutionMapping> ExecOpParallelMultiwayLeftJoin.Worker.input
protected final List
<SolutionMapping> ExecOpNaiveNestedLoopsJoin.inputLHS
protected final Iterable
<SolutionMapping> BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSink.inputSolutionMappings
protected final Set
<SolutionMapping> BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSinkOuterJoin.inputSolutionMappingsWithJoinPartners
protected final List
<SolutionMapping> BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSink.solMapsForOutput
Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops that return SolutionMappingModifier and TypeMethodDescriptionExecOpBind.MultipleVarsWorker.extend
(SolutionMapping solmap) ExecOpBind.OneVarWorker.extend
(SolutionMapping solmap) ExecOpBind.Worker.extend
(SolutionMapping solmap) Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionprotected abstract Iterator
<SolutionMapping> protected Iterator
<SolutionMapping> protected abstract Iterator
<SolutionMapping> protected Iterator
<SolutionMapping> protected List
<SolutionMapping> ExecOpParallelMultiwayLeftJoin.determineInputForParallelProcess
(List<SolutionMapping> input) Preprocess the given list of solution mappings to identify the input solution mappings that do not need to be considered during the parallel phase of the algorithm (because they have bindings for the join variables such that there already was an earlier input solution mapping with the same bindings).protected abstract Iterable
<SolutionMapping> BaseForExecOpIndexNestedLoopsJoinWithRequests.MyResponseProcessor.extractSolMaps
(RespType response) BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSink.getSolMapsForOutput()
protected Set
<SolutionMapping> ExecOpParallelMultiwayLeftJoin.merge
(SolutionMapping inputSol) static Set
<SolutionMapping> ExecOpBindJoinBRTPF.restrictSolMaps
(Iterable<SolutionMapping> inputSolMaps, Set<org.apache.jena.sparql.core.Var> joinVars) Returns null if at least one of the solution mappings that would otherwise be added to the returned set of solution mappings is the empty solution mapping (in which case this operator better uses a TPF request rather than a brTPF request).Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops with parameters of type SolutionMappingModifier and TypeMethodDescriptionprotected void
ExecOpBind._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpFilter._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpGlobalToLocal._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpLocalToGlobal._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
UnaryExecutableOpBase._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given solution mapping as input and send the produced result elements (if any) to the given sink.protected final void
UnaryExecutableOpBaseWithBatching._process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
BinaryExecutableOpBase._processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given solution mapping as input coming from the first operand and send the produced result elements (if any) to the given sink.protected void
ExecOpBinaryUnion._processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpHashJoin._processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpNaiveNestedLoopsJoin._processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpSymmetricHashJoin._processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
BinaryExecutableOpBase._processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given solution mapping as input coming from the second operand and send the produced result elements (if any) to the given sink.protected void
ExecOpBinaryUnion._processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpHashJoin._processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpNaiveNestedLoopsJoin._processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpSymmetricHashJoin._processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpMultiwayUnion._processInputFromXthChild
(int x, SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
NaryExecutableOpBase._processInputFromXthChild
(int x, SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given solution mapping as input coming from the x-th operand and send the produced result elements (if any) to the given sink.protected static void
ExecOpSymmetricHashJoin._processInputSolMap
(SolutionMapping inputSolMap, SolutionMappingsIndex indexForInput, SolutionMappingsIndex indexForProbing, List<SolutionMapping> outputBuffer) protected void
BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSink._send
(SolutionMapping smFromRequest) void
BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSinkOuterJoin._send
(SolutionMapping smFromRequest) protected boolean
ExecOpFilter.checkSolutionMapping
(SolutionMapping inputSolMap) Returns true if the given solution mapping satisfies all of the filter expressions of this operator and, thus, can be passed on to the output.protected abstract NullaryExecutableOp
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.createExecutableRequestOperator
(SolutionMapping sm) protected NullaryExecutableOp
BaseForExecOpIndexNestedLoopsJoinWithTPFRequests.createExecutableRequestOperator
(SolutionMapping inputSolMap) protected Runnable
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.createProcessor
(NullaryExecutableOp reqOp, SolutionMapping smFromInput, IntermediateResultElementSink outputSink, ExecutionContext execCxt) protected abstract ReqType
BaseForExecOpIndexNestedLoopsJoinWithRequests.createRequest
(SolutionMapping sm) protected TriplePatternRequest
BaseForExecOpIndexNestedLoopsJoinWithTPFRequests.createRequest
(SolutionMapping inputSolMap) protected SPARQLRequest
ExecOpIndexNestedLoopsJoinSPARQL.createRequest
(SolutionMapping sm) protected abstract BaseForExecOpIndexNestedLoopsJoinWithRequests<QueryType,
MemberType, ReqType, RespType>.MyResponseProcessor BaseForExecOpIndexNestedLoopsJoinWithRequests.createResponseProcessor
(SolutionMapping sm, IntermediateResultElementSink sink, ExecutableOperator op) protected BaseForExecOpIndexNestedLoopsJoinWithRequests<QueryType,
MemberType, ReqType, SolMapsResponse>.MyResponseProcessor BaseForExecOpIndexNestedLoopsJoinWithSolMapsRequests.createResponseProcessor
(SolutionMapping sm, IntermediateResultElementSink sink, ExecutableOperator op) ExecOpBind.MultipleVarsWorker.extend
(SolutionMapping solmap) ExecOpBind.OneVarWorker.extend
(SolutionMapping solmap) ExecOpBind.Worker.extend
(SolutionMapping solmap) protected CompletableFuture
<?> BaseForExecOpIndexNestedLoopsJoinWithRequestOps.initiateProcessing
(SolutionMapping sm, IntermediateResultElementSink sink, ExecutionContext execCxt) protected Set
<SolutionMapping> ExecOpParallelMultiwayLeftJoin.merge
(SolutionMapping inputSol) final void
UnaryExecutableOpBase.process
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
BinaryExecutableOpBase.processInputFromChild1
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
BinaryExecutableOpBase.processInputFromChild2
(SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
NaryExecutableOpBase.processInputFromXthChild
(int x, SolutionMapping inputSolMap, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpHashJoin.produceOutput
(SolutionMapping inputSolMap, List<SolutionMapping> output) protected void
ExecOpHashRJoin.produceOutput
(SolutionMapping inputSolMap, List<SolutionMapping> output) final void
BaseForExecOpBindJoinWithRequestOps.MyIntermediateResultElementSink.send
(SolutionMapping smFromRequest) void
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.MyIntermediateResultElementSink.send
(SolutionMapping smFromRequest) void
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.MyIntermediateResultElementSinkOuterJoin.send
(SolutionMapping smFromRequest) Method parameters in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops with type arguments of type SolutionMappingModifier and TypeMethodDescriptionprotected void
BaseForExecOpBindJoinWithRequestOps._concludeExecution
(List<SolutionMapping> batchOfSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpIndexNestedLoopsJoinWithRequestOps._concludeExecution
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpIndexNestedLoopsJoinWithRequests._concludeExecution
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpBindJoinSPARQLwithVALUESorFILTER._concludeExecution
(List<SolutionMapping> batch, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpParallelMultiwayLeftJoin._concludeExecution
(List<SolutionMapping> batch, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
UnaryExecutableOpBaseWithBatching._concludeExecution
(List<SolutionMapping> currentBatch, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given batch of solution mappings as last input, conclude the execution of this operator, and send the remaining result elements (if any) to the given sink.protected void
ExecOpBind._process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpFilter._process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpGlobalToLocal._process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpLocalToGlobal._process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
UnaryExecutableOpBase._process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the input solution mappings of the given list by callingUnaryExecutableOpBase._process(SolutionMapping, IntermediateResultElementSink, ExecutionContext)
for each of them.void
BaseForExecOpBindJoinSPARQL._processBatch
(List<SolutionMapping> batchOfSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpBindJoinWithRequestOps._processBatch
(List<SolutionMapping> batchOfSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpIndexNestedLoopsJoinWithRequestOps._processBatch
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpIndexNestedLoopsJoinWithRequests._processBatch
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpBindJoinSPARQLwithVALUESorFILTER._processBatch
(List<SolutionMapping> batch, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpParallelMultiwayLeftJoin._processBatch
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract void
UnaryExecutableOpBaseWithBatching._processBatch
(List<SolutionMapping> currentBatch, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given batch of solution mappings as input and send the produced result elements (if any) to the given sink.protected void
BinaryExecutableOpBase._processInputFromChild1
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the input solution mappings of the given list by callingBinaryExecutableOpBase._processInputFromChild1(SolutionMapping, IntermediateResultElementSink, ExecutionContext)
for each of them.protected void
ExecOpBinaryUnion._processInputFromChild1
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpSymmetricHashJoin._processInputFromChild1
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BinaryExecutableOpBase._processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the input solution mappings of the given list by callingBinaryExecutableOpBase._processInputFromChild2(SolutionMapping, IntermediateResultElementSink, ExecutionContext)
for each of them.protected void
ExecOpBinaryUnion._processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpHashJoin._processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpNaiveNestedLoopsJoin._processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpSymmetricHashJoin._processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpMultiwayUnion._processInputFromXthChild
(int x, List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
NaryExecutableOpBase._processInputFromXthChild
(int x, List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) Processes the input solution mappings of the given list by callingNaryExecutableOpBase._processInputFromXthChild(int, SolutionMapping, IntermediateResultElementSink, ExecutionContext)
for each of them.protected static void
ExecOpSymmetricHashJoin._processInputSolMap
(SolutionMapping inputSolMap, SolutionMappingsIndex indexForInput, SolutionMappingsIndex indexForProbing, List<SolutionMapping> outputBuffer) protected void
BaseForExecOpBindJoinWithRequestOps._processJoinableInput
(Iterable<SolutionMapping> joinableInputSMs, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
BaseForExecOpBindJoinWithRequestOps._processWithoutSplittingInputFirst
(List<SolutionMapping> joinableInputSMs, IntermediateResultElementSink sink, ExecutionContext execCxt) protected abstract NullaryExecutableOp
BaseForExecOpBindJoinWithRequestOps.createExecutableReqOp
(Iterable<SolutionMapping> solMaps) Implementations of this function should create an executable operator that can perform a bind join request in which the query of this bind join operator is combined with the given solution mappings.protected NullaryExecutableOp
ExecOpBindJoinBRTPF.createExecutableReqOp
(Iterable<SolutionMapping> inputSolMaps) protected NullaryExecutableOp
ExecOpBindJoinSPARQLwithFILTER.createExecutableReqOp
(Iterable<SolutionMapping> solMaps) protected NullaryExecutableOp
ExecOpBindJoinSPARQLwithUNION.createExecutableReqOp
(Iterable<SolutionMapping> solMaps) protected NullaryExecutableOp
ExecOpBindJoinSPARQLwithVALUES.createExecutableReqOp
(Iterable<SolutionMapping> solMaps) org.apache.jena.sparql.algebra.Op
ExecOpBindJoinSPARQLwithFILTER.createFilter
(Iterable<SolutionMapping> solMaps) protected org.apache.jena.sparql.algebra.Op
ExecOpBindJoinSPARQLwithUNION.createUnion
(Iterable<SolutionMapping> solMaps) protected List
<SolutionMapping> ExecOpParallelMultiwayLeftJoin.determineInputForParallelProcess
(List<SolutionMapping> input) Preprocess the given list of solution mappings to identify the input solution mappings that do not need to be considered during the parallel phase of the algorithm (because they have bindings for the join variables such that there already was an earlier input solution mapping with the same bindings).protected void
BaseForExecOpBindJoinWithRequestOps.extractUnjoinableInputSMs
(Iterable<SolutionMapping> solMaps, Iterable<org.apache.jena.sparql.core.Var> potentialJoinVars, List<SolutionMapping> unjoinable, List<SolutionMapping> joinable) Splits the given collection of solution mappings into two such that the first list contains all the solution mappings that are guaranteed not to have any join partner and the second list contains the rest of the given input solution mappings (which may have join partners).protected void
BaseForExecOpBindJoinWithRequestOps.extractUnjoinableInputSMs
(Iterable<SolutionMapping> solMaps, Iterable<org.apache.jena.sparql.core.Var> potentialJoinVars, List<SolutionMapping> unjoinable, List<SolutionMapping> joinable) Splits the given collection of solution mappings into two such that the first list contains all the solution mappings that are guaranteed not to have any join partner and the second list contains the rest of the given input solution mappings (which may have join partners).protected CompletableFuture<?>[]
BaseForExecOpIndexNestedLoopsJoinWithRequestOps.initiateProcessing
(List<SolutionMapping> input, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpParallelMultiwayLeftJoin.mergePhase
(Iterable<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink) protected void
ExecOpParallelMultiwayLeftJoin.parallelPhase
(List<SolutionMapping> inputForParallelProcess, ExecutionContext execCxt) final void
UnaryExecutableOpBase.process
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
BinaryExecutableOpBase.processInputFromChild1
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
BinaryExecutableOpBase.processInputFromChild2
(List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) final void
NaryExecutableOpBase.processInputFromXthChild
(int x, List<SolutionMapping> inputSolMaps, IntermediateResultElementSink sink, ExecutionContext execCxt) protected void
ExecOpHashJoin.produceOutput
(SolutionMapping inputSolMap, List<SolutionMapping> output) protected void
ExecOpHashRJoin.produceOutput
(SolutionMapping inputSolMap, List<SolutionMapping> output) static Set
<SolutionMapping> ExecOpBindJoinBRTPF.restrictSolMaps
(Iterable<SolutionMapping> inputSolMaps, Set<org.apache.jena.sparql.core.Var> joinVars) Returns null if at least one of the solution mappings that would otherwise be added to the returned set of solution mappings is the empty solution mapping (in which case this operator better uses a TPF request rather than a brTPF request).Constructors in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops with parameters of type SolutionMappingModifierConstructorDescriptionMyIntermediateResultElementSink
(IntermediateResultElementSink outputSink, SolutionMapping smFromInput) MyIntermediateResultElementSinkOuterJoin
(IntermediateResultElementSink outputSink, SolutionMapping smFromInput) Constructor parameters in se.liu.ida.hefquin.engine.queryplan.executable.impl.ops with type arguments of type SolutionMappingModifierConstructorDescriptionMyIntermediateResultElementSink
(Iterable<SolutionMapping> inputSolutionMappings) MyIntermediateResultElementSinkOuterJoin
(Iterable<SolutionMapping> inputSolutionMappings) Worker
(LogicalOpRequest<?, ?> req, SolutionMappingsIndex index, List<SolutionMapping> input, ExpectedVariables inputVarsFromNonOptionalPart, ExecutionContext execCxt) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryplan.executable.impl.pushbased
Fields in se.liu.ida.hefquin.engine.queryplan.executable.impl.pushbased with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final List
<SolutionMapping> PushBasedPlanThreadImplBase.availableOutput
Methods in se.liu.ida.hefquin.engine.queryplan.executable.impl.pushbased with parameters of type SolutionMappingModifier and TypeMethodDescriptionvoid
PushBasedPlanThreadImplBase.send
(SolutionMapping element) //////////////////////////////////////////////// IntermediateResultElementSink for the producing thread ////////////////////////////////////////////////Method parameters in se.liu.ida.hefquin.engine.queryplan.executable.impl.pushbased with type arguments of type SolutionMappingModifier and TypeMethodDescriptionint
PushBasedPlanThreadImplBase.send
(Iterable<SolutionMapping> it) int
PushBasedPlanThreadImplBase.send
(Iterator<SolutionMapping> it) void
PushBasedPlanThread.transferAvailableOutput
(List<SolutionMapping> transferBuffer) This function first clears the given list and, then, transfers the currently-available solution mappings produced by this task from an internal buffer to the given list, in the order in which the solution mappings have been produced.final void
PushBasedPlanThreadImplBase.transferAvailableOutput
(List<SolutionMapping> transferBuffer) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryproc
Methods in se.liu.ida.hefquin.engine.queryproc with parameters of type SolutionMapping -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.queryproc.impl
Fields in se.liu.ida.hefquin.engine.queryproc.impl with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected List
<SolutionMapping> MaterializingQueryResultSinkImpl.l
Methods in se.liu.ida.hefquin.engine.queryproc.impl that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionMaterializingQueryResultSinkImpl.getSolMapsIter()
Returns an iterator over the materialized result.Methods in se.liu.ida.hefquin.engine.queryproc.impl with parameters of type SolutionMappingModifier and TypeMethodDescriptionvoid
MaterializingQueryResultSinkImpl.send
(SolutionMapping element) -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.wrappers.graphql
Methods in se.liu.ida.hefquin.engine.wrappers.graphql that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionGraphQLSolutionGraphSolver.execSelectQuery
(org.apache.jena.rdf.model.Model solutionGraph, SPARQLQuery query) Queries @param solutionGraph using the SELECT query @param query and -
Uses of SolutionMapping in se.liu.ida.hefquin.engine.wrappers.graphql.impl
Methods in se.liu.ida.hefquin.engine.wrappers.graphql.impl that return types with arguments of type SolutionMappingModifier and TypeMethodDescriptionGraphQLSolutionGraphSolverImpl.execSelectQuery
(org.apache.jena.rdf.model.Model solutionGraph, SPARQLQuery query) -
Uses of SolutionMapping in se.liu.ida.hefquin.jenaintegration.sparql.engine.main
Fields in se.liu.ida.hefquin.jenaintegration.sparql.engine.main with type parameters of type SolutionMappingModifier and TypeFieldDescriptionprotected final Iterator
<SolutionMapping> OpExecutorHeFQUIN.WrappingQueryIterator.it
Constructor parameters in se.liu.ida.hefquin.jenaintegration.sparql.engine.main with type arguments of type SolutionMapping