class TeiidVirtualDataSourceQueryServiceImpl extends AbstractVirtualDataSourceQueryServiceImpl implements CacheManager, InitializingBean {

    protected boolean isSelectedSchema(String schemaName, com.jaspersoft.jasperserver.api.common.virtualdatasourcequery.DataSource reportDataSource) {
        Set<String> schemaSet = getSchemaSet(reportDataSource);
        if (schemaSet == null || schemaSet.isEmpty()) {
            return true;
        }
        return schemaSet.contains(schemaName);
    }

}