Class SetAggregateStatistics
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetAggregateStatistics
A Data Access Object to update Flight Statistics.
- Since:
- 6.2
- Version:
- 11.4
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQueueEntry
(int id) Adds an entry to the aggregation queue.void
deleteQueueEntry
(int id) Deletes an entry from the aggregation queue.void
update
(FlightReport fr) Updates flight statistics based linked to a flight report.void
Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
SetAggregateStatistics
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
addQueueEntry
Adds an entry to the aggregation queue.- Parameters:
id
- the Flight Report database ID- Throws:
DAOException
- if a JDBC error occurs
-
deleteQueueEntry
Deletes an entry from the aggregation queue.- Parameters:
id
- the Flight Report database ID- Throws:
DAOException
- if a JDBC error occurs
-
update
Updates flight statistics based linked to a flight report.- Parameters:
fr
- the FlightReport- Throws:
DAOException
- if a JDBC error occurs
-
updateLanding
- Throws:
DAOException
-