Created
October 20, 2014 22:25
-
-
Save fzakaria/7bd58bf63f982c90baa8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SqliteModelAccessor<T> implements ModelStoreAccessor<T> { | |
// Implement interface for a (TEXT, TEXT) SQLite table | |
} | |
@Autowired | |
class SqliteAccessorFactory(ModelResultSetTransformer transformer) { | |
enum PropertyDatabaseFile { | |
EPHEMERAL_DATABASE_FILE, | |
REPLICATED_DATABASE_FILE | |
} | |
public SqlitePropertyAccessor registerDatabaseTable(PropertyDatabaseFile dbFile, String tableName) { | |
// Return SqlitePropertyAccessor configured for accessing table tableName in database dbFile | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment