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, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) RemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) SqlStage.createTask(InternalNode node, int partition, int attempt, Optional<int[]> bucketToPartition, OutputBuffers outputBuffers, com.google.common.collect.Multimap<PlanNodeId, Split> splits, Set<PlanNodeId> noMoreSplits, Optional<io.airlift.units.DataSize> estimatedMemory, boolean speculative) 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 TypeMethodDescriptionBucketNodeMap.getAssignedNode(int bucketId) BucketNodeMap.getAssignedNode(Split split) 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.filterNodes(NodeMap nodeMap, boolean includeCoordinator, Set<InternalNode> excludedNodes) static List<InternalNode> NodeScheduler.getAllNodes(NodeMap nodeMap, boolean includeCoordinator) 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) 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) StageExecution.scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits) Method parameters in io.trino.execution.scheduler with type arguments of type InternalNodeModifier and TypeMethodDescriptionstatic List<InternalNode> NodeScheduler.filterNodes(NodeMap nodeMap, boolean includeCoordinator, Set<InternalNode> excludedNodes) static SourceSchedulerSourcePartitionedScheduler.newSourcePartitionedSchedulerAsSourceScheduler(StageExecution stageExecution, PlanNodeId partitionedNode, SplitSource splitSource, SplitPlacementPolicy splitPlacementPolicy, int splitBatchSize, 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) BucketNodeMap(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.faulttolerant
Methods in io.trino.execution.scheduler.faulttolerant that return types with arguments of type InternalNodeModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<InternalNode> NodeAllocator.NodeLease.getNode()FaultTolerantPartitioningScheme.getNodeRequirement(int partition) FaultTolerantPartitioningScheme.getPartitionToNodeMap() -
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, 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.getActiveCatalogNodes(CatalogHandle catalogHandle) InMemoryNodeManager.getActiveCatalogNodes(CatalogHandle catalogHandle) InternalNodeManager.getActiveCatalogNodes(CatalogHandle catalogHandle) AllNodes.getActiveCoordinators()AllNodes.getActiveNodes()InternalNodeManager.NodesSnapshot.getAllNodes()InternalNodeManager.NodesSnapshot.getConnectorNodes(CatalogHandle catalogHandle) DiscoveryNodeManager.getCoordinators()InMemoryNodeManager.getCoordinators()InternalNodeManager.getCoordinators()AllNodes.getInactiveNodes()AllNodes.getShuttingDownNodes()Methods in io.trino.metadata with parameters of type InternalNodeModifier and TypeMethodDescriptionvoidInMemoryNodeManager.addNodes(InternalNode... internalNodes) voidInMemoryNodeManager.removeNode(InternalNode internalNode) Constructors in io.trino.metadata with parameters of type InternalNodeConstructor parameters in io.trino.metadata with type arguments of type InternalNodeModifierConstructorDescriptionAllNodes(Set<InternalNode> activeNodes, Set<InternalNode> inactiveNodes, Set<InternalNode> shuttingDownNodes, Set<InternalNode> activeCoordinators) InMemoryNodeManager(Set<InternalNode> remoteNodes) NodesSnapshot(Set<InternalNode> allActiveNodes, Optional<com.google.common.collect.SetMultimap<CatalogHandle, InternalNode>> activeNodesByCatalogName) NodesSnapshot(Set<InternalNode> allActiveNodes, Optional<com.google.common.collect.SetMultimap<CatalogHandle, InternalNode>> activeNodesByCatalogName) -
Uses of InternalNode in io.trino.server
Methods in io.trino.server with parameters of type InternalNodeModifier and TypeMethodDescriptionHttpRemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, 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) Constructors in io.trino.server.remotetask with parameters of type InternalNodeModifierConstructorDescriptionHttpRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, URI location, PlanFragment planFragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, io.airlift.http.client.HttpClient httpClient, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, io.airlift.units.Duration maxErrorDuration, io.airlift.units.Duration taskStatusRefreshMaxWait, io.airlift.units.Duration taskInfoUpdateInterval, io.airlift.units.Duration taskTerminationTimeout, boolean summarizeTaskInfo, io.airlift.json.JsonCodec<TaskStatus> taskStatusCodec, io.airlift.json.JsonCodec<DynamicFiltersCollector.VersionedDynamicFilterDomains> dynamicFilterDomainsCodec, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.json.JsonCodec<TaskUpdateRequest> taskUpdateRequestCodec, io.airlift.json.JsonCodec<FailTaskRequest> failTaskRequestCodec, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, io.opentelemetry.api.trace.Tracer tracer, RemoteTaskStats stats, DynamicFilterService dynamicFilterService, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory) -
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)