@Component
@ConditionalOnProperty(value="openaire.exporter.enable.project",
havingValue="true")
public class JdbcApiDaoImpl
extends Object
implements JdbcApiDao
| Constructor and Description |
|---|
JdbcApiDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
dropCache() |
void |
processProjectDetails(OutputStream outputStream,
String format,
Boolean compress) |
void |
processTsvRequest(ZipOutputStream out,
Boolean article293,
String fundingPrefix,
String filename) |
Map<String,String> |
readFundingpathIds() |
void |
streamProjects(String sql,
OutputStream out,
String head,
org.antlr.stringtemplate.StringTemplate projectTemplate,
String tail,
ValueCleaner cleaner) |
public static final Charset UTF8
@Cacheable(value="fundingpath-ids") public Map<String,String> readFundingpathIds()
readFundingpathIds in interface JdbcApiDaopublic void processProjectDetails(OutputStream outputStream, String format, Boolean compress) throws IOException
processProjectDetails in interface JdbcApiDaoIOExceptionpublic void processTsvRequest(ZipOutputStream out, Boolean article293, String fundingPrefix, String filename) throws IOException
processTsvRequest in interface JdbcApiDaoIOExceptionpublic void streamProjects(String sql, OutputStream out, String head, org.antlr.stringtemplate.StringTemplate projectTemplate, String tail, ValueCleaner cleaner) throws IOException, SQLException
streamProjects in interface JdbcApiDaoIOExceptionSQLException@CacheEvict(cacheNames="fundingpath-ids",
allEntries=true)
@Scheduled(fixedDelayString="${openaire.exporter.cache.ttl}")
public void dropCache()
dropCache in interface JdbcApiDaoCopyright © 2025. All rights reserved.