Package io.trino.metadata
Class InternalNode
java.lang.Object
io.trino.metadata.InternalNode
- All Implemented Interfaces:
Node
A node is a server in a cluster than can process queries.
-
Constructor Summary
ConstructorsConstructorDescriptionInternalNode(String nodeIdentifier, URI internalUri, NodeVersion nodeVersion, boolean coordinator) -
Method Summary
-
Constructor Details
-
InternalNode
public InternalNode(String nodeIdentifier, URI internalUri, NodeVersion nodeVersion, boolean coordinator)
-
-
Method Details
-
getNodeIdentifier
- Specified by:
getNodeIdentifierin interfaceNode
-
getHost
-
getInternalUri
-
getInternalAddress
- Throws:
UnknownHostException
-
getHostAndPort
- Specified by:
getHostAndPortin interfaceNode
-
getVersion
- Specified by:
getVersionin interfaceNode
-
isCoordinator
public boolean isCoordinator()- Specified by:
isCoordinatorin interfaceNode
-
getNodeVersion
-
equals
-
hashCode
public int hashCode() -
toString
-