Class HashIndexTable
- java.lang.Object
-
- org.apache.jena.sparql.engine.index.HashIndexTable
-
- All Implemented Interfaces:
IndexTable
public class HashIndexTable extends java.lang.Object implements IndexTable
Indexes bindings so that they can be search for quickly when a binding to all the variables is provided. If a binding to only some of the known variables is provided then the index still works, but will search linearly.
-
-
Constructor Summary
Constructors Constructor Description HashIndexTable(java.util.Set<Var> commonVars, QueryIterator data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsCompatibleWithSharedDomain(Binding binding)Is there a binding in the table that has a shared domain (variables in common) and is join-compatible? This is teh condition for MINUS to exclude the argument binding.java.lang.StringtoString()
-
-
-
Constructor Detail
-
HashIndexTable
public HashIndexTable(java.util.Set<Var> commonVars, QueryIterator data) throws org.apache.jena.sparql.engine.index.HashIndexTable.MissingBindingException
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
containsCompatibleWithSharedDomain
public boolean containsCompatibleWithSharedDomain(Binding binding)
Description copied from interface:IndexTableIs there a binding in the table that has a shared domain (variables in common) and is join-compatible? This is teh condition for MINUS to exclude the argument binding.- Specified by:
containsCompatibleWithSharedDomainin interfaceIndexTable
-
-