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 TypeMethodDescriptionvoidaddQueueEntry(int id) Adds an entry to the aggregation queue.voiddeleteQueueEntry(int id) Deletes an entry from the aggregation queue.voidupdate(FlightReport fr) Updates flight statistics based linked to a flight report.voidMethods 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
-