|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseApi
This API is for creating, listing, and deleting a Database
| Method Summary | |
|---|---|
boolean |
create(String database)
Same as create(String, null, null) |
boolean |
create(String database,
String character_set,
String collate)
This operation creates a new database within the specified instance. |
boolean |
delete(String databaseName)
This operation deletes the specified database for the specified database instance. |
com.google.common.collect.FluentIterable<String> |
list()
This operation lists the databases for the specified database instance. |
| Method Detail |
|---|
@Named(value="database:create") boolean create(String database)
create(String, String, String)
@Named(value="database:create")
boolean create(String database,
String character_set,
String collate)
database - The name of the database to be createdcharacter_set - Optional. Set of symbols and encodings. The default character set is utf8.collate - Optional. Set of rules for comparing characters in a character set. The default value for collate is utf8_general_ci.
@Named(value="databases:delete") boolean delete(String databaseName)
databaseName - The name for the specified database.
@Named(value="database:list") com.google.common.collect.FluentIterable<String> list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||