gzipio

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 8 Imported by: 0

README

go-apachebeam-gzipio

Go Report Card license

Overview

This project is to transform for reading and writing gzip files in apache beam.
And it is using to official Go SDK on apache beam.

Getting Started

import (
   gzipio "github.com/gjbae1212/go-apachebeam-gzipio"
)

p, s := beam.NewPipelineWithRoot()
// Read files
gzipio.Read(s, "read-path")

// Write file
gzipio.Write(s, "write-path", pcollection)

License

This project is licensed under the MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(s beam.Scope, glob string) beam.PCollection

Read is reading from glob

func Write

func Write(s beam.Scope, filename string, col beam.PCollection)

Write writes data to filename with gzip compress

Types

This section is empty.

Jump to

Keyboard shortcuts

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