public class SparqlExportManager extends Object
| Constructor and Description |
|---|
SparqlExportManager(org.springframework.batch.core.explore.JobExplorer jobExplorer,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.Job job) |
| Modifier and Type | Method and Description |
|---|---|
static SparqlExportManager |
createTestInstance() |
InputStream |
getTargetInputStream(long jobExecutionId) |
org.springframework.batch.core.JobExecution |
launchSparqlExport(String serviceUri,
Collection<String> defaultGraphUris,
String queryString,
String targetResource) |
public SparqlExportManager(org.springframework.batch.core.explore.JobExplorer jobExplorer,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.Job job)
public org.springframework.batch.core.JobExecution launchSparqlExport(String serviceUri, Collection<String> defaultGraphUris, String queryString, String targetResource) throws org.springframework.batch.core.repository.JobExecutionAlreadyRunningException, org.springframework.batch.core.repository.JobRestartException, org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException, org.springframework.batch.core.JobParametersInvalidException
org.springframework.batch.core.repository.JobExecutionAlreadyRunningExceptionorg.springframework.batch.core.repository.JobRestartExceptionorg.springframework.batch.core.repository.JobInstanceAlreadyCompleteExceptionorg.springframework.batch.core.JobParametersInvalidExceptionpublic InputStream getTargetInputStream(long jobExecutionId) throws FileNotFoundException
FileNotFoundExceptionpublic static SparqlExportManager createTestInstance()
Copyright © 2014. All rights reserved.