Uses of Class
io.trino.metadata.InternalNode
-
-
Uses of InternalNode in io.trino.execution
Methods in io.trino.execution that return types with arguments of type InternalNode Modifier and Type Method Description Set<InternalNode>SqlStageExecution. getScheduledNodes()Methods in io.trino.execution with parameters of type InternalNode Modifier and Type Method Description voidNodeTaskMap. addTask(InternalNode node, RemoteTask task)URILocationFactory. createMemoryInfoLocation(InternalNode node)NodeTaskMap.PartitionedSplitCountTrackerNodeTaskMap. createPartitionedSplitCountTracker(InternalNode node, TaskId taskId)RemoteTaskMemoryTrackingRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OptionalInt totalPartitions, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, boolean summarizeTaskInfo)RemoteTaskRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OptionalInt totalPartitions, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, boolean summarizeTaskInfo)URILocationFactory. createTaskLocation(InternalNode node, TaskId taskId)intNodeTaskMap. getPartitionedSplitsOnNode(InternalNode node)Set<RemoteTask>SqlStageExecution. scheduleSplits(InternalNode node, com.google.common.collect.Multimap<PlanNodeId,Split> splits, com.google.common.collect.Multimap<PlanNodeId,Lifespan> noMoreSplitsNotification)Optional<RemoteTask>SqlStageExecution. scheduleTask(InternalNode node, int partition, OptionalInt totalPartitions) -
Uses of InternalNode in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return InternalNode Modifier and Type Method Description InternalNodeFixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy. getNodeForBucket(int bucketId)InternalNodeNodeSelector. selectCurrentNode()InternalNodeTopologyAwareNodeSelector. selectCurrentNode()InternalNodeUniformNodeSelector. selectCurrentNode()Methods in io.trino.execution.scheduler that return types with arguments of type InternalNode Modifier and Type Method Description List<InternalNode>DynamicSplitPlacementPolicy. allNodes()List<InternalNode>FixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy. allNodes()List<InternalNode>NodeSelector. allNodes()List<InternalNode>SplitPlacementPolicy. allNodes()List<InternalNode>TopologyAwareNodeSelector. allNodes()List<InternalNode>UniformNodeSelector. allNodes()static List<InternalNode>NodeScheduler. getAllNodes(NodeMap nodeMap, boolean includeCoordinator)abstract Optional<InternalNode>BucketNodeMap. getAssignedNode(int bucketedId)Optional<InternalNode>BucketNodeMap. getAssignedNode(Split split)Optional<InternalNode>FixedBucketNodeMap. getAssignedNode(int bucketedId)com.google.common.collect.Multimap<InternalNode,Split>SplitPlacementResult. getAssignments()com.google.common.collect.SetMultimap<InetAddress,InternalNode>NodeMap. getNodesByHost()com.google.common.collect.SetMultimap<HostAddress,InternalNode>NodeMap. getNodesByHostAndPort()com.google.common.collect.SetMultimap<NetworkLocation,InternalNode>NodeMap. getWorkersByNetworkPath()static ResettableRandomizedIterator<InternalNode>NodeScheduler. randomizedNodes(NodeMap nodeMap, boolean includeCoordinator, Set<InternalNode> excludedNodes)static List<InternalNode>NodeScheduler. selectExactNodes(NodeMap nodeMap, List<HostAddress> hosts, boolean includeCoordinator)static List<InternalNode>NodeScheduler. selectNodes(int limit, Iterator<InternalNode> candidates)default List<InternalNode>NodeSelector. selectRandomNodes(int limit)List<InternalNode>NodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)List<InternalNode>TopologyAwareNodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)List<InternalNode>UniformNodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)Methods in io.trino.execution.scheduler with parameters of type InternalNode Modifier and Type Method Description voidNodeAssignmentStats. addAssignedSplit(InternalNode node)abstract voidBucketNodeMap. assignBucketToNode(int bucketedId, InternalNode node)voidFixedBucketNodeMap. assignBucketToNode(int bucketedId, InternalNode node)intNodeAssignmentStats. getQueuedSplitCountForStage(InternalNode node)intNodeAssignmentStats. getTotalSplitCount(InternalNode node)intNodeAssignmentStats. getUnacknowledgedSplitCountForStage(InternalNode node)static voidUniformNodeSelector. redistributeSplit(com.google.common.collect.Multimap<InternalNode,Split> assignment, InternalNode fromNode, InternalNode toNode, com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost)The method selects and removes a split from the fromNode and assigns it to the toNode.voidNodeAssignmentStats. removeAssignedSplit(InternalNode node)Optional<RemoteTask>FixedCountScheduler.TaskScheduler. scheduleTask(InternalNode node, int partition, OptionalInt totalPartitions)Method parameters in io.trino.execution.scheduler with type arguments of type InternalNode Modifier and Type Method Description static ResettableRandomizedIterator<InternalNode>NodeScheduler. randomizedNodes(NodeMap nodeMap, boolean includeCoordinator, Set<InternalNode> excludedNodes)static voidUniformNodeSelector. redistributeSplit(com.google.common.collect.Multimap<InternalNode,Split> assignment, InternalNode fromNode, InternalNode toNode, com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost)The method selects and removes a split from the fromNode and assigns it to the toNode.static voidUniformNodeSelector. redistributeSplit(com.google.common.collect.Multimap<InternalNode,Split> assignment, InternalNode fromNode, InternalNode toNode, com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost)The method selects and removes a split from the fromNode and assigns it to the toNode.static List<InternalNode>NodeScheduler. selectNodes(int limit, Iterator<InternalNode> candidates)List<InternalNode>NodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)List<InternalNode>TopologyAwareNodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)List<InternalNode>UniformNodeSelector. selectRandomNodes(int limit, Set<InternalNode> excludedNodes)static com.google.common.util.concurrent.ListenableFuture<?>NodeScheduler. toWhenHasSplitQueueSpaceFuture(Set<InternalNode> blockedNodes, List<RemoteTask> existingTasks, int spaceThreshold)Constructor parameters in io.trino.execution.scheduler with type arguments of type InternalNode Constructor Description BucketedSplitPlacementPolicy(NodeSelector nodeSelector, List<InternalNode> allNodes, BucketNodeMap bucketNodeMap, Supplier<? extends List<RemoteTask>> remoteTasks)FixedBucketNodeMap(ToIntFunction<Split> splitToBucket, List<InternalNode> bucketToNode)FixedCountScheduler(FixedCountScheduler.TaskScheduler taskScheduler, List<InternalNode> partitionToNode)FixedCountScheduler(SqlStageExecution stage, List<InternalNode> partitionToNode)NodeMap(com.google.common.collect.SetMultimap<HostAddress,InternalNode> nodesByHostAndPort, com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost, com.google.common.collect.SetMultimap<NetworkLocation,InternalNode> workersByNetworkPath, Set<String> coordinatorNodeIds)SplitPlacementResult(com.google.common.util.concurrent.ListenableFuture<?> blocked, com.google.common.collect.Multimap<InternalNode,Split> assignments) -
Uses of InternalNode in io.trino.execution.scheduler.group
Methods in io.trino.execution.scheduler.group that return types with arguments of type InternalNode Modifier and Type Method Description Optional<InternalNode>DynamicBucketNodeMap. getAssignedNode(int bucketedId)Methods in io.trino.execution.scheduler.group with parameters of type InternalNode Modifier and Type Method Description voidDynamicBucketNodeMap. assignBucketToNode(int bucketedId, InternalNode node)Constructor parameters in io.trino.execution.scheduler.group with type arguments of type InternalNode Constructor Description DynamicLifespanScheduler(BucketNodeMap bucketNodeMap, List<InternalNode> allNodes, List<ConnectorPartitionHandle> partitionHandles, OptionalInt concurrentLifespansPerTask) -
Uses of InternalNode in io.trino.memory
Methods in io.trino.memory that return InternalNode Modifier and Type Method Description InternalNodeRemoteNodeMemory. getNode()Constructors in io.trino.memory with parameters of type InternalNode Constructor Description RemoteNodeMemory(InternalNode node, io.airlift.http.client.HttpClient httpClient, io.airlift.json.JsonCodec<MemoryInfo> memoryInfoCodec, io.airlift.json.JsonCodec<MemoryPoolAssignmentsRequest> assignmentsRequestJsonCodec, URI memoryInfoUri) -
Uses of InternalNode in io.trino.metadata
Methods in io.trino.metadata that return InternalNode Modifier and Type Method Description InternalNodeDiscoveryNodeManager. getCurrentNode()InternalNodeInMemoryNodeManager. getCurrentNode()InternalNodeInternalNodeManager. getCurrentNode()Methods in io.trino.metadata that return types with arguments of type InternalNode Modifier and Type Method Description Set<InternalNode>DiscoveryNodeManager. getActiveConnectorNodes(CatalogName catalogName)Set<InternalNode>InMemoryNodeManager. getActiveConnectorNodes(CatalogName catalogName)Set<InternalNode>InternalNodeManager. getActiveConnectorNodes(CatalogName catalogName)Set<InternalNode>AllNodes. getActiveCoordinators()Set<InternalNode>AllNodes. getActiveNodes()Set<InternalNode>DiscoveryNodeManager. getCoordinators()Set<InternalNode>InMemoryNodeManager. getCoordinators()Set<InternalNode>InternalNodeManager. getCoordinators()Set<InternalNode>AllNodes. getInactiveNodes()Set<InternalNode>DiscoveryNodeManager. getNodes(NodeState state)Set<InternalNode>InMemoryNodeManager. getNodes(NodeState state)Set<InternalNode>InternalNodeManager. getNodes(NodeState state)Set<InternalNode>AllNodes. getShuttingDownNodes()Methods in io.trino.metadata with parameters of type InternalNode Modifier and Type Method Description voidInMemoryNodeManager. addNode(CatalogName catalogName, InternalNode... nodes)Method parameters in io.trino.metadata with type arguments of type InternalNode Modifier and Type Method Description voidInMemoryNodeManager. addNode(CatalogName catalogName, Iterable<InternalNode> nodes)Constructor parameters in io.trino.metadata with type arguments of type InternalNode Constructor Description AllNodes(Set<InternalNode> activeNodes, Set<InternalNode> inactiveNodes, Set<InternalNode> shuttingDownNodes, Set<InternalNode> activeCoordinators) -
Uses of InternalNode in io.trino.server
Methods in io.trino.server with parameters of type InternalNode Modifier and Type Method Description RemoteTaskHttpRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OptionalInt totalPartitions, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, boolean summarizeTaskInfo) -
Uses of InternalNode in io.trino.server.remotetask
Methods in io.trino.server.remotetask with parameters of type InternalNode Modifier and Type Method Description URIHttpLocationFactory. createMemoryInfoLocation(InternalNode node)URIHttpLocationFactory. createTaskLocation(InternalNode node, TaskId taskId) -
Uses of InternalNode in io.trino.server.testing
Methods in io.trino.server.testing that return types with arguments of type InternalNode Modifier and Type Method Description Set<InternalNode>TestingTrinoServer. getActiveNodesWithConnector(CatalogName catalogName) -
Uses of InternalNode in io.trino.sql.planner
Methods in io.trino.sql.planner that return InternalNode Modifier and Type Method Description InternalNodeNodePartitionMap. getNode(Split split)Methods in io.trino.sql.planner that return types with arguments of type InternalNode Modifier and Type Method Description List<InternalNode>NodePartitionMap. getPartitionToNode()Constructor parameters in io.trino.sql.planner with type arguments of type InternalNode Constructor Description NodePartitionMap(List<InternalNode> partitionToNode, int[] bucketToPartition, ToIntFunction<Split> splitToBucket)NodePartitionMap(List<InternalNode> partitionToNode, ToIntFunction<Split> splitToBucket)
-