Class ServiceBuilder
- java.lang.Object
-
- cern.nxcals.api.backport.client.service.ServiceBuilder
-
public class ServiceBuilder extends java.lang.Object
A builder that allows the users to create services to access the logging data.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AcquiredParameterValuesService
createAcquiredParameterService()
LHCFillDataService
createLHCFillService()
MetaDataService
createMetaService()
QuerySnapshotDataService
createQuerySnapshotDataService()
TimeseriesDataService
createTimeseriesService()
TimeseriesDataService
createTimeseriesService(DerivationSelection correction, java.sql.Timestamp correctionTime)
static ServiceBuilder
getInstance()
static ServiceBuilder
getInstance(@NonNull cern.nxcals.api.config.SparkProperties props)
static ServiceBuilder
getInstance(@NonNull org.apache.spark.sql.SparkSession session)
-
-
-
Method Detail
-
getInstance
public static ServiceBuilder getInstance()
-
getInstance
public static ServiceBuilder getInstance(@NonNull @NonNull cern.nxcals.api.config.SparkProperties props)
-
getInstance
public static ServiceBuilder getInstance(@NonNull @NonNull org.apache.spark.sql.SparkSession session)
-
createMetaService
public MetaDataService createMetaService()
-
createTimeseriesService
public TimeseriesDataService createTimeseriesService()
-
createTimeseriesService
public TimeseriesDataService createTimeseriesService(DerivationSelection correction, java.sql.Timestamp correctionTime)
-
createLHCFillService
public LHCFillDataService createLHCFillService()
-
createAcquiredParameterService
public AcquiredParameterValuesService createAcquiredParameterService()
-
createQuerySnapshotDataService
public QuerySnapshotDataService createQuerySnapshotDataService()
-
-