etldrow

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package etldrow contains functions to manipulate iter.Iter of drow.Row.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntOrString

type IntOrString = drow.IntOrString

type Iter

type Iter = etl.Iter

Iter is an etl.Iter.

func Field

func Field(it Iter, name string) Iter

Field returns a new iter that will return the value of the field 'name'.

func Rename

func Rename(it Iter, o, n string) Iter

Rename returns an iterator that yields row renamed.

func Select

func Select(it Iter, names ...IntOrString) Iter

Select returns an iterator that yields rows with only the fields in 'names'.

func ToMap

func ToMap(it Iter) Iter

ToMap converts iterator rows to map.

type Row

type Row = drow.Row

Row is a iter.Row

Jump to

Keyboard shortcuts

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