scolumn

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Doc

func Doc() string

func GenerateDoc

func GenerateDoc() (*bytes.Buffer, error)

func GenerateFilters

func GenerateFilters() (*bytes.Buffer, error)

Types

type Column

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

func New

func New(strings []*string) Column

func NewBytes

func NewBytes(pointers []qfstrings.Pointer, bytes []byte) Column

func NewConst

func NewConst(val *string, count int) Column

func NewStrings

func NewStrings(strings []string) Column

func (Column) Aggregate

func (c Column) Aggregate(indices []index.Int, fn interface{}) (column.Column, error)

func (Column) Append added in v0.3.6

func (c Column) Append(cols ...column.Column) (column.Column, error)

func (Column) AppendByteStringAt

func (c Column) AppendByteStringAt(buf []byte, i uint32) []byte

func (Column) Apply1

func (c Column) Apply1(fn interface{}, ix index.Int) (interface{}, error)

func (Column) Apply2

func (c Column) Apply2(fn interface{}, s2 column.Column, ix index.Int) (column.Column, error)

func (Column) ByteSize

func (c Column) ByteSize() int

func (Column) Comparable

func (c Column) Comparable(reverse, equalNull, nullLast bool) column.Comparable

func (Column) DataType

func (c Column) DataType() types.DataType

func (Column) Equals

func (c Column) Equals(index index.Int, other column.Column, otherIndex index.Int) bool

func (Column) Filter

func (c Column) Filter(index index.Int, comparator interface{}, comparatee interface{}, bIndex index.Bool) error

func (Column) FunctionType

func (c Column) FunctionType() types.FunctionType

func (Column) Len

func (c Column) Len() int

func (Column) Rolling added in v0.3.2

func (c Column) Rolling(fn interface{}, ix index.Int, config rolling.Config) (column.Column, error)

func (Column) String

func (c Column) String() string

func (Column) StringAt

func (c Column) StringAt(i uint32, naRep string) string

func (Column) Subset

func (c Column) Subset(index index.Int) column.Column

func (Column) View

func (c Column) View(ix index.Int) View

type Comparable

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

func (Comparable) Compare

func (c Comparable) Compare(i, j uint32) column.CompareResult

func (Comparable) Hash added in v0.3.2

func (c Comparable) Hash(i uint32, seed uint64) uint64

type View

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

func (View) ItemAt

func (v View) ItemAt(i int) *string

func (View) Len

func (v View) Len() int

func (View) Slice

func (v View) Slice() []*string

Jump to

Keyboard shortcuts

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