Class DataQuery
- java.lang.Object
-
- cern.nxcals.api.extraction.data.builders.fluent.v2.AbstractDataQuery<java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>>
-
- cern.nxcals.api.custom.extraction.data.builders.expanded.DataQuery
-
@Experimental public class DataQuery extends AbstractDataQuery<java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>>
-
-
Constructor Summary
Constructors Constructor Description DataQuery(org.apache.spark.sql.SparkSession session)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataQuery
builder(@NonNull org.apache.spark.sql.SparkSession session)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession sparkSession, @NonNull TimeWindow timeWindow, @NonNull Entity entity)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession sparkSession, @NonNull TimeWindow timeWindow, @NonNull Variable variable)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession spark, @NonNull TimeWindow timeWindow, @NonNull java.lang.String system, @NonNull EntityQuery... entitiesQueries)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession spark, @NonNull TimeWindow timeWindow, @NonNull java.lang.String system, @NonNull java.lang.String... variables)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession spark, @NonNull TimeWindow timeWindow, @NonNull java.lang.String system, @NonNull java.util.List<java.lang.String> variables)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession spark, @NonNull TimeWindow timeWindow, @NonNull java.lang.String system, @NonNull java.util.List<java.lang.String> variables, @NonNull java.util.List<java.lang.String> variablesLike)
static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getFor(@NonNull org.apache.spark.sql.SparkSession spark, @NonNull TimeWindow timeWindow, @NonNull java.lang.String system, @NonNull java.util.Map<java.lang.String,java.lang.Object>... keyValuesArr)
protected QueryData<java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>>
queryData()
-
Methods inherited from class cern.nxcals.api.extraction.data.builders.fluent.v2.AbstractDataQuery
entities, variables
-
-
-
-
Method Detail
-
builder
public static DataQuery builder(@NonNull @NonNull org.apache.spark.sql.SparkSession session)
-
queryData
protected QueryData<java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>> queryData()
- Specified by:
queryData
in classAbstractDataQuery<java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>>
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession sparkSession, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull Variable variable)
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession sparkSession, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull Entity entity)
-
getFor
@SafeVarargs public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession spark, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull java.lang.String system, @NonNull @NonNull java.util.Map<java.lang.String,java.lang.Object>... keyValuesArr)
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession spark, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull java.lang.String system, @NonNull @NonNull EntityQuery... entitiesQueries)
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession spark, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull java.lang.String system, @NonNull @NonNull java.lang.String... variables)
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession spark, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull java.lang.String system, @NonNull @NonNull java.util.List<java.lang.String> variables)
-
getFor
public static java.util.List<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getFor(@NonNull @NonNull org.apache.spark.sql.SparkSession spark, @NonNull @NonNull TimeWindow timeWindow, @NonNull @NonNull java.lang.String system, @NonNull @NonNull java.util.List<java.lang.String> variables, @NonNull @NonNull java.util.List<java.lang.String> variablesLike)
-
-