public class AllWiseAsciiStarTable
extends uk.ac.starlink.table.formats.StreamStarTable
| Constructor and Description |
|---|
AllWiseAsciiStarTable(uk.ac.starlink.util.DataSource datsrc,
java.net.URL schemaUrl,
long nrow)
Constructor.
|
| Modifier and Type | Method and 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.
|
getColumnCount, getColumnInfo, getInputStream, getRowCount, getRowSequence, initpublic 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 © 2017 Central Laboratory of the Research Councils. All Rights Reserved.