column

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 4 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 interface {
	fmt.Stringer
	Filter(index index.Int, comparator interface{}, comparatee interface{}, bIndex index.Bool) error
	Subset(index index.Int) Column
	Append(cols ...Column) (Column, error)
	Equals(index index.Int, other Column, otherIndex index.Int) bool
	Comparable(reverse, equalNull, nullLast bool) Comparable
	Aggregate(indices []index.Int, fn interface{}) (Column, error)
	StringAt(i uint32, naRep string) string
	AppendByteStringAt(buf []byte, i uint32) []byte
	ByteSize() int
	Len() int

	Apply1(fn interface{}, ix index.Int) (interface{}, error)
	Apply2(fn interface{}, s2 Column, ix index.Int) (Column, error)

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

	FunctionType() types.FunctionType
	DataType() types.DataType
}

type Comparable

type Comparable interface {
	Compare(i, j uint32) CompareResult
	Hash(i uint32, seed uint64) uint64
}

type CompareResult

type CompareResult byte
const (
	LessThan CompareResult = iota
	GreaterThan
	Equal

	// Used when comparing null with null
	NotEqual
)

Jump to

Keyboard shortcuts

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