Skip to main content
Version: 26.10.0

enums

Enums​

1. FilteringModes​

FilteringMode determines if resultant DataModel should be created from selection set or rejection set.

The following modes are available

  • NORMAL: Only entries from selection set are included in the resulatant DataModel instance
  • INVERSE: Only entries from rejection set are included in the resulatant DataModel instance
  • ALL: Both the entries from selection and rejection set are returned in two different DataModel instance

You can access this enums from DataModel.FilteringMode

2. AggregationFunctions​

AggregationFunctions are the aggregation that needs to be applied on all measures.

The AggregationFunctions are available:

  • SUM: Returns the sum of all the numbers
  • AVG: Returns the average of all the numbers
  • MAX: Returns the maximum of all the numbers
  • MIN: Returns the minimum of all the numbers
  • COUNT: Returns the count of all the numbers
  • STD: Returns the standard deviation of the numbers

You can access this enums from DataModel.AggregationFunctions

3. ComparisonOperators​

Comparison operators are used in statements to determine equality or difference between variables or values.

  • EQUAL : Returns true if the operands are equal.
  • NOT_EQUAL: Returns true if the operands are not equal.
  • GREATER_THAN: Returns true if the left operand is greater than the right operand.
  • LESS_THAN : Returns true if the left operand is less than the right operand.
  • GREATER_THAN_EQUAL : Returns true if the left operand is greater than or equal to the right operand.
  • LESS_THAN_EQUAL : Returns true if the left operand is less than or equal to the right operand.
  • IN : Returns true is left operand( single value) is present in right operand (an array of values);
  • NIN : Returns true is left operand( single value) is not present in right operand (an array of values);
  • EQUAL_TO : Same as Enums
  • NOT_EQUAL_TO : Same as Enums

You can access this enums from Datamodel.ComparisonOperators

4. LogicalOperators​

Logical Operators are used in statements to determine equality to establish a relation between one or more comparison operations.

  • AND : Returns true if all the conditions are TRUE.
  • OR : Returns true if any of the conditions is TRUE.

You can access this enums from Datamodel.LogicalOperators

5. FieldType​

Defined Datamodel's Field Type:

  • DIMENSION : Field Type Dimension
  • MEASURE : Field Type Measure

You can access this enums from Datamodel.FieldType

6. FieldSubtype​

Defined Datamodel's Field Sub Type:

  • CATEGORICAL : Field Sub Type Categorical
  • CONTINUOUS : Field Sub Type Continuous
  • TEMPORAL : Field Sub Type Temporal

You can access this enums from Datamodel.FieldSubType

7. DerivationOperations​

Derivation Params determine, what derivation has been used to create a DataModel

  • SELECT : Selection Operation
  • GROUPBY : Grouping Operation
  • PROJECT : Projection Operation
  • SPLIT : Splitting Operation
  • SORT : Sorting Operation
  • CALCULATE : Calculation of a Variable

You can access this enums from DataModel.DerivationOperations

8. Sort Order​

Sorting Order is used to arrange data in a particular.

  • ASC : To arrange values in increasing order.
  • DESC : To arrange values in decreasing order.
  • NO_ORDER : To arrange values in default order if any.

You can access this enums from DataModel.SortOrder