Class SparkDatasetProducer
- java.lang.Object
-
- cern.nxcals.api.extraction.data.builders.SparkDatasetProducer
-
- All Implemented Interfaces:
java.util.function.Function<QueryData<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>,org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
public class SparkDatasetProducer extends java.lang.Object implements java.util.function.Function<QueryData<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>,org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
-
-
Constructor Summary
Constructors Constructor Description SparkDatasetProducer(org.apache.spark.sql.SparkSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
apply(QueryData<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> queryData)
-
-
-
Method Detail
-
apply
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> apply(QueryData<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> queryData)
- Specified by:
apply
in interfacejava.util.function.Function<QueryData<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>,org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
-
-