package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
Package replicaoracle provides functionality for physicalplan to choose a replica for a range.
# Functions
MakeExpression creates a execinfrapb.Expression.
MergePlans merges the processors and streams of two plans into a new plan.
MergeResultTypes reconciles the ResultTypes between two plans.
NewFakeSpanResolver creates a fake span resolver.
NewFlowSpec returns a new FlowSpec, which may have non-zero capacity in its slice fields.
NewSpanResolver creates a new spanResolver.
NewTableReaderSpec returns a new TableReaderSpec.
ReleaseFlowSpec returns this FlowSpec back to the pool of FlowSpecs.
ReleaseSetupFlowRequest releases the resources of this SetupFlowRequest, putting them back into their respective object pools.
ReleaseTableReaderSpec puts this TableReaderSpec back into its sync pool.
# Constants
FullyDistributedPlan indicates that the whole plan is distributed.
LocalPlan indicates that the whole plan is executed on the gateway node.
PartiallyDistributedPlan indicates that some parts of the plan are distributed while other parts are not (due to limitations of DistSQL).
# Variables
DistAggregationTable is DistAggregationInfo look-up table.
# Structs
DistAggregationInfo is a blueprint for planning distributed aggregations.
FinalStageInfo is a wrapper around an aggregation function performed in the final stage of distributed aggregations that allows us to specify the corresponding inputs from the local aggregations by their indices in the LocalStage.
PhysicalPlan represents a network of processors and streams along with information about the results output by this network.
Processor contains the information associated with a processor in a plan.
ProcessorCorePlacement indicates on which node a particular processor core needs to be planned.
Stream connects the output router of one processor to an input synchronizer of another processor.
# Interfaces
ExprContext is an interface containing objects necessary for creating execinfrapb.Expressions.
SpanResolver resolves key spans to their respective ranges and lease holders.
SpanResolverIterator is used to iterate over the ranges composing a key span.
# Type aliases
PlanDistribution describes the distribution of the physical plan.
ProcessorIdx identifies a processor by its index in PhysicalPlan.Processors.