Uses of Class
io.trino.metadata.InternalNode
Packages that use InternalNode
Package
Description
-
Uses of InternalNode in io.trino.execution
Methods in io.trino.execution with parameters of type InternalNodeModifier and TypeMethodDescriptionvoidNodeTaskMap.addTask(InternalNode node, RemoteTask task) LocationFactory.createMemoryInfoLocation(InternalNode node) NodeTaskMap.createPartitionedSplitCountTracker(InternalNode node, TaskId taskId) MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) RemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) SqlStage.createTask(InternalNode node, int partition, int attempt, Optional<int[]> bucketToPartition, OutputBuffers outputBuffers, com.google.common.collect.Multimap<PlanNodeId, Split> splits, com.google.common.collect.Multimap<PlanNodeId, Lifespan> noMoreSplitsForLifespan, Set<PlanNodeId> noMoreSplits) LocationFactory.createTaskLocation(InternalNode node, TaskId taskId) NodeTaskMap.getPartitionedSplitsOnNode(InternalNode node) -
Uses of InternalNode in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return InternalNodeModifier and TypeMethodDescriptionFixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy.getNodeForBucket(int bucketId) NodeSelector.selectCurrentNode()TopologyAwareNodeSelector.selectCurrentNode()UniformNodeSelector.selectCurrentNode()Methods in io.trino.execution.scheduler that return types with arguments of type InternalNodeModifier and TypeMethodDescriptionDynamicSplitPlacementPolicy.allNodes()FixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy.allNodes()NodeSelector.allNodes()SplitPlacementPolicy.allNodes()TopologyAwareNodeSelector.allNodes()UniformNodeSelector.allNodes()static List<InternalNode>NodeScheduler.getAllNodes(NodeMap nodeMap, boolean includeCoordinator) abstract Optional<InternalNode>BucketNodeMap.getAssignedNode(int bucketedId) final Optional<InternalNode>BucketNodeMap.getAssignedNode(Split split) 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()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) NodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) TopologyAwareNodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) UniformNodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) Methods in io.trino.execution.scheduler with parameters of type InternalNodeModifier and TypeMethodDescriptionvoidNodeAssignmentStats.addAssignedSplit(InternalNode node, SplitWeight splitWeight) abstract voidBucketNodeMap.assignBucketToNode(int bucketedId, InternalNode node) voidFixedBucketNodeMap.assignBucketToNode(int bucketedId, InternalNode node) longNodeAssignmentStats.getQueuedSplitsWeightForStage(InternalNode node) longNodeAssignmentStats.getTotalSplitsWeight(InternalNode node) intNodeAssignmentStats.getUnacknowledgedSplitCountForStage(InternalNode node) static SplitUniformNodeSelector.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, SplitWeight splitWeight) FixedCountScheduler.TaskScheduler.scheduleTask(InternalNode node, int partition) PipelinedStageExecution.scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, com.google.common.collect.Multimap<PlanNodeId, Lifespan> noMoreSplitsForLifespan) StageExecution.scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, com.google.common.collect.Multimap<PlanNodeId, Lifespan> noMoreSplitsForLifespan) Method parameters in io.trino.execution.scheduler with type arguments of type InternalNodeModifier and TypeMethodDescriptionstatic SourceSchedulerSourcePartitionedScheduler.newSourcePartitionedSchedulerAsSourceScheduler(StageExecution stageExecution, PlanNodeId partitionedNode, SplitSource splitSource, SplitPlacementPolicy splitPlacementPolicy, int splitBatchSize, boolean groupedExecution, DynamicFilterService dynamicFilterService, TableExecuteContextManager tableExecuteContextManager, BooleanSupplier anySourceTaskBlocked, PartitionIdAllocator partitionIdAllocator, Map<InternalNode, RemoteTask> scheduledTasks) Obtains aSourceSchedulersuitable for use in FixedSourcePartitionedScheduler.NodeScheduler.randomizedNodes(NodeMap nodeMap, boolean includeCoordinator, Set<InternalNode> excludedNodes) static SplitUniformNodeSelector.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 SplitUniformNodeSelector.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) NodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) TopologyAwareNodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) UniformNodeSelector.selectRandomNodes(int limit, Set<InternalNode> excludedNodes) static com.google.common.util.concurrent.ListenableFuture<Void>NodeScheduler.toWhenHasSplitQueueSpaceFuture(Set<InternalNode> blockedNodes, List<RemoteTask> existingTasks, long weightSpaceThreshold) Constructor parameters in io.trino.execution.scheduler with type arguments of type InternalNodeModifierConstructorDescriptionBucketedSplitPlacementPolicy(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(StageExecution stageExecution, 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<Void> 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 InternalNodeMethods in io.trino.execution.scheduler.group with parameters of type InternalNodeModifier and TypeMethodDescriptionvoidDynamicBucketNodeMap.assignBucketToNode(int bucketedId, InternalNode node) Constructor parameters in io.trino.execution.scheduler.group with type arguments of type InternalNodeModifierConstructorDescriptionDynamicLifespanScheduler(BucketNodeMap bucketNodeMap, List<InternalNode> allNodes, List<ConnectorPartitionHandle> partitionHandles, OptionalInt concurrentLifespansPerTask) -
Uses of InternalNode in io.trino.memory
Methods in io.trino.memory that return InternalNodeConstructors in io.trino.memory with parameters of type InternalNodeModifierConstructorDescriptionRemoteNodeMemory(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 InternalNodeModifier and TypeMethodDescriptionDiscoveryNodeManager.getCurrentNode()InMemoryNodeManager.getCurrentNode()InternalNodeManager.getCurrentNode()Methods in io.trino.metadata that return types with arguments of type InternalNodeModifier and TypeMethodDescriptionDiscoveryNodeManager.getActiveConnectorNodes(CatalogName catalogName) InMemoryNodeManager.getActiveConnectorNodes(CatalogName catalogName) InternalNodeManager.getActiveConnectorNodes(CatalogName catalogName) AllNodes.getActiveCoordinators()AllNodes.getActiveNodes()DiscoveryNodeManager.getCoordinators()InMemoryNodeManager.getCoordinators()InternalNodeManager.getCoordinators()AllNodes.getInactiveNodes()AllNodes.getShuttingDownNodes()Methods in io.trino.metadata with parameters of type InternalNodeModifier and TypeMethodDescriptionvoidInMemoryNodeManager.addNode(CatalogName catalogName, InternalNode... nodes) Method parameters in io.trino.metadata with type arguments of type InternalNodeModifier and TypeMethodDescriptionvoidInMemoryNodeManager.addNode(CatalogName catalogName, Iterable<InternalNode> nodes) Constructor parameters in io.trino.metadata with type arguments of type InternalNodeModifierConstructorDescriptionAllNodes(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 InternalNodeModifier and TypeMethodDescriptionHttpRemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) -
Uses of InternalNode in io.trino.server.remotetask
Methods in io.trino.server.remotetask with parameters of type InternalNodeModifier and TypeMethodDescriptionHttpLocationFactory.createMemoryInfoLocation(InternalNode node) HttpLocationFactory.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 InternalNodeModifier and TypeMethodDescriptionTestingTrinoServer.getActiveNodesWithConnector(CatalogName catalogName) -
Uses of InternalNode in io.trino.sql.planner
Methods in io.trino.sql.planner that return InternalNodeMethods in io.trino.sql.planner that return types with arguments of type InternalNodeConstructor parameters in io.trino.sql.planner with type arguments of type InternalNodeModifierConstructorDescriptionNodePartitionMap(List<InternalNode> partitionToNode, int[] bucketToPartition, ToIntFunction<Split> splitToBucket) NodePartitionMap(List<InternalNode> partitionToNode, ToIntFunction<Split> splitToBucket)