Skip navigation links

Package org.lenskit.data.dao

LensKit data access objects.

See: Description

Package org.lenskit.data.dao Description

LensKit data access objects.

LensKit uses Data Access Objects to obtain access to rating data. These objects allow LensKit to query for users, items, ratings, etc. The master DAO interface is defined by DataAccessObject. This interface can be reimplemented against other query APIs such as SQL databases, MongoDB, etc. LensKit provides basic implementations against static files and in-memory collections.

LensKit also uses intermediate layers, called proxy DAOs, such as RatingVectorPDAO that provide access to intermediate data structures that are usually computed from underlying data accessed via the master DAO.

The data access objects make no transactional or immutability guarantees, and do not provide mutation. An implementation is, of course, free to provide mutation.

Skip navigation links