Quote
DB Methods:
Static void createDB(String dbName):
static void deleteDB(String dbName):
static Database openDB(String dbName)
void closeDB()
Table createTable(String tableName, long recordSize):
Table getTable(String tableName)
void deleteTable(String tableName)
Index createIndex(String indexName)
Index getIndex(String indexName)
void deleteIndex(String indexName)
Table methods:
long getRecordSize()
long addRecord(byte[] record)
void removeRecord(long primaryKey)
byte[] getRecord(long primaryKey)
void updateRecord(long primaryKey, byte[] record)
void close()
Index methods:
Void addKey(String key, long value)
IteratorgetValues(String startKey, String endKey)
long deleteKey(String key)
void updateKey(String key, long value)
void close()
Static void createDB(String dbName):
static void deleteDB(String dbName):
static Database openDB(String dbName)
void closeDB()
Table createTable(String tableName, long recordSize):
Table getTable(String tableName)
void deleteTable(String tableName)
Index createIndex(String indexName)
Index getIndex(String indexName)
void deleteIndex(String indexName)
Table methods:
long getRecordSize()
long addRecord(byte[] record)
void removeRecord(long primaryKey)
byte[] getRecord(long primaryKey)
void updateRecord(long primaryKey, byte[] record)
void close()
Index methods:
Void addKey(String key, long value)
IteratorgetValues(String startKey, String endKey)
long deleteKey(String key)
void updateKey(String key, long value)
void close()
I am thinking I would like to design this in a way that stores a folder (DB) on the main drive (C:/) and each file within that folder will be my tables and indexes. Thanks again for any help, I really appreciate and look forward to your responses.

New Topic/Question
Reply




MultiQuote





|