| Package | Description |
|---|---|
| com.facebook.presto.spi |
| Modifier and Type | Method and Description |
|---|---|
static HostAddress |
HostAddress.fromParts(String host,
int port)
Build a HostAddress instance from separate host and port values.
|
static HostAddress |
HostAddress.fromString(String hostPortString)
Split a freeform string into a host and port, without strict validation.
|
static HostAddress |
HostAddress.fromUri(URI httpUri) |
HostAddress |
Node.getHostAndPort() |
HostAddress |
PrestoTransportException.getRemoteHost() |
HostAddress |
HostAddress.withDefaultPort(int defaultPort)
Provide a default port if the parsed string contained only a host.
|
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
NodeProvider.get(String identifier,
int count) |
List<HostAddress> |
ConnectorSplit.getPreferredNodes(NodeProvider nodeProvider)
Provide a list of preferred nodes for scheduler to pick.
|
| Constructor and Description |
|---|
PrestoTransportException(ErrorCodeSupplier errorCode,
HostAddress remoteHost,
String message) |
PrestoTransportException(ErrorCodeSupplier errorCodeSupplier,
HostAddress remoteHost,
String message,
Throwable cause) |
Copyright © 2012–2022. All rights reserved.