@Service @ConditionalOnBean(value=PunchlineExecuteService.class) public class SparkSQLService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SPARKSQL_TEMPLATE |
Constructor and Description |
---|
SparkSQLService(PunchlineExecuteService punchlineService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody |
executeSparkSql(String tenant,
org.springframework.web.multipart.MultipartFile input,
String sql,
String type) |
public static final String SPARKSQL_TEMPLATE
public SparkSQLService(PunchlineExecuteService punchlineService)
public org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody executeSparkSql(String tenant, org.springframework.web.multipart.MultipartFile input, String sql, String type) throws IOException, InterruptedException, org.thales.punch.libraries.template.exceptions.TemplateNotFoundException
IOException
InterruptedException
org.thales.punch.libraries.template.exceptions.TemplateNotFoundException
Copyright © 2023. All rights reserved.