termfreqio

package
v0.0.0-...-804d1b8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

termfreqio provides IO functions to write term frequency information to Firestore

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateTermFreqDoc

type UpdateTermFreqDoc struct {
	FbCol     string
	ProjectID string
	// contains filtered or unexported fields
}

UpdateTermFreqDoc is a ParDo that writes entries to Firestore

func (*UpdateTermFreqDoc) ProcessElement

func (f *UpdateTermFreqDoc) ProcessElement(ctx context.Context, entries []termfreq.TermFreqDoc)

ProcessElement writes the given entry to Firestore if it does not exist already

func (*UpdateTermFreqDoc) Setup

func (f *UpdateTermFreqDoc) Setup()

Setup establishes the client connection

Jump to

Keyboard shortcuts

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