@RestController
@RequestMapping(value="/v1/{tenant}/sql")
@ConditionalOnBean(value=PunchlineResourcesService.class)
public class SparkSqlRoute
extends Object
| Constructor and Description |
|---|
SparkSqlRoute(SparkSQLService sparkSQLService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> |
execute(javax.servlet.http.HttpServletRequest req,
String tenant,
org.springframework.web.multipart.MultipartFile input,
String sql,
String type) |
public SparkSqlRoute(SparkSQLService sparkSQLService)
@PostMapping
public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> execute(javax.servlet.http.HttpServletRequest req,
@PathVariable
String tenant,
@RequestPart
org.springframework.web.multipart.MultipartFile input,
@RequestPart
String sql,
@RequestPart
String type)
throws IOException,
InterruptedException,
org.thales.punch.libraries.template.exceptions.TemplateNotFoundException
IOExceptionInterruptedExceptionorg.thales.punch.libraries.template.exceptions.TemplateNotFoundExceptionCopyright © 2023. All rights reserved.