Documentation ¶
Index ¶
- Constants
- Variables
- func SeriesEq(i *Series, j *Series, fieldIndex int, valueType string) bool
- func SeriesValueEq[T SeriersValueType](i T, j T) bool
- func SeriesValueLess[T SeriersValueType](i T, j T, reverse bool) bool
- func TransType(value interface{}, columnName, columnDatabaseTypeName string) (interface{}, string, error)
- type Client
- type Debug
- type QueryParams
- type SeriersValueType
- type Series
- type SeriesArray
- type SeriesGroup
- type SeriesSort
Constants ¶
View Source
const ( VALUE_TYPE_INT = "Int" VALUE_TYPE_STRING = "String" VALUE_TYPE_FLOAT64 = "Float64" VALUE_TYPE_TUPLE = "Tuple" VALUE_TYPE_ARRAY = "Array" )
Variables ¶
View Source
var VALUE_TYPE_MAP = map[string]int{ VALUE_TYPE_INT: 0, VALUE_TYPE_STRING: 1, VALUE_TYPE_FLOAT64: 2, }
Functions ¶
func SeriesValueEq ¶
func SeriesValueEq[T SeriersValueType](i T, j T) bool
func SeriesValueLess ¶
func SeriesValueLess[T SeriersValueType](i T, j T, reverse bool) bool
Types ¶
type Client ¶
type QueryParams ¶
type SeriersValueType ¶
type SeriesArray ¶
type SeriesArray []*Series
type SeriesGroup ¶
type SeriesGroup struct { Series SeriesArray GroupIndex []int GroupValues []interface{} Schemas common.ColumnSchemas }
func Group ¶
func Group(seriesArray SeriesArray, groupIndex []int, schema common.ColumnSchemas) (groups []*SeriesGroup)
type SeriesSort ¶
type SeriesSort struct { Series SeriesArray SortIndex []int Reverse []bool Schemas common.ColumnSchemas }
func (*SeriesSort) Len ¶
func (s *SeriesSort) Len() int
func (*SeriesSort) Less ¶
func (s *SeriesSort) Less(i, j int) bool
func (*SeriesSort) Swap ¶
func (s *SeriesSort) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.