|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PairMode>
uk.ac.starlink.table.join.PairMode
public enum PairMode
Enumeration used to determine which row links result from a pair match operation.
RowMatcher.findPairMatches(PairMode)
Enum Constant Summary | |
---|---|
ALL
All matches are returned. |
|
BEST
Only the best matches are returned, obtained symmetrically. |
|
BEST1
For each row in table 1, only the best match in table 2 is returned. |
|
BEST2
For each row in table 2, only the best match in table 1 is returned. |
Method Summary | |
---|---|
java.lang.String |
getSummary()
Returns a short summary of the matching policy. |
boolean |
mayProduceGroups()
Indicates whether the result of a match performed in this mode may contain non-trivial related groups of rows. |
static PairMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PairMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PairMode ALL
public static final PairMode BEST
public static final PairMode BEST1
public static final PairMode BEST2
Method Detail |
---|
public static PairMode[] values()
for (PairMode c : PairMode.values()) System.out.println(c);
public static PairMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean mayProduceGroups()
MatchStarTables.findGroups(uk.ac.starlink.table.join.LinkSet)
public java.lang.String getSummary()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |