Package jakarta.nosql.mapping.column
Interface ColumnRepositoryProducer
-
public interface ColumnRepositoryProducer
The producer ofRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,K,R extends Repository<T,K>>
Rget(Class<R> repositoryClass, ColumnFamilyManager manager)
Produces a Repository class from repository class andColumnFamilyManager
<T,K,R extends Repository<T,K>>
Rget(Class<R> repositoryClass, ColumnTemplate template)
Produces a Repository class from repository class andColumnTemplate
-
-
-
Method Detail
-
get
<T,K,R extends Repository<T,K>> R get(Class<R> repositoryClass, ColumnFamilyManager manager)
Produces a Repository class from repository class andColumnFamilyManager
- Type Parameters:
T
- the entity of repositoryK
- the K of the entityR
- the repository type- Parameters:
repositoryClass
- the repository classmanager
- the manager- Returns:
- a
Repository
interface - Throws:
NullPointerException
- when there is null parameter
-
get
<T,K,R extends Repository<T,K>> R get(Class<R> repositoryClass, ColumnTemplate template)
Produces a Repository class from repository class andColumnTemplate
- Type Parameters:
T
- the entity of repositoryK
- the K of the entityR
- the repository type- Parameters:
repositoryClass
- the repository classtemplate
- the template- Returns:
- a
Repository
interface - Throws:
NullPointerException
- when there is null parameter
-
-