Class AggregationFunction

    • Method Detail

      • numericalAggregationFunction

        public final NumericalAggregationFunction numericalAggregationFunction()

        Aggregation for numerical values.

        Returns:
        Aggregation for numerical values.
      • categoricalAggregationFunction

        public final CategoricalAggregationFunction categoricalAggregationFunction()

        Aggregation for categorical values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        If the service returns an enum value that is not available in the current SDK version, categoricalAggregationFunction will return CategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION . The raw value returned by the service is available from categoricalAggregationFunctionAsString().

        Returns:
        Aggregation for categorical values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        See Also:
        CategoricalAggregationFunction
      • categoricalAggregationFunctionAsString

        public final String categoricalAggregationFunctionAsString()

        Aggregation for categorical values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        If the service returns an enum value that is not available in the current SDK version, categoricalAggregationFunction will return CategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION . The raw value returned by the service is available from categoricalAggregationFunctionAsString().

        Returns:
        Aggregation for categorical values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        See Also:
        CategoricalAggregationFunction
      • dateAggregationFunction

        public final DateAggregationFunction dateAggregationFunction()

        Aggregation for date values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        • MIN: Select the smallest date value.

        • MAX: Select the largest date value.

        If the service returns an enum value that is not available in the current SDK version, dateAggregationFunction will return DateAggregationFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dateAggregationFunctionAsString().

        Returns:
        Aggregation for date values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        • MIN: Select the smallest date value.

        • MAX: Select the largest date value.

        See Also:
        DateAggregationFunction
      • dateAggregationFunctionAsString

        public final String dateAggregationFunctionAsString()

        Aggregation for date values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        • MIN: Select the smallest date value.

        • MAX: Select the largest date value.

        If the service returns an enum value that is not available in the current SDK version, dateAggregationFunction will return DateAggregationFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dateAggregationFunctionAsString().

        Returns:
        Aggregation for date values.

        • COUNT: Aggregate by the total number of values, including duplicates.

        • DISTINCT_COUNT: Aggregate by the total number of distinct values.

        • MIN: Select the smallest date value.

        • MAX: Select the largest date value.

        See Also:
        DateAggregationFunction
      • attributeAggregationFunction

        public final AttributeAggregationFunction attributeAggregationFunction()

        Aggregation for attributes.

        Returns:
        Aggregation for attributes.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)