| Package | Description |
|---|---|
| org.nanoj.util.tinydb |
| Modifier and Type | Method and Description |
|---|---|
TinyTable |
TinyDatabase.createTable(String sTableName,
Class<?> keyClass,
Class<?> recordClass)
Creates a new table in the database
|
TinyTable |
TinyDatabase.getTable(String sTableName)
Returns the table object for the given table name
If the table doesn't exist an exception is thrown The table returned is ready to use (its records are loaded) |
TinyTable |
TinyDatabase.getTable(String sTableName,
boolean mustExist)
Returns the table object for the given table name (or null if the table is unknown and 'mustExist' flag = 'false')
If a table is returned, it is ready to use (its records are loaded) |
Copyright © 2016. All rights reserved.