Interface for accessing data in LensKit.
|Query<E extends Entity>||
Fluent interface for DAO queries.
Helper class to make it easier to create DAOs.
A DAO backed by one or more collections of entities.
Builder for entity collection DAOs.
|EntityQuery<E extends Entity>||
Representation of a query.
Data query builder exposing a fluent interface.
|GroupedQuery<E extends Entity>||
Grouped query interface.
A sort key describing a sort operation.
An error occurred during data access.
Exception thrown when a query cannot be supported.
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.