Click or drag to resize
Grid Solutions Framework

ExcludeRange<T> .ComputeMeasurementValue Class

Returns a series of values that represent a filtered set of the values in the source series where each value falls outside the specified low and high. The low and high parameter values are floating-point numbers that represent the range of values excluded in the return series. Third parameter, optional, is a boolean flag that determines if range values are inclusive, i.e., excluded values are <= low or >= high - defaults to false, which means values are exclusive, i.e., excluded values are < low or > high. Function allows a fourth optional parameter that is a boolean flag - when four parameters are provided, third parameter determines if low value is inclusive and forth parameter determines if high value is inclusive. The low and high parameter values can either be constant values or named targets available from the expression.
Inheritance Hierarchy
System.Object
  GrafanaAdapters.Functions.GrafanaFunctionBase<MeasurementValue>
    GrafanaAdapters.Functions.BuiltIn.ExcludeRange<MeasurementValue>
      GrafanaAdapters.Functions.BuiltIn.ExcludeRange<T>.ComputeMeasurementValue

Namespace: GrafanaAdapters.Functions.BuiltIn
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.241-beta
Syntax
public class ComputeMeasurementValue : ExcludeRange<MeasurementValue>
View Source

The ExcludeRange<T> .ComputeMeasurementValue type exposes the following members.

Constructors
 NameDescription
Public methodExcludeRange<T>.ComputeMeasurementValueInitializes a new instance of the ExcludeRange<T> .ComputeMeasurementValue class
Top
Properties
 NameDescription
Public propertyAliases Gets any defined aliases for the Grafana function.
(Inherited from ExcludeRange<T>)
Public propertyAllowedGroupOperations Gets set of group operations that the Grafana function allows.
(Inherited from GrafanaFunctionBase<T>)
Public propertyCategory Gets the category of the Grafana function, i.e., built-in or custom.
(Inherited from GrafanaFunctionBase<T>)
Public propertyDataTypeIndex Gets the data source value type index associated with the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public propertyDescription Gets the description of the Grafana function.
(Inherited from ExcludeRange<T>)
Public propertyInternalParameterCount Gets the number of internal parameters of the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public propertyIsSliceSeriesEquivalent Gets or sets a flag indicating whether the function behaves equivalently when processed as a series or as a slice. Value defaults to true for functions that return a series of values, i.e., the return type is Series, and the AllowedGroupOperations includes the flag for Slice operations; otherwise, value defaults to false when the return type is a scalar value, i.e., Scalar, or the AllowedGroupOperations does not include the flag for Slice operations.
(Inherited from GrafanaFunctionBase<T>)
Public propertyName Gets the name of the Grafana function.
(Inherited from ExcludeRange<T>)
Public propertyOptionalParameterCount Gets the number of optional parameters of the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public propertyParameterDefinitions Gets the list of defined parameter definitions for the Grafana function.
(Inherited from ExcludeRange<T>)
Public propertyPublishedGroupOperations Gets set of group operations that the Grafana function exposes publicly.
(Inherited from GrafanaFunctionBase<T>)
Public propertyRequiredParameterCount Gets the number of required parameters, not including data source values expression, of the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public propertyResultIsSetTargetSeries Gets flag that determines if function result is target series for set-based group operations.
(Inherited from GrafanaFunctionBase<T>)
Public propertyReturnType Gets the return type of the Grafana function, i.e., scalar or series.
(Inherited from ExcludeRange<T>)
Top
Methods
 NameDescription
Public methodCheckAllowedGroupOperation Checks if function allows requested group operation against AllowedGroupOperations property.
(Inherited from GrafanaFunctionBase<T>)
Public methodComputeAsync Executes the computation for the Grafana function.
(Inherited from ExcludeRange<T>)
Public methodComputeSetAsync Executes a custom set computation for the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public methodComputeSliceAsync Executes a custom slice computation for the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodExecuteFunction Executes specified function against data source values enumeration using provided parameters.
(Inherited from GrafanaFunctionBase<T>)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFormatTargetName Gets a formatted target name for the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Protected methodGetDataSourceValues Gets data source values enumeration found in the provided parameters.
(Inherited from GrafanaFunctionBase<T>)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseParameters Executes custom parameter parsing for the Grafana function.
(Inherited from GrafanaFunctionBase<T>)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Signature: ExcludeRange(low, high, [inclusive = false], expression) -or- ExcludeRange(low, high, [lowInclusive = false], [highInclusive = false], expression)
Returns: Series of values.
Example: ExcludeRange(-180.0, 180.0, true, false, FILTER ActiveMeasurements WHERE SignalType LIKE '%PHA')
Variants: ExcludeRange, Exclude
Execution: Deferred enumeration.
Group Operations: Slice, Set
See Also