public interface DataSource
Modifier and Type | Method and Description |
---|---|
void |
configure(LenskitConfiguration config)
Configure LensKit to use this data set.
|
EventDAO |
getEventDAO()
Get an event DAO for this data source.
|
ItemDAO |
getItemDAO()
Get an item DAO for this data source.
|
ItemEventDAO |
getItemEventDAO()
Get a item-event DAO for this data source.
|
ItemNameDAO |
getItemNameDAO()
Get an item name DAO for this data source.
|
String |
getName()
Get the data source name.
|
PreferenceDomain |
getPreferenceDomain()
Get the preference domain of this data source.
|
UserDAO |
getUserDAO()
Get an user DAO for this data source.
|
UserEventDAO |
getUserEventDAO()
Get a user-event DAO for this data source.
|
long |
lastModified() |
String getName()
@Nullable PreferenceDomain getPreferenceDomain()
EventDAO getEventDAO()
UserEventDAO getUserEventDAO()
ItemEventDAO getItemEventDAO()
ItemDAO getItemDAO()
UserDAO getUserDAO()
ItemNameDAO getItemNameDAO()
void configure(LenskitConfiguration config)
config
- A LensKit configuration. Bindings for this data source's data will be added
to this configuration.long lastModified()