Public Member Functions | |
SampleDatabase (String homeDirectory) throws DatabaseException, FileNotFoundException | |
final TupleSerialFactory | getFactory () |
final Environment | getEnvironment () |
final StoredClassCatalog | getClassCatalog () |
final Database | getPartDatabase () |
final Database | getSupplierDatabase () |
final Database | getShipmentDatabase () |
final SecondaryDatabase | getShipmentByPartDatabase () |
final SecondaryDatabase | getShipmentBySupplierDatabase () |
final SecondaryDatabase | getSupplierByCityDatabase () |
void | close () throws DatabaseException |
Definition at line 32 of file SampleDatabase.java.
|
Open all storage containers, indices, and catalogs. Definition at line 56 of file SampleDatabase.java. References com::sleepycat::collections::TupleSerialFactory::getKeyCreator(). |
|
Close all databases and the environment. Definition at line 211 of file SampleDatabase.java. References com::sleepycat::bind::serial::StoredClassCatalog::close(). |
|
Return the class catalog. Definition at line 155 of file SampleDatabase.java. |
|
Return the storage environment for the database. Definition at line 147 of file SampleDatabase.java. |
|
Return the tuple-serial factory. Definition at line 139 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the part storage container. Definition at line 163 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the shipment-by-part index. Definition at line 187 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the shipment-by-supplier index. Definition at line 195 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the shipment storage container. Definition at line 179 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the supplier-by-city index. Definition at line 203 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |
|
Return the supplier storage container. Definition at line 171 of file SampleDatabase.java. Referenced by collections::ship::factory::SampleViews::SampleViews(). |