public abstract class TapRunner extends Object
Modifier | Constructor and Description |
---|---|
protected |
TapRunner(String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
StarTable |
attemptGetResultTable(Reporter reporter,
TapQuery tq)
Attempts to execute a TAP query and returns the result table,
or throws an exception if the query failed for some reason.
|
protected abstract StarTable |
executeQuery(Reporter reporter,
TapQuery query)
Executes a TAP query, performing reporting as appropriate.
|
String |
getDescription()
Returns a short description.
|
StarTable |
getResultTable(Reporter reporter,
TapQuery tq)
Executes a TAP query and returns the result table, or null if the
query failed for some reason.
|
void |
reportSummary(Reporter reporter)
Reports a summary of the queries executed by this object.
|
protected TapRunner(String description)
description
- short description of this object's typepublic String getDescription()
public StarTable getResultTable(Reporter reporter, TapQuery tq)
reporter
- validation message destinationtq
- TAP query specificationpublic StarTable attemptGetResultTable(Reporter reporter, TapQuery tq) throws IOException, SAXException
reporter
- validation message destinationtq
- TAP query specificationIOException
SAXException
protected abstract StarTable executeQuery(Reporter reporter, TapQuery query) throws IOException, SAXException
reporter
- validation message destinationquery
- query to executeIOException
SAXException
public void reportSummary(Reporter reporter)
reporter
- validation message destinationCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.