Documentation ¶
Index ¶
- type DoFn
- type KV
- type PCollection
- func Create[T any](s beam.Scope, values ...T) PCollection[T]
- func CreateList[T any](s beam.Scope, values []T) PCollection[T]
- func DropKey[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[B]
- func DropValue[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[A]
- func Emit[T, E any](s beam.Scope, fn func(T, func(E)), c PCollection[T]) PCollection[E]
- func Explode[T any](s beam.Scope, c PCollection[[]T]) PCollection[T]
- func Flatten[T any](s beam.Scope, cols ...PCollection[T]) PCollection[T]
- func Impulse(s beam.Scope) PCollection[[]byte]
- func ImpulseValue(s beam.Scope, v []byte) PCollection[[]byte]
- func ParDo[T, E any](s beam.Scope, fn func(T) E, c PCollection[T]) PCollection[E]
- func ParDoFn[T, E any](s beam.Scope, fn DoFn[T, E], c PCollection[T]) PCollection[E]
- func ParDoPerKey[K, V, E any](s beam.Scope, fn func(K, V) E, c PCollection[KV[K, V]]) PCollection[E]
- func Partition[T any](s beam.Scope, n int, fn func(T) int, c PCollection[T]) []PCollection[T]
- func Reshuffle[T any](s beam.Scope, c PCollection[T]) PCollection[T]
- func SwapKV[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[KV[B, A]]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PCollection ¶
type PCollection[T any] struct { Col beam.PCollection }
func CreateList ¶
func CreateList[T any](s beam.Scope, values []T) PCollection[T]
func DropKey ¶
func DropKey[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[B]
func DropValue ¶
func DropValue[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[A]
func Emit ¶
func Emit[T, E any](s beam.Scope, fn func(T, func(E)), c PCollection[T]) PCollection[E]
func Explode ¶
func Explode[T any](s beam.Scope, c PCollection[[]T]) PCollection[T]
func Flatten ¶
func Flatten[T any](s beam.Scope, cols ...PCollection[T]) PCollection[T]
func ImpulseValue ¶
func ImpulseValue(s beam.Scope, v []byte) PCollection[[]byte]
func ParDo ¶
func ParDo[T, E any](s beam.Scope, fn func(T) E, c PCollection[T]) PCollection[E]
func ParDoFn ¶
func ParDoFn[T, E any](s beam.Scope, fn DoFn[T, E], c PCollection[T]) PCollection[E]
func ParDoPerKey ¶
func ParDoPerKey[K, V, E any](s beam.Scope, fn func(K, V) E, c PCollection[KV[K, V]]) PCollection[E]
func Partition ¶
func Partition[T any](s beam.Scope, n int, fn func(T) int, c PCollection[T]) []PCollection[T]
func Reshuffle ¶
func Reshuffle[T any](s beam.Scope, c PCollection[T]) PCollection[T]
func SwapKV ¶
func SwapKV[A, B any](s beam.Scope, c PCollection[KV[A, B]]) PCollection[KV[B, A]]
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
minimal_wordcount
minimal_wordcount is an example that counts words in King Lear, by William Shakespeare.
|
minimal_wordcount is an example that counts words in King Lear, by William Shakespeare. |
wordcount
wordcount is an example that counts words in Shakespeare and includes Beam best practices.
|
wordcount is an example that counts words in Shakespeare and includes Beam best practices. |
io
|
|
transforms
|
|
x
|
|
Click to show internal directories.
Click to hide internal directories.