final class ScalerDataDaoImpl extends Object implements ScalerDataDao
ScalerData
in the run database.Modifier and Type | Field and Description |
---|---|
private Connection |
connection
The database connection.
|
private static String |
INSERT
Insert a record.
|
Constructor and Description |
---|
ScalerDataDaoImpl(Connection connection)
Create object for managing scaler data in the run database.
|
Modifier and Type | Method and Description |
---|---|
private static String |
createInsertSql()
Create insert SQL for scaler data.
|
void |
deleteScalerData(int run)
Delete scaler data for the run.
|
List<ScalerData> |
getScalerData(int run)
Get scaler data for a run.
|
void |
insertScalerData(List<ScalerData> scalerDataList,
int run)
Insert scaler data for a run.
|
private static final String INSERT
private final Connection connection
public ScalerDataDaoImpl(Connection connection)
connection
- the database connectionprivate static String createInsertSql()
public void deleteScalerData(int run)
deleteScalerData
in interface ScalerDataDao
run
- the run numberpublic List<ScalerData> getScalerData(int run)
getScalerData
in interface ScalerDataDao
run
- the run numberpublic void insertScalerData(List<ScalerData> scalerDataList, int run)
insertScalerData
in interface ScalerDataDao
scalerData
- the list of scaler datarun
- the run numberCopyright © 2019. All rights reserved.