Uses of Class
com.github.tadukoo.database.mysql.Database
Package
Description
Contains classes for working with a MySQL Database
Contains
DatabasePojo
, which can be used to store and
retrieve the pojo values from a Database
-
Uses of Database in com.github.tadukoo.database.mysql
-
Uses of Database in com.github.tadukoo.database.mysql.pojo
Modifier and TypeMethodDescriptiondefault void
DatabasePojo.createTable
(Database database) Create a table for this pojo on the givenDatabase
default <P extends DatabasePojo>
List<P>Performs a search for data on pojos of this type in the givenDatabase
.default <P extends DatabasePojo>
List<P>DatabasePojo.doSearch
(Database database, Class<P> clazz, Collection<String> subPojosToUse) Performs a search for data on pojos of this type in the givenDatabase
.default void
DatabasePojo.retrieveValues
(Database database, boolean retrieveSubPojos) Retrieves all the values for the pojo from the database, using the stored id column valuedefault void
DatabasePojo.retrieveValues
(Database database, Object idColumnValue, boolean retrieveSubPojos) Retrieves all the values for the pojo from the database, using the given id column valuedefault Integer
DatabasePojo.storeValues
(Database database, boolean storeSubPojos) Stores the values from thisDatabasePojo
into the givenDatabase
.