johnding1996 / HKUST-COMP3111H-Group

Group Project of COMP 3111H in Fall 2017 at HKUST
Apache License 2.0
0 stars 0 forks source link

Publish the database package v1.1 #39

Closed johnding1996 closed 6 years ago

johnding1996 commented 6 years ago
johnding1996 commented 6 years ago

Database package adopts a 3 sub-package design, which are

  1. database.connection: Which handles the connection pool and manage connection treads.
  2. database.keeper: Which is the I/O interface for Redis caches, volatile information.
  3. database.querier: Which is the I/O interface for SQL databases, non-volatile information.
johnding1996 commented 6 years ago

Refactoring notification: We decide to move HistQuerier and LogQuerier in the proposed APIs and architectural diagram v1.0 to keeper package and renamed as HistKeeper and LogKeeper since they make direct use of the SerializeKeeper abstract class.

johnding1996 commented 6 years ago

New feature notification: The querier are becoming more powerful compared to the proposed APIs v1.0. It now support data row delete, update, get (by id), search (by description filed, which is originally the get methods), add, with abundant polymorphic (by override and overload).

johnding1996 commented 6 years ago

Database v1.1 is finally ready and is merged to develop now (#38)

Basic statistics: 2146 lines of code, 3 sub-packages, 12 classes and 7 test classes, 40 unittests, with full javadocs.

johnding1996 commented 6 years ago

Closed since finished