Package io.prestosql.metadata
Class InternalNode
- java.lang.Object
-
- io.prestosql.metadata.InternalNode
-
-
Constructor Summary
Constructors Constructor Description InternalNode(String nodeIdentifier, URI internalUri, NodeVersion nodeVersion, boolean coordinator)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getHost()
HostAddress
getHostAndPort()
URI
getHttpUri()
Deprecated.URI
getInternalUri()
String
getNodeIdentifier()
NodeVersion
getNodeVersion()
String
getVersion()
int
hashCode()
boolean
isCoordinator()
String
toString()
-
-
-
Constructor Detail
-
InternalNode
public InternalNode(String nodeIdentifier, URI internalUri, NodeVersion nodeVersion, boolean coordinator)
-
-
Method Detail
-
getNodeIdentifier
public String getNodeIdentifier()
- Specified by:
getNodeIdentifier
in interfaceNode
-
getHttpUri
@Deprecated public URI getHttpUri()
Deprecated.- Specified by:
getHttpUri
in interfaceNode
-
getInternalUri
public URI getInternalUri()
-
getHostAndPort
public HostAddress getHostAndPort()
- Specified by:
getHostAndPort
in interfaceNode
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceNode
-
isCoordinator
public boolean isCoordinator()
- Specified by:
isCoordinator
in interfaceNode
-
getNodeVersion
public NodeVersion getNodeVersion()
-
-