|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.table.join.EqualsMatchEngine
Match engine which considers two rows matched if they contain objects
which are non-null and equal
(in the sense of Object.equals(java.lang.Object)
). These will typically
be strings, but could equally be something else.
Constructor Summary | |
EqualsMatchEngine()
|
Method Summary | |
Object[] |
getBins(Object[] tuple)
Returns a set of keys for bins into which possible matches for a given tuple might fall. |
DescribedValue[] |
getMatchParameters()
Returns a set of DescribedValue objects whose values can be modified to modify the matching criteria. |
ValueInfo[] |
getTupleInfos()
Returns a set of ValueInfo objects indicating what is required for the elements of each tuple. |
boolean |
matches(Object[] tuple1,
Object[] tuple2)
Indicates whether two tuples are to be linked. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EqualsMatchEngine()
Method Detail |
public boolean matches(Object[] tuple1, Object[] tuple2)
MatchEngine
matches
in interface MatchEngine
tuple1
- one tupletuple2
- the other tuple
public Object[] getBins(Object[] tuple)
MatchEngine
getBins
in interface MatchEngine
tuple
-
public ValueInfo[] getTupleInfos()
MatchEngine
getTupleInfos
in interface MatchEngine
public DescribedValue[] getMatchParameters()
MatchEngine
DescribedValue.setValue(java.lang.Object)
on the
returned objects.
getMatchParameters
in interface MatchEngine
public String toString()
toString
in class Object
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |