routingstate

package
v0.0.0-...-d2a49d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: PostgreSQL Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NOSHARD = ""

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyState

type CopyState struct {
	RoutingState
}

type DDLState

type DDLState struct {
	RoutingState
}

type DataShardRoute

type DataShardRoute struct {
	Shkey     kr.ShardKey
	Matchedkr *kr.KeyRange
}

type MultiMatchState

type MultiMatchState struct {
	RoutingState
	DistributedPlan plan.Plan
}

type RandomMatchState

type RandomMatchState struct {
	RoutingState
}

type ReferenceRelationState

type ReferenceRelationState struct {
	RoutingState
}

type RoutingState

type RoutingState interface {
	// contains filtered or unexported methods
}

func Combine

func Combine(sh1, sh2 RoutingState) RoutingState

TODO : unit tests

type ShardMatchState

type ShardMatchState struct {
	RoutingState

	Route              *DataShardRoute
	TargetSessionAttrs string
}

type SkipRoutingState

type SkipRoutingState struct {
	RoutingState
}

type WorldRouteState

type WorldRouteState struct {
	RoutingState
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL