Package cern.nxcals.api.custom.service
Interface FundamentalService
-
public interface FundamentalService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
getAll​(TimeWindow timeWindow, java.util.Set<cern.nxcals.api.custom.domain.FundamentalFilter> fundamentalFilters)
Return aDataset
for a giventime window
that contains data for fundamental variables that are matching the provided set offundamental filters
.
-
-
-
Method Detail
-
getAll
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> getAll​(TimeWindow timeWindow, java.util.Set<cern.nxcals.api.custom.domain.FundamentalFilter> fundamentalFilters)
Return aDataset
for a giventime window
that contains data for fundamental variables that are matching the provided set offundamental filters
. Please, note that variables are obtained from each filter separately and then joined/unioned together. I.e. variable will be included if it satisfies any of the provided filters.- Parameters:
timeWindow
- aTimeWindow
that defines time bounds for the data searchfundamentalFilters
- a set ofFundamentalFilter
based on which fundamental variables are selected.- Returns:
- a
Dataset
with data for fundamental variables based on the fundamental filters
-
-