types

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LegacyKeyColumnsToColumnPaths added in v0.0.42

func LegacyKeyColumnsToColumnPaths(k *proto.KeyColumnsSet) [][]string

LegacyKeyColumnsToColumnPaths returns a list of all the column sets to use in path keys

Types

type Attr

type Attr struct {
	Name       string
	Type       Oid
	Dimensions int
	NotNull    bool
	Dropped    bool
}

type Cost

type Cost float64

Cost is a approximate cost of an operation. See Postgres docs for details.

type Oid

type Oid uint

Oid is a Postgres internal object ID.

type Options

type Options map[string]string

Options is a set of FDW options provided by user during table creation.

type PathKey

type PathKey struct {
	ColumnNames []string
	Rows        Cost
}

func KeyColumnsToPathKeys added in v0.0.27

func KeyColumnsToPathKeys(keyColumns []*proto.KeyColumn, allColumns []string) []PathKey

func LegacyKeyColumnsToPathKeys added in v0.0.42

func LegacyKeyColumnsToPathKeys(requiredColumns, optionalColumns *proto.KeyColumnsSet, allColumns []string) []PathKey

func (*PathKey) Equals added in v0.0.27

func (p *PathKey) Equals(other PathKey) bool

type RelSize

type RelSize struct {
	Rows   int
	Width  int
	Tuples int
}

type Relation

type Relation struct {
	ID        Oid
	IsValid   bool
	Attr      *TupleDesc
	Namespace string
}

type TupleDesc

type TupleDesc struct {
	TypeID  Oid
	TypeMod int
	//HasOid  bool
	Attrs []Attr // columns
}

Jump to

Keyboard shortcuts

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