Documentation ¶
Overview ¶
* File: /Users/robi/Documents/git.hub/marketstore/uda/gap/gap.go * Created Date: Thursday, February 28th 2019, 4:42:41 pm * Author: Robi Lin * ----- * Last Modified: * Modified By: * ----- * Copyright (c) 2019 QK Captial * * Description: *
Index ¶
- type Gap
- func (g *Gap) Accum(_ io.TimeBucketKey, _ *functions.ArgumentMap, cols io.ColumnInterface, ...) error
- func (g *Gap) GetInitArgs() []io.DataShape
- func (g *Gap) GetOptionalArgs() []io.DataShape
- func (g *Gap) GetRequiredArgs() []io.DataShape
- func (g *Gap) Init(_ *functions.ArgumentMap, args ...interface{}) error
- func (g Gap) New() (out uda.AggInterface)
- func (g *Gap) Output() *io.ColumnSeries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gap ¶
type Gap struct { uda.AggInterface BigGapIdxs []int Input *io.ColumnInterface // contains filtered or unexported fields }
func (*Gap) Accum ¶
func (g *Gap) Accum(_ io.TimeBucketKey, _ *functions.ArgumentMap, cols io.ColumnInterface, _ *catalog.Directory, ) error
Accum() sends new data to the aggregate Use Zscore to find out the big hole in data.
func (*Gap) GetInitArgs ¶
func (*Gap) GetOptionalArgs ¶
func (*Gap) GetRequiredArgs ¶
func (Gap) New ¶
func (g Gap) New() (out uda.AggInterface)
Creates a new count using the arguments of the specific implementation for inputColumns and optionalInputColumns
func (*Gap) Output ¶
func (g *Gap) Output() *io.ColumnSeries
Output() returns the currently valid output of this aggregate
Click to show internal directories.
Click to hide internal directories.