public class AllWiseAsciiStarTable extends StreamStarTable
END| Constructor and Description |
|---|
AllWiseAsciiStarTable(DataSource datsrc,
URL schemaUrl,
long nrow)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected RowEvaluator.Metadata |
obtainMetadata()
Obtains metadata for the table by reading the schema provided at
construction time.
|
protected List<String> |
readRow(PushbackInputStream in)
Reads the next row of data from a given stream.
|
protected RowEvaluator.Metadata |
readSchema(DataSource datsrc)
Given a PostgreSQL/2MASS-type schema file, works out what the
column metadata will look like for each column of the table.
|
getColumnCount, getColumnInfo, getInputStream, getRowCount, getRowSequence, initcheckedLongToInt, close, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getRowAccess, getRowSplittable, getURL, isRandom, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic AllWiseAsciiStarTable(DataSource datsrc, URL schemaUrl, long nrow) throws IOException
datsrc - input data sourceschemaUrl - URL for 'schema' table which describes data typesnrow - reported number of rows in table, -1 if unknownIOExceptionprotected List<String> readRow(PushbackInputStream in) throws TableFormatException, IOException
StreamStarTablereadRow in class StreamStarTablein - input streamnull for end of streamTableFormatException - if the data doesn't represent this
kind of tableIOException - if I/O error is encounteredprotected RowEvaluator.Metadata obtainMetadata() throws IOException
obtainMetadata in class StreamStarTableTableFormatException - if the data doesn't represent this
kind of tableIOException - if I/O error is encounteredprotected RowEvaluator.Metadata readSchema(DataSource datsrc) throws IOException
datsrc - data source for schema fileIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.