public class PostgresAsciiStarTable extends StreamStarTable
END| Constructor and Description |
|---|
PostgresAsciiStarTable(DataSource datsrc,
URL schemaUrl)
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(InputStream in)
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 PostgresAsciiStarTable(DataSource datsrc, URL schemaUrl) throws IOException
datsrc - input data sourceschemaUrl - URL for 'schema' document which describes data
types (like twomass_psc_schema)IOExceptionprotected 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(InputStream in) throws IOException
in - input stream for schema fileIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.