Class DataFeedRollupSettings
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedRollupSettings
The rollup settings for the data feed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the column names for which the auto rollup setting will group by.Get the rollup method that should be used for the data feed.Get the identification value when using auto rollup.Get the rollup type that should be used for the data feed.setAlreadyRollup
(String rollupIdentificationValue) Set the identification value when rollup settings set to Auto or AlreadyRollUp.setAutoRollup
(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames) Set up rollup settings to be used for the data feed aggregation.setAutoRollup
(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames, String rollupIdentificationValue) Set up rollup settings to be used for the data feed aggregation.setRollupType
(DataFeedRollupType dataFeedRollupType) Set the rollup type settings that should be used for the data feed.
-
Constructor Details
-
DataFeedRollupSettings
public DataFeedRollupSettings()
-
-
Method Details
-
getRollupType
Get the rollup type that should be used for the data feed.- Returns:
- the dataFeedRollupType value.
-
getAutoRollupGroupByColumnNames
Get the column names for which the auto rollup setting will group by.- Returns:
- the autoRollupGroupByColumnNames value.
-
getRollupIdentificationValue
Get the identification value when using auto rollup.- Returns:
- the alreadyRollupIdentificationValue value.
-
getDataFeedAutoRollUpMethod
Get the rollup method that should be used for the data feed.- Returns:
- the dataFeedAutoRollUpMethod value.
-
setRollupType
Set the rollup type settings that should be used for the data feed.- Parameters:
dataFeedRollupType
- the rollup type settings value to set.- Returns:
- the DataFeedRollupSettings object itself.
-
setAutoRollup
public DataFeedRollupSettings setAutoRollup(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames) Set up rollup settings to be used for the data feed aggregation.- Parameters:
rollUpMethod
- the rollup method value to set.groupByColumnNames
- the column names for the group by.- Returns:
- the DataFeedRollupSettings object itself.
-
setAutoRollup
public DataFeedRollupSettings setAutoRollup(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames, String rollupIdentificationValue) Set up rollup settings to be used for the data feed aggregation.- Parameters:
rollUpMethod
- the rollup method value to set.groupByColumnNames
- the column names for the group by.rollupIdentificationValue
- the raw group column value.- Returns:
- the DataFeedRollupSettings object itself.
-
setAlreadyRollup
Set the identification value when rollup settings set to Auto or AlreadyRollUp.- Parameters:
rollupIdentificationValue
- the identification value to set.- Returns:
- the DataFeedRollupSettings object itself.
-