presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/util/DaoSupplier.java/DaoSupplier/DaoSupplier
class DaoSupplier:    public <X extends T> DaoSupplier(IDBI dbi, Class<X> type)
    {
        requireNonNull(dbi, "dbi is null");
        requireNonNull(type, "type is null");
        this.type = type;
        this.dao = onDemandDao(dbi, type);
    }