public final class NodeInformationMapping extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static NodeInformationMapping |
PSEUDO_DISTRIBUTED
Any empty mapping that is used in the pseudo-distributed case
|
Constructor and Description |
---|
NodeInformationMapping(List<NodeInformation> nodeInformation) |
Modifier and Type | Method and Description |
---|---|
String |
getHostName(String nodeID)
Returns the host name for the given nodeID or null if the nodeID either doesn't exist or is not a node
used by this job.
|
List<NodeInformation> |
getNodeInformation()
Returns the list of node information in this map
|
NodeInformation |
getNodeInformation(String nodeID)
Returns the node information for the given nodeID or null if the nodeID either doesn't exist or is not a node
used by this job.
|
public static NodeInformationMapping PSEUDO_DISTRIBUTED
public NodeInformationMapping(List<NodeInformation> nodeInformation)
public List<NodeInformation> getNodeInformation()
public NodeInformation getNodeInformation(String nodeID)
nodeID
- the nodeIDCopyright © 2024 Actian Corporation. All rights reserved.