SparkSession.
read
Returns a DataFrameReader that can be used to read data in as a DataFrame.
DataFrameReader
DataFrame
New in version 2.0.0.