public abstract class VotLintTapRunner extends TapRunner
| Modifier and Type | Field and Description | 
|---|---|
static ValueInfo | 
OVERFLOW_INFO
Result table parameter set if table was marked overflowed. 
 | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
VotLintTapRunner(String name,
                boolean doChecks)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static VotLintTapRunner | 
createAsyncRunner(long pollMillis,
                 boolean doChecks)
Returns a new instance which makes asynchronous queries. 
 | 
static VotLintTapRunner | 
createGetSyncRunner(boolean doChecks)
Returns a new instance which uses HTTP GET to make synchronous queries. 
 | 
static VotLintTapRunner | 
createPostSyncRunner(boolean doChecks)
Returns a new instance which uses HTTP POST to make synchronous queries. 
 | 
protected StarTable | 
executeQuery(Reporter reporter,
            TapQuery tq)
Executes a TAP query, performing reporting as appropriate. 
 | 
protected abstract URLConnection | 
getResultConnection(Reporter reporter,
                   TapQuery tq)
Execute a TAP query and return a URL connection giving its result. 
 | 
VOElement | 
getResultsResourceElement(Reporter reporter,
                         VODocument doc)
Returns the RESOURCE element marked with type="results" from a given
 VODocument, or the best guess at it. 
 | 
boolean | 
isOverflow(StarTable table)
Indicates if the given table, which must have been retrieved from
 this object's  
readResultVOTable(uk.ac.starlink.ttools.taplint.Reporter, uk.ac.starlink.votable.VODocument) method, was marked as
 an overflow result. | 
VODocument | 
readResultDocument(Reporter reporter,
                  InputStream baseIn)
Reads a TAP result VODocument from an input stream,
 checking it and reporting messages as required. 
 | 
static VODocument | 
readResultDocument(Reporter reporter,
                  InputStream baseIn,
                  boolean doChecks,
                  VOTableVersion minVotVersion)
Utility method to read a VODocument from an input stream,
 checking it and reporting messages as required. 
 | 
InputStream | 
readResultInputStream(Reporter reporter,
                     TapQuery tq)
Returns an input stream which should contain the result VOTable
 from a TAP query, performing checks and making reports as appropriate
 on the way. 
 | 
attemptGetResultTable, getDescription, getResultTable, reportSummarypublic static ValueInfo OVERFLOW_INFO
protected VotLintTapRunner(String name, boolean doChecks)
name - name for this instancedoChecks - true to perform various checks on the result VOTable
                    (including linting) and report them, false to be
                    mostly silent and only report serious errorspublic boolean isOverflow(StarTable table)
readResultVOTable(uk.ac.starlink.ttools.taplint.Reporter, uk.ac.starlink.votable.VODocument) method, was marked as
 an overflow result.table - TAP result table read by this objectprotected abstract URLConnection getResultConnection(Reporter reporter, TapQuery tq) throws IOException
reporter - validation message destinationtq - queryIOExceptionprotected StarTable executeQuery(Reporter reporter, TapQuery tq) throws IOException, SAXException
TapRunnerexecuteQuery in class TapRunnerreporter - validation message destinationtq - query to executeIOExceptionSAXExceptionpublic InputStream readResultInputStream(Reporter reporter, TapQuery tq) throws IOException, SAXException
reporter - validation message destinationtq - queryIOExceptionSAXExceptionpublic VODocument readResultDocument(Reporter reporter, InputStream baseIn) throws IOException, SAXException
reporter - validation message destinationbaseIn - VOTable input streamIOExceptionSAXExceptionpublic static VODocument readResultDocument(Reporter reporter, InputStream baseIn, boolean doChecks, VOTableVersion minVotVersion) throws IOException, SAXException
reporter - validation message destinationbaseIn - VOTable input streamdoChecks - true to perform various checks on the result VOTable
                    (including linting) and report them, false to be
                    mostly silent and only report serious errorsminVotVersion - minimum required VOTable version;
                        may be null if any will doIOExceptionSAXExceptionpublic VOElement getResultsResourceElement(Reporter reporter, VODocument doc) throws IOException
reporter - validation message destinationdoc - TAP result DOMIOExceptionpublic static VotLintTapRunner createPostSyncRunner(boolean doChecks)
doChecks - true for detailed VOTable checkingpublic static VotLintTapRunner createGetSyncRunner(boolean doChecks)
doChecks - true for detailed VOTable checkingpublic static VotLintTapRunner createAsyncRunner(long pollMillis, boolean doChecks)
pollMillis - polling interval in millisecondsdoChecks - true for detailed VOTable checkingCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.