com.hp.hpl.jena.sparql.engine.index
Class HashIndexTable

java.lang.Object
  extended by 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

Constructor Summary
HashIndexTable(Set<Var> commonVars, QueryIterator data)
           
 
Method Summary
 boolean containsCompatibleWithSharedDomain(Binding binding)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

containsCompatibleWithSharedDomain

public boolean containsCompatibleWithSharedDomain(Binding binding)
Specified by:
containsCompatibleWithSharedDomain in interface IndexTable


Licenced under the Apache License, Version 2.0