Uses of Interface
com.github.tadukoo.database.mysql.pojo.DatabasePojo
Package
Description
Contains
DatabasePojo
, which can be used to store and
retrieve the pojo values from a Database
-
Uses of DatabasePojo in com.github.tadukoo.database.mysql.pojo
Modifier and TypeClassDescriptionclass
Abstract Database Pojo is a simple implementation of aDatabasePojo
to use to easily make pojos that can be stored and retrieved from aDatabase
Modifier and TypeFieldDescriptionprivate Class<? extends DatabasePojo>
SubPojoDefinition.SubPojoDefinitionBuilder.type
The class used for the sub pojo, in case the pojo has to create a new instance of itprivate final Class<? extends DatabasePojo>
SubPojoDefinition.type
The class used for the sub pojo, in case the pojo has to create a new instance of itModifier and TypeMethodDescriptiondefault <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 <P extends DatabasePojo>
com.github.tadukoo.util.functional.function.ThrowingFunction<ResultSet,List<P>, SQLException> DatabasePojo.getResultSetListFunc
(Class<P> clazz) Modifier and TypeMethodDescriptiondefault void
DatabasePojo.addSubPojo
(SubPojoDefinition subPojoDef, DatabasePojo subPojo, ForeignKeyConstraint foreignKey) Adds the info for a subPojo using the given parametersModifier and TypeMethodDescriptionSubPojoDefinition.SubPojoDefinitionBuilder.typeAndJunction
(Class<? extends DatabasePojo> type, com.github.tadukoo.util.tuple.Pair<ColumnRef, ColumnRef> junction) SubPojoDefinition.TypeAndJunction.typeAndJunction
(Class<? extends DatabasePojo> type, com.github.tadukoo.util.tuple.Pair<ColumnRef, ColumnRef> junction) ModifierConstructorDescriptionprivate
SubPojoDefinition
(String key, String idCol, Class<? extends DatabasePojo> type, com.github.tadukoo.util.tuple.Pair<ColumnRef, ColumnRef> junction) Constructs a newSubPojoDefinition
using the given parameters