MetadataHolder, StageTablesEndpointStage, TapSchemaStagepublic abstract class TableMetadataStage extends java.lang.Object implements Stage, MetadataHolder
| Constructor | Description |
|---|---|
TableMetadataStage(java.lang.String srcDescription,
java.lang.String[] knownColFlags,
boolean reportOtherFlags) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDescription() |
Returns a short one-line description of this stage.
|
java.lang.String |
getSourceDescription() |
Returns a short text description of table metadata source.
|
uk.ac.starlink.vo.SchemaMeta[] |
getTableMetadata() |
Returns the table metadata obtained by the last run of this stage.
|
protected abstract uk.ac.starlink.vo.SchemaMeta[] |
readTableMetadata(Reporter reporter,
uk.ac.starlink.vo.EndpointSet endpointSet) |
Returns an array providing table metadata to check.
|
void |
run(Reporter reporter,
uk.ac.starlink.vo.EndpointSet endpointSet) |
Performs the validation checks for this stage.
|
public TableMetadataStage(java.lang.String srcDescription,
java.lang.String[] knownColFlags,
boolean reportOtherFlags)
srcDescription - short text description of table metadata sourceknownColFlags - standard column flag values to report counts forreportOtherFlags - whether to report counts for non-standard
column flag valuespublic java.lang.String getDescription()
StagegetDescription in interface Stagepublic java.lang.String getSourceDescription()
public uk.ac.starlink.vo.SchemaMeta[] getTableMetadata()
getTableMetadata in interface MetadataHolderprotected abstract uk.ac.starlink.vo.SchemaMeta[] readTableMetadata(Reporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet)
reporter - destination for validation messagesendpointSet - TAP service endpointsCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.