public class ObsTapStage extends Object implements Stage
Constructor and Description |
---|
ObsTapStage(TapRunner tapRunner,
CapabilityHolder capHolder,
MetadataHolder metaHolder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a short one-line description of this stage.
|
static String |
nameKey(String name)
Normalises a column name to produce a value suitable for use as a
Map key.
|
void |
run(Reporter reporter,
TapService tapService)
Performs the validation checks for this stage.
|
static Map<String,ColumnMeta> |
toMap(ColumnMeta[] cols)
Converts an array of ColumnMeta objects into a name->value map.
|
public ObsTapStage(TapRunner tapRunner, CapabilityHolder capHolder, MetadataHolder metaHolder)
tapRunner
- runs TAP queriescapHolder
- provides capability metadata at runtimemetaHolder
- provides table metadata at runtimepublic String getDescription()
Stage
getDescription
in interface Stage
public void run(Reporter reporter, TapService tapService)
Stage
public static Map<String,ColumnMeta> toMap(ColumnMeta[] cols)
nameKey(java.lang.String)
method is used to normalise the column name.cols
- column metadata listCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.