Package uk.ac.starlink.ttools.task
Class UserFindMode
java.lang.Object
uk.ac.starlink.ttools.task.UserFindMode
Mode for upload crossmatches corresponding to the user options.
This is related to the ServiceFindMode, but not in a 1:1 fashion.
- Since:
- 5 Jun 2014
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserFindMode
All matches.static final UserFindMode
Best match only.static final UserFindMode
Best match in local table for each remote table row.static final UserFindMode
One output row per local table row, best match or blank.static final UserFindMode
One output row per local table row, best score only or blank. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserFindMode[]
Returns a list of all the useful instances of this class.getName()
Returns the one-word name for this mode.Returns the service mode associated with this user mode.Returns a short text summary of the meaning of this mode.boolean
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.toString()
-
Field Details
-
ALL
All matches. -
BEST
Best match only. -
BEST_REMOTE
Best match in local table for each remote table row. -
EACH
One output row per local table row, best match or blank. -
EACH_SCORE
One output row per local table row, best score only or blank.
-
-
Method Details
-
getName
Returns the one-word name for this mode.- Returns:
- mode name
-
getSummary
Returns a short text summary of the meaning of this mode.- Returns:
- mode summary
-
getServiceMode
Returns the service mode associated with this user mode.- Returns:
- service mode
-
isOneToOne
public 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.- Returns:
- true iff output rows match 1:1 with input rows
-
toString
-
getInstances
Returns a list of all the useful instances of this class.
-