column

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	// contains filtered or unexported fields
}

func NewColumn

func NewColumn(name string, columnType types.TypeID, hasIndex bool, indexKind index_constants.IndexKind, indexHeaderPageID types.PageID, expr interface{}) *Column

expr argument should be pointer of subtype of expression.Expression

func (*Column) FixedLength

func (c *Column) FixedLength() uint32

func (*Column) GetColumnName

func (c *Column) GetColumnName() string

func (*Column) GetExpr

func (c *Column) GetExpr() interface{}

returned value should be used with type validation at expression.Expression

func (*Column) GetOffset

func (c *Column) GetOffset() uint32

func (*Column) GetType

func (c *Column) GetType() types.TypeID

func (*Column) HasIndex

func (c *Column) HasIndex() bool

func (*Column) IndexHeaderPageId added in v0.0.2

func (c *Column) IndexHeaderPageId() types.PageID

func (*Column) IndexKind added in v0.0.2

func (c *Column) IndexKind() index_constants.IndexKind

func (*Column) IsInlined

func (c *Column) IsInlined() bool

func (*Column) IsLeft

func (c *Column) IsLeft() bool

func (*Column) SetExpr

func (c *Column) SetExpr(expr interface{})

func (*Column) SetFixedLength

func (c *Column) SetFixedLength(fixedLength uint32)

func (*Column) SetHasIndex

func (c *Column) SetHasIndex(hasIndex bool)

func (*Column) SetIndexHeaderPageId added in v0.0.2

func (c *Column) SetIndexHeaderPageId(pageId types.PageID)

func (*Column) SetIndexKind added in v0.0.2

func (c *Column) SetIndexKind(kind index_constants.IndexKind)

func (*Column) SetIsLeft

func (c *Column) SetIsLeft(isLeft bool)

func (*Column) SetOffset

func (c *Column) SetOffset(offset uint32)

func (*Column) SetVariableLength

func (c *Column) SetVariableLength(variableLength uint32)

func (*Column) VariableLength

func (c *Column) VariableLength() uint32

Jump to

Keyboard shortcuts

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