uk.ac.ic.doc.automed.p2p.qproc.topk
Class TupleJValidatorMappingCommonSchema

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.util.topk.TupleJValidator
      extended by uk.ac.ic.doc.automed.p2p.qproc.topk.TupleJValidatorMappingCommonSchema

public class TupleJValidatorMappingCommonSchema
extends TupleJValidator


Constructor Summary
TupleJValidatorMappingCommonSchema()
           
 
Method Summary
 boolean validate(java.util.Collection tuples, int varIndex)
          Two mappings are joined if their query ids are the same plus a condition that schema coverage attributes are the same
This validator is used to find tuples that share the same schema coverage but not necessary the same schema (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleJValidatorMappingCommonSchema

public TupleJValidatorMappingCommonSchema()
Method Detail

validate

public boolean validate(java.util.Collection tuples,
                        int varIndex)
Two mappings are joined if their query ids are the same plus a condition that schema coverage attributes are the same
This validator is used to find tuples that share the same schema coverage but not necessary the same schema (e.g. two tuples may share the same pair of schema names)

Specified by:
validate in class TupleJValidator
Returns: