Class SegmentResource

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

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

  • Method Details

    • download

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

      @DELETE @ResourceSecurity(PUBLIC) public jakarta.ws.rs.core.Response acknowledge(@PathParam("identifier") String identifier, @Context jakarta.ws.rs.core.HttpHeaders headers) throws IOException
      Throws:
      IOException
    • spooledSegmentUriBuilder

      public static jakarta.ws.rs.core.UriBuilder spooledSegmentUriBuilder(ExternalUriInfo info)
    • nextActiveNode

      public HostAddress nextActiveNode()