-
Notifications
You must be signed in to change notification settings - Fork 3
/
task_type.go
27 lines (25 loc) · 1.16 KB
/
task_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package sif
// TaskType describes the type of a Task, used internally to control behaviour
type TaskType string
const (
// WithColumnTaskType indicates that this task adds a column
WithColumnTaskType TaskType = "add_column"
// RemoveColumnTaskType indicates that this task removes a column
RemoveColumnTaskType TaskType = "remove_column"
// RenameColumnTaskType indicates that this task renames a column
RenameColumnTaskType TaskType = "rename_column"
// ExtractTaskType indicates that this task sources data from a DataSource
ExtractTaskType TaskType = "extract"
// ShuffleTaskType indicates that this task triggers a Shuffle
ShuffleTaskType TaskType = "shuffle"
// AccumulateTaskType indicates that this task triggers an Accumulation
AccumulateTaskType TaskType = "accumulate"
// FlatMapTaskType indicates that this task triggers a FlatMap
FlatMapTaskType TaskType = "flatmap"
// MapTaskType indicates that this task triggers a Map
MapTaskType TaskType = "map"
// FilterTaskType indicates that this task triggers a Filter
FilterTaskType TaskType = "filter"
// CollectTaskType indicates that this task triggers a Collect
CollectTaskType TaskType = "collect"
)