Class BuildProfileJob
- java.lang.Object
-
- com.c12e.cortex.profiles.module.job.BuildProfileJob
-
- All Implemented Interfaces:
java.lang.Runnable
public class BuildProfileJob extends java.lang.Object implements java.lang.Runnable
Job that builds aProfileSchema
-
-
Field Summary
Fields Modifier and Type Field Description java.util.function.Function<CortexProfileWriter,CortexProfileWriter>
defaultWriterOptions
Default writer options, remove option with by returning dwsjava.util.function.BiFunction<java.lang.String,java.lang.String,org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>>
getDataset
java.util.function.Supplier<java.lang.Boolean>
performFeatureCatalogCalculations
PerformFeatureCatalog
calculations, is an expensive operation and may be set to false depending on the datasetjava.util.function.Function<CortexProfileWriter,CortexProfileWriter>
writerOptions
Expand on writer options
-
Constructor Summary
Constructors Constructor Description BuildProfileJob(java.lang.String project, java.lang.String profileSchema, CortexContext cortexContext)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
defaultWriterOptions
public java.util.function.Function<CortexProfileWriter,CortexProfileWriter> defaultWriterOptions
Default writer options, remove option with by returning dws
-
writerOptions
public java.util.function.Function<CortexProfileWriter,CortexProfileWriter> writerOptions
Expand on writer options
-
performFeatureCatalogCalculations
public java.util.function.Supplier<java.lang.Boolean> performFeatureCatalogCalculations
PerformFeatureCatalog
calculations, is an expensive operation and may be set to false depending on the dataset
-
getDataset
public java.util.function.BiFunction<java.lang.String,java.lang.String,org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> getDataset
-
-
Constructor Detail
-
BuildProfileJob
public BuildProfileJob(java.lang.String project, java.lang.String profileSchema, CortexContext cortexContext)
Constructor- Parameters:
project
- the projectprofileSchema
- the schemacortexContext
- the context
-
-