Interface PrometheusTableInstancePlus<T extends PrometheusDataItem>
- Type Parameters:
T- the DataType
- All Superinterfaces:
PrometheusTableInstance<T>
public interface PrometheusTableInstancePlus<T extends PrometheusDataItem>
extends PrometheusTableInstance<T>
Table interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClose the result set and statement.voidCreate the table.voiddeleteItems(TethysUIThreadStatusReport pReport, PrometheusBatchControl pBatch) Delete items from the list.voidDrop the table.voidinsertItems(TethysUIThreadStatusReport pReport, PrometheusDataSet pData, PrometheusBatchControl pBatch) Insert new items from the list.voidloadItems(TethysUIThreadStatusReport pReport, PrometheusDataSet pData) Load items from the list into the table.voidTruncate the table.voidupdateItems(TethysUIThreadStatusReport pReport, PrometheusBatchControl pBatch) Update items from the list.Methods inherited from interface io.github.tonywasher.joceanus.prometheus.database.PrometheusTableInstance
getDefinition, getList, getTableName, resolveReferences
-
Method Details
-
closeStmt
Close the result set and statement.- Throws:
SQLException- on error
-
loadItems
Load items from the list into the table.- Parameters:
pReport- the reportpData- the data- Throws:
OceanusException- on error
-
insertItems
void insertItems(TethysUIThreadStatusReport pReport, PrometheusDataSet pData, PrometheusBatchControl pBatch) throws OceanusException Insert new items from the list.- Parameters:
pReport- the reportpData- the datapBatch- the batch control- Throws:
OceanusException- on error
-
updateItems
void updateItems(TethysUIThreadStatusReport pReport, PrometheusBatchControl pBatch) throws OceanusException Update items from the list.- Parameters:
pReport- the reportpBatch- the batch control- Throws:
OceanusException- on error
-
deleteItems
void deleteItems(TethysUIThreadStatusReport pReport, PrometheusBatchControl pBatch) throws OceanusException Delete items from the list.- Parameters:
pReport- the reportpBatch- the batch control- Throws:
OceanusException- on error
-
createTable
Create the table.- Throws:
OceanusException- on error
-
dropTable
Drop the table.- Throws:
OceanusException- on error
-
purgeTable
Truncate the table.- Throws:
OceanusException- on error
-