java.io.Serializable
, java.lang.Comparable<PairMode>
public enum PairMode extends java.lang.Enum<PairMode>
RowMatcher.findPairMatches(PairMode)
Enum Constant | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static final PairMode ALL
public static final PairMode BEST
public static final PairMode BEST1
public static final PairMode BEST2
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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean mayProduceGroups()
MatchStarTables.findGroups(uk.ac.starlink.table.join.LinkSet)
public java.lang.String getSummary()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.