Search in sources :

Example 1 with SelectQueryProvider

use of jakarta.nosql.query.SelectQuery.SelectQueryProvider in project jnosql-diana by eclipse.

the class SelectQueryProviderTest method shouldGetSupplier.

@Test
public void shouldGetSupplier() {
    SelectQueryProvider provider = ServiceLoaderProvider.get(SelectQueryProvider.class);
    Assertions.assertNotNull(provider);
    Assertions.assertTrue(provider instanceof CachedSelectQueryProvider);
}
Also used : CachedSelectQueryProvider(org.eclipse.jnosql.communication.query.cache.CachedSelectQueryProvider) SelectQueryProvider(jakarta.nosql.query.SelectQuery.SelectQueryProvider) CachedSelectQueryProvider(org.eclipse.jnosql.communication.query.cache.CachedSelectQueryProvider) Test(org.junit.jupiter.api.Test)

Aggregations

SelectQueryProvider (jakarta.nosql.query.SelectQuery.SelectQueryProvider)1 CachedSelectQueryProvider (org.eclipse.jnosql.communication.query.cache.CachedSelectQueryProvider)1 Test (org.junit.jupiter.api.Test)1