java.lang.Object
com.pervasive.datarush.cal.NodeInformationMapping
- All Implemented Interfaces:
Serializable
Contains host information associated with the nodes in the cluster that the
current job is running on. Note that the information in this mapping is
captured at the time the job is submitted and so contains host information
for those nodes that are used by the job.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic NodeInformationMappingAny empty mapping that is used in the pseudo-distributed case -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHostName(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.Returns the list of node information in this mapgetNodeInformation(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.
-
Field Details
-
PSEUDO_DISTRIBUTED
Any empty mapping that is used in the pseudo-distributed case
-
-
Constructor Details
-
NodeInformationMapping
-
-
Method Details
-
getNodeInformation
Returns the list of node information in this map- Returns:
- the list of node information
-
getNodeInformation
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.- Parameters:
nodeID- the nodeID- Returns:
- the node information
-
getHostName
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.- Parameters:
nodeID- the nodeID- Returns:
- the host name
-