com.hp.hpl.jena.sparql.engine.index
Class HashIndexTable
java.lang.Object
com.hp.hpl.jena.sparql.engine.index.HashIndexTable
- All Implemented Interfaces:
- IndexTable
public class HashIndexTable
- extends 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.
- Author:
- Paul Gearon
HashIndexTable
public HashIndexTable(Set<Var> commonVars,
QueryIterator data)
throws com.hp.hpl.jena.sparql.engine.index.HashIndexTable.MissingBindingException
- Throws:
com.hp.hpl.jena.sparql.engine.index.HashIndexTable.MissingBindingException
containsCompatibleWithSharedDomain
public boolean containsCompatibleWithSharedDomain(Binding binding)
- Specified by:
containsCompatibleWithSharedDomain
in interface IndexTable
Licenced under the Apache License, Version 2.0