public abstract class UploadFindMode extends Object
| Modifier and Type | Field and Description |
|---|---|
static UploadFindMode |
ADD_SUBSET
Just adds a match subset to the table.
|
static UploadFindMode |
ALL
All matches.
|
static UploadFindMode |
BEST
Best match only.
|
static UploadFindMode |
BEST_REMOTE
Best match in local table for each remote row.
|
static UploadFindMode |
EACH
One output row per local table row, best match or blank.
|
| Modifier and Type | Method and Description |
|---|---|
static UploadFindMode[] |
getInstances()
Returns an array of useful instances of this class.
|
uk.ac.starlink.ttools.cone.ServiceFindMode |
getServiceMode()
Returns the service mode associated with this user mode.
|
uk.ac.starlink.ttools.task.UserFindMode |
getUserMode()
Returns the stilts mode corresponding to 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.
|
abstract void |
runMatch(uk.ac.starlink.ttools.cone.BlockUploader blocker,
uk.ac.starlink.table.StarTable inTable,
uk.ac.starlink.ttools.cone.QuerySequenceFactory qsFact,
uk.ac.starlink.table.StoragePolicy storage,
Scheduler scheduler,
TopcatModel tcModel,
int[] rowMap)
Performs an upload match and consumes the result in some appropriate
way.
|
String |
toString() |
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 ADD_SUBSET
public uk.ac.starlink.ttools.cone.ServiceFindMode getServiceMode()
public uk.ac.starlink.ttools.task.UserFindMode getUserMode()
public boolean isOneToOne()
public abstract void runMatch(uk.ac.starlink.ttools.cone.BlockUploader blocker,
uk.ac.starlink.table.StarTable inTable,
uk.ac.starlink.ttools.cone.QuerySequenceFactory qsFact,
uk.ac.starlink.table.StoragePolicy storage,
Scheduler scheduler,
TopcatModel tcModel,
int[] rowMap)
blocker - block uploaderinTable - input table, correspoinding to qsFactqsFact - sequence of positional query specifications,
with a row sequence corresponding to that of
inTablestorage - storage policy for storing result tablescheduler - object for conditionally scheduling operations
on the EDTtcModel - topcat model from which the input data comesrowMap - maps tcModel row indices to view indicespublic static UploadFindMode[] getInstances()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.