BasicTapRunner
, VotLintTapRunner
public abstract class TapRunner
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
TapRunner(java.lang.String description) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
uk.ac.starlink.table.StarTable |
attemptGetResultTable(Reporter reporter,
uk.ac.starlink.vo.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 uk.ac.starlink.table.StarTable |
executeQuery(Reporter reporter,
uk.ac.starlink.vo.TapQuery query) |
Executes a TAP query, performing reporting as appropriate.
|
java.lang.String |
getDescription() |
Returns a short description.
|
uk.ac.starlink.table.StarTable |
getResultTable(Reporter reporter,
uk.ac.starlink.vo.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(java.lang.String description)
description
- short description of this object's typepublic java.lang.String getDescription()
public uk.ac.starlink.table.StarTable getResultTable(Reporter reporter, uk.ac.starlink.vo.TapQuery tq)
reporter
- validation message destinationtq
- TAP query specificationpublic uk.ac.starlink.table.StarTable attemptGetResultTable(Reporter reporter, uk.ac.starlink.vo.TapQuery tq) throws java.io.IOException, org.xml.sax.SAXException
reporter
- validation message destinationtq
- TAP query specificationjava.io.IOException
org.xml.sax.SAXException
protected abstract uk.ac.starlink.table.StarTable executeQuery(Reporter reporter, uk.ac.starlink.vo.TapQuery query) throws java.io.IOException, org.xml.sax.SAXException
reporter
- validation message destinationquery
- query to executejava.io.IOException
org.xml.sax.SAXException
public void reportSummary(Reporter reporter)
reporter
- validation message destinationCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.