public class TableSetTapMetaReader extends Object implements TapMetaReader
All of the available information is read by readSchemas(),
 so the other read* methods never need be called,
 and will throw UnsupportedOperationExceptions.
| Constructor and Description | 
|---|
TableSetTapMetaReader(URL tablesetUrl,
                     MetaNameFixer fixer,
                     ContentCoding coding)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMeans()
Returns a textual indication of the method or protocol
 this reader uses to acquire TAP metadata. 
 | 
String | 
getSource()
Returns a textual indication of where the metadata is coming from,
 typically a URL. 
 | 
ColumnMeta[] | 
readColumns(TableMeta table)
Acquires metadata about columns in a given table from a TAP service. 
 | 
ForeignMeta[] | 
readForeignKeys(TableMeta table)
Acquires metadata about foreign keys in a given table from a TAP service. 
 | 
SchemaMeta[] | 
readSchemas()
Acquires metadata about schemas in a TAP service. 
 | 
TableMeta[] | 
readTables(SchemaMeta schema)
Acquires metadata about tables in a given schema from a TAP service. 
 | 
public TableSetTapMetaReader(URL tablesetUrl, MetaNameFixer fixer, ContentCoding coding)
tablesetUrl - URL of some document containing VOSITables
           <schema> elementsfixer - object that fixes up syntactically incorrect
                  table/column names; if null no fixing is done;
                  has no effect for compliant VODataService documentscoding - configures HTTP compressionpublic SchemaMeta[] readSchemas() throws IOException
TapMetaReaderMay be slow.
readSchemas in interface TapMetaReaderIOExceptionpublic TableMeta[] readTables(SchemaMeta schema)
TapMetaReaderMay be slow. May throw UnsupportedOperationException if not needed.
readTables in interface TapMetaReaderschema - schema containing tables; not altered by callUnsupportedOperationException - alwayspublic ColumnMeta[] readColumns(TableMeta table)
TapMetaReaderMay be slow. May throw UnsupportedOperationException if not needed.
readColumns in interface TapMetaReadertable - table containing columns; not altered by callUnsupportedOperationException - alwayspublic ForeignMeta[] readForeignKeys(TableMeta table)
TapMetaReaderMay be slow. May throw UnsupportedOperationException if not needed.
readForeignKeys in interface TapMetaReadertable - table containing columns; not altered by callUnsupportedOperationException - alwayspublic String getSource()
TapMetaReadergetSource in interface TapMetaReaderpublic String getMeans()
TapMetaReadergetMeans in interface TapMetaReaderCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.