com.tvd12.ezydata.database.EzyDatabaseContext Maven / Gradle / Ivy
package com.tvd12.ezydata.database;
import com.tvd12.ezydata.database.query.EzyQueryEntity;
import com.tvd12.ezyfox.util.EzyCloseable;
import java.util.List;
import java.util.Map;
@SuppressWarnings("rawtypes")
public interface EzyDatabaseContext extends EzyCloseable {
T getRepository(String name);
T getRepository(Class repoType);
Map getRepositories();
Map getRepositoriesByName();
EzyQueryEntity getQuery(String queryName);
Object deserializeResult(Object result, Class> resultType);
List deserializeResultList(Object result, Class> resultItemType);
@Override
default void close() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy