public interface MultiTableBuilder extends TableBuilder
TableBuilder, but which additionally know how to read more than one table at a time.
|Modifier and Type||Method and Description|
Constructs a sequence of StarTables based on a given DataSource.
TableSequence makeStarTables(DataSource datsrc, StoragePolicy storagePolicy) throws java.io.IOException
TableFormatExceptionshould be thrown. If this builder thinks it should be able to handle the source but an error occurs during processing, an
IOExceptioncan be thrown.
position of the data source is not null,
then this method should return a sequence containing a single table,
the one which would be returned by the
method with that position.
datsrc- the DataSource containing the table resource
storagePolicy- a StoragePolicy object which may be used to supply scratch storage if the builder needs it
TableFormatException- if the table is not of a kind that can be handled by this handler
java.io.IOException- if an unexpected I/O error occurs during processing