datasource

package
v0.0.0-...-79c606f Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Overview

Package datasource contains various built-in DataSource types for Sif

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBuildablePartition

func CreateBuildablePartition(maxRows int, schema sif.Schema) sif.BuildablePartition

CreateBuildablePartition creates a new Partition containing empty data and a Schema

func CreateDataFrame

func CreateDataFrame(source sif.DataSource, parser sif.DataSourceParser, schema sif.Schema) sif.DataFrame

CreateDataFrame produces a fresh DataFrame (useful for the implementation of DataSources)

func CreateTempRow

func CreateTempRow() sif.Row

CreateTempRow builds an empty row struct which cannot be used until passed to a function which populates it with data

Types

This section is empty.

Directories

Path Synopsis
Package file provides a DataSource which reads data from a directory of files on disk.
Package file provides a DataSource which reads data from a directory of files on disk.
Package memory provides a DataSource which reads data from an in-memory buffer.
Package memory provides a DataSource which reads data from an in-memory buffer.
Package memorystream provides a DataSource which streams data from an in-memory buffer.
Package memorystream provides a DataSource which streams data from an in-memory buffer.
Package odbc provides a DataSource which reads data from an ODBC connection.
Package odbc provides a DataSource which reads data from an ODBC connection.
Package parser features built-in parsers which interpret data from DataSources
Package parser features built-in parsers which interpret data from DataSources
dsv
Package dsv parses Delimiter-separated DataSources
Package dsv parses Delimiter-separated DataSources
jsonl
Package jsonl parses JSON Lines DataSources.
Package jsonl parses JSON Lines DataSources.

Jump to

Keyboard shortcuts

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