Search in sources :

Example 16 with ColumnFamilyManager

use of jakarta.nosql.column.ColumnFamilyManager in project jnosql-diana by eclipse.

the class TemplateBean method create.

@Override
public ColumnTemplate create(CreationalContext<ColumnTemplate> context) {
    ColumnTemplateProducer producer = getInstance(ColumnTemplateProducer.class);
    ColumnFamilyManager columnFamilyManager = getColumnFamilyManager();
    return producer.get(columnFamilyManager);
}
Also used : ColumnFamilyManager(jakarta.nosql.column.ColumnFamilyManager) ColumnTemplateProducer(jakarta.nosql.mapping.column.ColumnTemplateProducer)

Aggregations

ColumnFamilyManager (jakarta.nosql.column.ColumnFamilyManager)16 ColumnEntity (jakarta.nosql.column.ColumnEntity)8 Test (org.junit.jupiter.api.Test)7 Produces (javax.enterprise.inject.Produces)5 ColumnTemplateProducer (jakarta.nosql.mapping.column.ColumnTemplateProducer)3 ColumnQuery (jakarta.nosql.column.ColumnQuery)2 Database (jakarta.nosql.mapping.Database)2 Column (jakarta.nosql.column.Column)1 ColumnDeleteQuery (jakarta.nosql.column.ColumnDeleteQuery)1 Pagination (jakarta.nosql.mapping.Pagination)1 ColumnEventPersistManager (jakarta.nosql.mapping.column.ColumnEventPersistManager)1 ColumnQueryPagination (jakarta.nosql.mapping.column.ColumnQueryPagination)1 ColumnTemplate (jakarta.nosql.mapping.column.ColumnTemplate)1 PersonRepository (jakarta.nosql.tck.entities.PersonRepository)1 Config (org.eclipse.microprofile.config.Config)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1