uk.ac.ic.doc.automed.p2p.overlay
Class QueryFilter

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.overlay.QueryFilter
All Implemented Interfaces:
java.io.Serializable, ow.dht.advanced.EntryFilter

public class QueryFilter
extends java.lang.Object
implements ow.dht.advanced.EntryFilter

See Also:
Serialized Form

Constructor Summary
QueryFilter(ASG query)
          Creates a new instance of QueryFilter
 
Method Summary
 java.io.Serializable filter(java.io.Serializable value)
          Implement interface EntryFilter
 java.util.Set filter(java.util.Set valueSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFilter

public QueryFilter(ASG query)
Creates a new instance of QueryFilter

Parameters:
attrs - the index attributes of the query argument
rgs - the range guards associated with the index attributes
query - the actual ASG query
Method Detail

filter

public java.io.Serializable filter(java.io.Serializable value)
Implement interface EntryFilter

Specified by:
filter in interface ow.dht.advanced.EntryFilter

filter

public java.util.Set filter(java.util.Set valueSet)
Specified by:
filter in interface ow.dht.advanced.EntryFilter