Import this into scope in order to use:
Import this into scope in order to use:
import org.opencypher.caps.api.CAPSSession.RecordsAsDF // ... val df: DataFrame = results.records.asDF
Creates a new org.opencypher.spark.api.CAPSSession based on the given org.apache.spark.sql.SparkSession.
Creates a new org.opencypher.spark.api.CAPSSession based on the given org.apache.spark.sql.SparkSession.
CAPS session
Creates a new CAPSSession that wraps a local Spark session with CAPS default parameters.