dataset

package
v0.0.0-...-a838e88 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatasetWriter

func NewDatasetWriter(dataset Dataset, outputFile ParquetFile.ParquetFile) (*ParquetWriter.CSVWriter, error)

func WriteParquetFile

func WriteParquetFile(dataset Dataset, writer *ParquetWriter.CSVWriter) error

Types

type Column

type Column struct {
	Name           string  `json:"name"`
	Encoding       *string `json:"encoding"`
	ValType        string  `json:"val_type"`
	RepetitionType *string `json:"repetition_type"`
}

type Dataset

type Dataset interface {
	Columns() []Column
	Rows() [][]interface{}
}

Jump to

Keyboard shortcuts

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