> For the complete documentation index, see [llms.txt](https://jinhoko.gitbook.io/apache-spark-assembly/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design.md).

# Actions and Their Design

- [forach / foreachPartition](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/forach-foreachpartition.md)
- [collect](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/collect.md)
- [toLocalIterator](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/tolocaliterator.md)
- [subtract](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/subtract.md)
- [reduce / treeReduce](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/reduce-treereduce.md)
- [fold](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/fold.md)
- [aggregate / treeAggregate](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/aggregate-treeaggregate.md)
- [count / countApprox](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/count-countapprox.md)
- [countByValue / countByValueApprox](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/countbyvalue-countbyvalueapprox.md)
- [countApproxDistinct](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/countapproxdistinct.md)
- [take / first / top / takeOrdered](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/take-first-top-takeordered.md)
- [max / min](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/max-min.md)
- [isEmpty](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/isempty.md)
- [saveAsTextFile / saveAsObjectFile](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/saveastextfile-saveasobjectfile.md)
- [keyBy](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/keyby.md)
- [checkpoint / localCheckpoint / isCheckpointed / getCheckpointFile](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/checkpoint-localcheckpoint-ischeckpointed-getcheckpointfile.md)
- [zipWithIndex / zipWithUniqueId](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/zipwithindex-zipwithuniqueid.md)
- [Extra](https://jinhoko.gitbook.io/apache-spark-assembly/core-execution-related/untitled/actions-and-their-design/extra.md)
