base

package
v0.0.0-...-9cd4eef Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator string

Aggregator defines the constant identifiers for the aggregator functions

const (
	// Max will return the maximum of a series
	MAX Aggregator = "MAX"

	// Min will return the minimum of a series
	MIN Aggregator = "MIN"

	// SUM will return the total of a series
	SUM Aggregator = "SUM"

	// AVG will return the average of a series
	AVG Aggregator = "AVG"
)

type ApplyFunc

type ApplyFunc func(val interface{}) (interface{}, error)

ApplyFunc takes in any value and return another value alongside an error if encountered

type Column

type Column struct {
	Name     string
	Dtype    DType
	ColIndex int
}

Column includes the Column name and type information

type DType

type DType string

DType contains the supported data type definitions

const (
	// Object is Text or mixed numeric values
	Object DType = "Object"
	// Int is int typed numeric values
	Int DType = "Int"
	// Float is float64 typed floating point values
	Float DType = "Float"
	// Bool is True/False values
	Bool DType = "Bool"
	// DateTime is Date and Time values
	DateTime DType = "DateTime"
)

Jump to

Keyboard shortcuts

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