concept load() in category spark

appears as: load()
Spark in Action, Second Edition

This is an excerpt from Manning's book Spark in Action, Second Edition.

If you unchain the method chain, you can see that the read() method returns an instance of DataFrameReader . This is the object you configure using the option() methods, the schema() method, and finally the load() method.

The write() method is the counterpart method to load() , which you have been using extensively in this book. The write() method returns a DataFrameWriter , whose reference is available at http://mng.bz/07Nm . Figure 17.3 illustrates the write() syntax.