public interface TableReader
| Modifier and Type | Method and Description |
|---|---|
boolean |
readTable(java.lang.String tableName,
TempTableBuilder table,
java.util.function.BiConsumer<RecordBuffer,Record> loader)
Read XML/JSON data from the input source and store it in the just created empty TEMP-TABLE.
|
boolean readTable(java.lang.String tableName,
TempTableBuilder table,
java.util.function.BiConsumer<RecordBuffer,Record> loader)
throws PersistenceException
tableName - table nametable - TEMP-TABLE to be loaded.loader - A BiConsumer which helps loading a Record into the buffer.true on success.PersistenceException - if there is any error reading or storing XML/JSON data.