Class WorkerSegmentResource

java.lang.Object
io.trino.server.protocol.spooling.WorkerSegmentResource

@Path("/v1/spooled/download/{identifier}") @ResourceSecurity(PUBLIC) public class WorkerSegmentResource extends Object
  • Constructor Details

    • WorkerSegmentResource

      @Inject public WorkerSegmentResource(io.trino.spi.protocol.SpoolingManager spoolingManager)
  • Method Details

    • download

      @GET @Produces("application/octet-stream") @ResourceSecurity(PUBLIC) public jakarta.ws.rs.core.Response download(@PathParam("identifier") String identifier, @Context jakarta.ws.rs.core.HttpHeaders headers) throws IOException
      Throws:
      IOException