DataFeedSchema Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.administration.models.DataFeedSchema

public final class DataFeedSchema

The DataFeedSchema model.

Constructor Summary

Constructor Description
DataFeedSchema(List<DataFeedMetric> dataFeedMetrics)

Creates a new instance of DataFeedSchema.

Method Summary

Modifier and Type Method and Description
List<DataFeedDimension> getDimensions()

Get the dimension list.

List<DataFeedMetric> getMetrics()

Get the related dataFeedMetrics list.

String getTimestampColumn()

Get the user-defined timestamp column.

DataFeedSchema setDimensions(List<DataFeedDimension> dimensions)

Sets the dimension columns value.

DataFeedSchema setTimestampColumn(String timestampColumnName)

Set the user-defined timestamp column.

Methods inherited from java.lang.Object

Constructor Details

DataFeedSchema

public DataFeedSchema(List dataFeedMetrics)

Creates a new instance of DataFeedSchema.

Parameters:

dataFeedMetrics - the metric columns to set.

Method Details

getDimensions

public List getDimensions()

Get the dimension list.

Returns:

the dimension list

getMetrics

public List getMetrics()

Get the related dataFeedMetrics list.

Returns:

the list of dataFeedMetrics column set.

getTimestampColumn

public String getTimestampColumn()

Get the user-defined timestamp column. if timestampColumn is null, start time of every time slice will be used as default value.

Returns:

the user-defined timestamp column.

setDimensions

public DataFeedSchema setDimensions(List dimensions)

Sets the dimension columns value.

Parameters:

dimensions - the dimensions column value to set.

Returns:

the DataFeedSchema object itself.

setTimestampColumn

public DataFeedSchema setTimestampColumn(String timestampColumnName)

Set the user-defined timestamp column. if timestampColumn is null, start time of every time slice will be used as default value.

Parameters:

timestampColumnName - the user-defined timestamp column.

Returns:

the DataFeedSchema object itself.

Applies to