Package io.trino.server.remotetask
Class HttpLocationFactory
- java.lang.Object
-
- io.trino.server.remotetask.HttpLocationFactory
-
- All Implemented Interfaces:
LocationFactory
public class HttpLocationFactory extends Object implements LocationFactory
-
-
Constructor Summary
Constructors Constructor Description HttpLocationFactory(InternalNodeManager nodeManager, io.airlift.http.server.HttpServerInfo httpServerInfo, InternalCommunicationConfig config)HttpLocationFactory(InternalNodeManager nodeManager, URI baseUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIcreateLocalTaskLocation(TaskId taskId)URIcreateMemoryInfoLocation(InternalNode node)URIcreateQueryLocation(QueryId queryId)URIcreateTaskLocation(InternalNode node, TaskId taskId)
-
-
-
Constructor Detail
-
HttpLocationFactory
@Inject public HttpLocationFactory(InternalNodeManager nodeManager, io.airlift.http.server.HttpServerInfo httpServerInfo, InternalCommunicationConfig config)
-
HttpLocationFactory
public HttpLocationFactory(InternalNodeManager nodeManager, URI baseUri)
-
-
Method Detail
-
createQueryLocation
public URI createQueryLocation(QueryId queryId)
- Specified by:
createQueryLocationin interfaceLocationFactory
-
createLocalTaskLocation
public URI createLocalTaskLocation(TaskId taskId)
- Specified by:
createLocalTaskLocationin interfaceLocationFactory
-
createTaskLocation
public URI createTaskLocation(InternalNode node, TaskId taskId)
- Specified by:
createTaskLocationin interfaceLocationFactory
-
createMemoryInfoLocation
public URI createMemoryInfoLocation(InternalNode node)
- Specified by:
createMemoryInfoLocationin interfaceLocationFactory
-
-