├── .gitattributes ├── Spark Definitive Guide-前8章.pdf ├── init.scala └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Spark Definitive Guide-前8章.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Y1ran/Spark-The-Definitive-Guide-Chinese-Traslation-2019/HEAD/Spark Definitive Guide-前8章.pdf -------------------------------------------------------------------------------- /init.scala: -------------------------------------------------------------------------------- 1 | package begin 2 | 3 | object arr1 {;import org.scalaide.worksheet.runtime.library.WorksheetSupport._; def main(args: Array[String])=$execute{;$skip(72); 4 | println("Welcome to the Scala worksheet");$skip(28); 5 | 6 | val answer = 8 * 5 + 2;System.out.println("""answer : Int = """ + $show(answer ));$skip(21); val res$0 = 7 | ("hello" + answer);System.out.println("""res0: String = """ + $show(res$0));$skip(37); 8 | 9 | var hello = "hello".toUpperCase;System.out.println("""hello : String = """ + $show(hello ));$skip(25); val res$1 = 10 | 11 | scala.math.sqrt(2);System.out.println("""res1: Double = """ + $show(res$1));$skip(40); 12 | 13 | def count(p: (Char) => Boolean) : Int;System.out.println("""count: (p: Char => Boolean)Int""");$skip(28); val res$2 = 14 | "hXdsdWe".count(_.isUpper);System.out.println("""res2: Int = """ + $show(res$2))} 15 | } 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Spark The Definitive Guide-Chinese-Traslation 2019 2 | 3 | 4 | ## Spark权威指南中文版翻译项目(2019) 5 | **Notice: This is only For the convinience of Chineses reader who cannot read English version directly** 6 | 7 |
