dataframe

package module
v0.0.0-...-8baeb96 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

goframe

play with a dataframe like abstraction for go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Writer writersList

Functions

func NewAsyncGroup

func NewAsyncGroup() *asyncGroup

func RenderTable

func RenderTable(output io.Writer, header []string, records [][]string)

Types

type DataContext

type DataContext struct {
	Write *writersList
	Read  *readersList
	// contains filtered or unexported fields
}

func NewDataContext

func NewDataContext(logger logger.Logger) *DataContext

func (*DataContext) SaveAll

func (dc *DataContext) SaveAll(writers ...*writer)

func (*DataContext) WaitForCompletions

func (dc *DataContext) WaitForCompletions(writers ...*writer) error

type ItemsCursor

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

func (*ItemsCursor) All

func (ic *ItemsCursor) All() ([]*v3io.Item, error)

gets all items

func (*ItemsCursor) Next

func (ic *ItemsCursor) Next() (*v3io.Item, error)

get the next matching item. this may potentially block as this lazy loads items from the collection

func (*ItemsCursor) Release

func (ic *ItemsCursor) Release()

release a cursor and its underlying resources

Jump to

Keyboard shortcuts

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