|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UploadFindMode>
uk.ac.starlink.ttools.cone.UploadFindMode
public enum UploadFindMode
Enumeration of ways to run an upload match.
Enum Constant Summary | |
---|---|
ALL
All matches. |
|
BEST
Best remote match only for each input row. |
|
BEST_REMOTE
Best input match only for each remote row. |
|
EACH
One row per input row, contains best remote match or blank. |
|
MATCH_COUNT
One row per input row, just one column giving number of matches. |
|
MATCH_DIST
One row per input row, just one column giving best match distance. |
Method Summary | |
---|---|
String |
getName()
Returns the one-word name for this mode. |
String |
getSummary()
Returns a short text summary of the meaning of this mode. |
boolean |
isOneToOne()
Indicates whether this mode describes a match for which the count and sequence of the output table rows are in one to one correspondence with the input table rows. |
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. |
String |
toString()
|
static UploadFindMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UploadFindMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UploadFindMode ALL
public static final UploadFindMode BEST
public static final UploadFindMode BEST_REMOTE
public static final UploadFindMode EACH
public static final UploadFindMode MATCH_DIST
public static final UploadFindMode MATCH_COUNT
Method Detail |
---|
public static final UploadFindMode[] values()
for(UploadFindMode c : UploadFindMode.values()) System.out.println(c);
public static UploadFindMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getName()
public String getSummary()
public boolean isOneToOne()
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 String toString()
toString
in class Enum<UploadFindMode>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |