public enum ServiceFindMode extends Enum<ServiceFindMode>
Enum Constant and Description |
---|
ALL
All matches.
|
ALL_SCORE
All matches, score column only.
|
BEST
Best remote match only for each input row.
|
BEST_REMOTE
Best input match only for each remote row.
|
BEST_SCORE
Best remote match only for each input row, score column only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBestOnly()
Indicates whether only the rows with the best match to an input row
are returned, or all matches.
|
boolean |
isRemoteUnique()
Indicates whether the nature of this match requires that each
row from the remote table may appear at most once in the result.
|
boolean |
isScoreOnly()
Indicates whether the output columns will contain just the score,
or (at least some) columns from the remote table.
|
boolean |
supportsOneToOne()
Indicates whether this mode will allow use in a context where there
is exactly one output row for each input row.
|
static ServiceFindMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceFindMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceFindMode ALL
public static final ServiceFindMode BEST
public static final ServiceFindMode BEST_REMOTE
public static final ServiceFindMode ALL_SCORE
public static final ServiceFindMode BEST_SCORE
public static ServiceFindMode[] values()
for (ServiceFindMode c : ServiceFindMode.values()) System.out.println(c);
public static ServiceFindMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isBestOnly()
public boolean isScoreOnly()
public boolean isRemoteUnique()
If performing the upload match in blocks, a true result from this method may mean that some post-processing of the result needs to be done.
public boolean supportsOneToOne()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.