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, init
checkedLongToInt, close, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getRowAccess, getRowSplittable, getURL, isRandom, setName, setParameters, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameterByName, setParameter
public 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 unknownIOException
protected List<String> readRow(PushbackInputStream in) throws TableFormatException, IOException
StreamStarTable
readRow
in class StreamStarTable
in
- 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 StreamStarTable
TableFormatException
- 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 fileIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.