Interface TopicCalculatedField.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>, SdkBuilder<TopicCalculatedField.Builder,TopicCalculatedField>, SdkPojo
Enclosing class:
TopicCalculatedField

public static interface TopicCalculatedField.Builder extends SdkPojo, CopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
  • Method Details

    • calculatedFieldName

      TopicCalculatedField.Builder calculatedFieldName(String calculatedFieldName)

      The calculated field name.

      Parameters:
      calculatedFieldName - The calculated field name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • calculatedFieldDescription

      TopicCalculatedField.Builder calculatedFieldDescription(String calculatedFieldDescription)

      The calculated field description.

      Parameters:
      calculatedFieldDescription - The calculated field description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expression

      TopicCalculatedField.Builder expression(String expression)

      The calculated field expression.

      Parameters:
      expression - The calculated field expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • calculatedFieldSynonyms

      TopicCalculatedField.Builder calculatedFieldSynonyms(Collection<String> calculatedFieldSynonyms)

      The other names or aliases for the calculated field.

      Parameters:
      calculatedFieldSynonyms - The other names or aliases for the calculated field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • calculatedFieldSynonyms

      TopicCalculatedField.Builder calculatedFieldSynonyms(String... calculatedFieldSynonyms)

      The other names or aliases for the calculated field.

      Parameters:
      calculatedFieldSynonyms - The other names or aliases for the calculated field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isIncludedInTopic

      TopicCalculatedField.Builder isIncludedInTopic(Boolean isIncludedInTopic)

      A boolean value that indicates if a calculated field is included in the topic.

      Parameters:
      isIncludedInTopic - A boolean value that indicates if a calculated field is included in the topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disableIndexing

      TopicCalculatedField.Builder disableIndexing(Boolean disableIndexing)

      A Boolean value that indicates if a calculated field is visible in the autocomplete.

      Parameters:
      disableIndexing - A Boolean value that indicates if a calculated field is visible in the autocomplete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnDataRole

      TopicCalculatedField.Builder columnDataRole(String columnDataRole)

      The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.

      Parameters:
      columnDataRole - The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • columnDataRole

      TopicCalculatedField.Builder columnDataRole(ColumnDataRole columnDataRole)

      The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.

      Parameters:
      columnDataRole - The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeGranularity

      TopicCalculatedField.Builder timeGranularity(String timeGranularity)

      The level of time precision that is used to aggregate DateTime values.

      Parameters:
      timeGranularity - The level of time precision that is used to aggregate DateTime values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeGranularity

      TopicCalculatedField.Builder timeGranularity(TopicTimeGranularity timeGranularity)

      The level of time precision that is used to aggregate DateTime values.

      Parameters:
      timeGranularity - The level of time precision that is used to aggregate DateTime values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultFormatting

      TopicCalculatedField.Builder defaultFormatting(DefaultFormatting defaultFormatting)

      The default formatting definition.

      Parameters:
      defaultFormatting - The default formatting definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultFormatting

      default TopicCalculatedField.Builder defaultFormatting(Consumer<DefaultFormatting.Builder> defaultFormatting)

      The default formatting definition.

      This is a convenience method that creates an instance of the DefaultFormatting.Builder avoiding the need to create one manually via DefaultFormatting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to defaultFormatting(DefaultFormatting).

      Parameters:
      defaultFormatting - a consumer that will call methods on DefaultFormatting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregation

      TopicCalculatedField.Builder aggregation(String aggregation)

      The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.

      Parameters:
      aggregation - The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregation

      The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.

      Parameters:
      aggregation - The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comparativeOrder

      TopicCalculatedField.Builder comparativeOrder(ComparativeOrder comparativeOrder)

      The order in which data is displayed for the calculated field when it's used in a comparative context.

      Parameters:
      comparativeOrder - The order in which data is displayed for the calculated field when it's used in a comparative context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comparativeOrder

      default TopicCalculatedField.Builder comparativeOrder(Consumer<ComparativeOrder.Builder> comparativeOrder)

      The order in which data is displayed for the calculated field when it's used in a comparative context.

      This is a convenience method that creates an instance of the ComparativeOrder.Builder avoiding the need to create one manually via ComparativeOrder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to comparativeOrder(ComparativeOrder).

      Parameters:
      comparativeOrder - a consumer that will call methods on ComparativeOrder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • semanticType

      TopicCalculatedField.Builder semanticType(SemanticType semanticType)

      The semantic type.

      Parameters:
      semanticType - The semantic type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • semanticType

      default TopicCalculatedField.Builder semanticType(Consumer<SemanticType.Builder> semanticType)

      The semantic type.

      This is a convenience method that creates an instance of the SemanticType.Builder avoiding the need to create one manually via SemanticType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to semanticType(SemanticType).

      Parameters:
      semanticType - a consumer that will call methods on SemanticType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allowedAggregationsWithStrings

      TopicCalculatedField.Builder allowedAggregationsWithStrings(Collection<String> allowedAggregations)

      The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      allowedAggregations - The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAggregationsWithStrings

      TopicCalculatedField.Builder allowedAggregationsWithStrings(String... allowedAggregations)

      The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      allowedAggregations - The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAggregations

      TopicCalculatedField.Builder allowedAggregations(Collection<AuthorSpecifiedAggregation> allowedAggregations)

      The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      allowedAggregations - The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAggregations

      TopicCalculatedField.Builder allowedAggregations(AuthorSpecifiedAggregation... allowedAggregations)

      The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      allowedAggregations - The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notAllowedAggregationsWithStrings

      TopicCalculatedField.Builder notAllowedAggregationsWithStrings(Collection<String> notAllowedAggregations)

      The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      notAllowedAggregations - The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notAllowedAggregationsWithStrings

      TopicCalculatedField.Builder notAllowedAggregationsWithStrings(String... notAllowedAggregations)

      The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      notAllowedAggregations - The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notAllowedAggregations

      TopicCalculatedField.Builder notAllowedAggregations(Collection<AuthorSpecifiedAggregation> notAllowedAggregations)

      The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      notAllowedAggregations - The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notAllowedAggregations

      TopicCalculatedField.Builder notAllowedAggregations(AuthorSpecifiedAggregation... notAllowedAggregations)

      The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

      Parameters:
      notAllowedAggregations - The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • neverAggregateInFilter

      TopicCalculatedField.Builder neverAggregateInFilter(Boolean neverAggregateInFilter)

      A Boolean value that indicates whether to never aggregate calculated field in filters.

      Parameters:
      neverAggregateInFilter - A Boolean value that indicates whether to never aggregate calculated field in filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cellValueSynonyms

      TopicCalculatedField.Builder cellValueSynonyms(Collection<CellValueSynonym> cellValueSynonyms)

      The other names or aliases for the calculated field cell value.

      Parameters:
      cellValueSynonyms - The other names or aliases for the calculated field cell value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cellValueSynonyms

      TopicCalculatedField.Builder cellValueSynonyms(CellValueSynonym... cellValueSynonyms)

      The other names or aliases for the calculated field cell value.

      Parameters:
      cellValueSynonyms - The other names or aliases for the calculated field cell value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cellValueSynonyms

      TopicCalculatedField.Builder cellValueSynonyms(Consumer<CellValueSynonym.Builder>... cellValueSynonyms)

      The other names or aliases for the calculated field cell value.

      This is a convenience method that creates an instance of the CellValueSynonym.Builder avoiding the need to create one manually via CellValueSynonym.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cellValueSynonyms(List<CellValueSynonym>).

      Parameters:
      cellValueSynonyms - a consumer that will call methods on CellValueSynonym.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nonAdditive

      TopicCalculatedField.Builder nonAdditive(Boolean nonAdditive)

      The non additive for the table style target.

      Parameters:
      nonAdditive - The non additive for the table style target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.