Interface | Description |
---|---|
DataAccessObject |
Interface for accessing data in LensKit.
|
EventDAO | Deprecated
Use new
DataAccessObject . |
ItemDAO | Deprecated
Use new
DataAccessObject . |
ItemEventDAO | Deprecated
Use new
DataAccessObject . |
ItemNameDAO | Deprecated |
Query<E extends Entity> |
Fluent interface for DAO queries.
|
UserDAO | Deprecated
Use the new
DataAccessObject . |
UserEventDAO | Deprecated
Use
DataAccessObject . |
Class | Description |
---|---|
AbstractDataAccessObject |
Helper class to make it easier to create DAOs.
|
BridgeEventDAO |
Bridge implementation of the event DAO to migrate from new DAO architecture.
|
BridgeItemDAO |
Bridge to transition item DAO use to new DAOs.
|
BridgeItemDAO.DynamicProvider | |
BridgeItemEventDAO |
Bridge to transition item event DAO use to new DAOs.
|
BridgeItemEventDAO.DynamicProvider | |
BridgeItemNameDAO |
Bridge implementation of the item name DAO.
|
BridgeUserDAO |
Bridge to transition user DAO use to new DAOs.
|
BridgeUserDAO.DynamicProvider | |
BridgeUserEventDAO |
Bridge to transition user event DAO use to new DAOs.
|
BridgeUserEventDAO.DynamicProvider | |
EntityCollectionDAO |
A DAO backed by one or more collections of entities.
|
EntityCollectionDAOBuilder |
Builder for entity collection DAOs.
|
EntityQuery<E extends Entity> |
Representation of a query.
|
EntityQueryBuilder |
Data query builder exposing a fluent interface.
|
EventCollectionDAO |
Data source backed by a collection of events.
|
GroupedQuery<E extends Entity> |
Grouped query interface.
|
PrefetchingItemDAO | Deprecated |
PrefetchingItemEventDAO |
Item event DAO that pre-loads all events from an event DAO.
|
PrefetchingUserDAO |
User DAO that streams the events to get user information.
|
PrefetchingUserEventDAO |
User event DAO that pre-loads all events from an event DAO.
|
SortKey |
A sort key describing a sort operation.
|
Enum | Description |
---|---|
SortOrder |
Exception | Description |
---|---|
DataAccessException |
An error occurred during data access.
|
UnsupportedQueryException |
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.