public class AllWiseAsciiStarTable
extends uk.ac.starlink.table.formats.StreamStarTable
| Constructor | Description |
|---|---|
AllWiseAsciiStarTable(uk.ac.starlink.util.DataSource datsrc,
java.net.URL schemaUrl,
long nrow) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected uk.ac.starlink.table.formats.RowEvaluator.Metadata |
obtainMetadata() |
Obtains metadata for the table by reading the schema provided at
construction time.
|
protected java.util.List |
readRow(java.io.PushbackInputStream in) |
|
protected uk.ac.starlink.table.formats.RowEvaluator.Metadata |
readSchema(uk.ac.starlink.util.DataSource datsrc) |
Given a PostgreSQL/2MASS-type schema file, works out what the
column metadata will look like for each column of the table.
|
checkedLongToInt, getCell, getColumnAuxDataInfos, getName, getParameterByName, getParameters, getRow, getURL, isRandom, setName, setParameter, setParameters, setURLpublic AllWiseAsciiStarTable(uk.ac.starlink.util.DataSource datsrc,
java.net.URL schemaUrl,
long nrow)
throws java.io.IOException
datsrc - input data sourceschemaUrl - URL for 'schema' table which describes data typesnrow - reported number of rows in table, -1 if unknownjava.io.IOExceptionprotected java.util.List readRow(java.io.PushbackInputStream in)
throws uk.ac.starlink.table.TableFormatException,
java.io.IOException
readRow in class uk.ac.starlink.table.formats.StreamStarTableuk.ac.starlink.table.TableFormatExceptionjava.io.IOExceptionprotected uk.ac.starlink.table.formats.RowEvaluator.Metadata obtainMetadata()
throws java.io.IOException
obtainMetadata in class uk.ac.starlink.table.formats.StreamStarTablejava.io.IOExceptionprotected uk.ac.starlink.table.formats.RowEvaluator.Metadata readSchema(uk.ac.starlink.util.DataSource datsrc)
throws java.io.IOException
datsrc - data source for schema filejava.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.