Class PivotTableOptions

    • Method Detail

      • singleMetricVisibility

        public final Visibility singleMetricVisibility()

        The visibility of the single metric options.

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

        Returns:
        The visibility of the single metric options.
        See Also:
        Visibility
      • singleMetricVisibilityAsString

        public final String singleMetricVisibilityAsString()

        The visibility of the single metric options.

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

        Returns:
        The visibility of the single metric options.
        See Also:
        Visibility
      • columnNamesVisibility

        public final Visibility columnNamesVisibility()

        The visibility of the column names.

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

        Returns:
        The visibility of the column names.
        See Also:
        Visibility
      • columnNamesVisibilityAsString

        public final String columnNamesVisibilityAsString()

        The visibility of the column names.

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

        Returns:
        The visibility of the column names.
        See Also:
        Visibility
      • toggleButtonsVisibility

        public final Visibility toggleButtonsVisibility()

        Determines the visibility of the pivot table.

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

        Returns:
        Determines the visibility of the pivot table.
        See Also:
        Visibility
      • toggleButtonsVisibilityAsString

        public final String toggleButtonsVisibilityAsString()

        Determines the visibility of the pivot table.

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

        Returns:
        Determines the visibility of the pivot table.
        See Also:
        Visibility
      • columnHeaderStyle

        public final TableCellStyle columnHeaderStyle()

        The table cell style of the column header.

        Returns:
        The table cell style of the column header.
      • rowHeaderStyle

        public final TableCellStyle rowHeaderStyle()

        The table cell style of the row headers.

        Returns:
        The table cell style of the row headers.
      • cellStyle

        public final TableCellStyle cellStyle()

        The table cell style of cells.

        Returns:
        The table cell style of cells.
      • rowFieldNamesStyle

        public final TableCellStyle rowFieldNamesStyle()

        The table cell style of row field names.

        Returns:
        The table cell style of row field names.
      • rowAlternateColorOptions

        public final RowAlternateColorOptions rowAlternateColorOptions()

        The row alternate color options (widget status, row alternate colors).

        Returns:
        The row alternate color options (widget status, row alternate colors).
      • collapsedRowDimensionsVisibility

        public final Visibility collapsedRowDimensionsVisibility()

        The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.

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

        Returns:
        The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.
        See Also:
        Visibility
      • collapsedRowDimensionsVisibilityAsString

        public final String collapsedRowDimensionsVisibilityAsString()

        The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.

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

        Returns:
        The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.
        See Also:
        Visibility
      • rowsLayout

        public final PivotTableRowsLayout rowsLayout()

        The layout for the row dimension headers of a pivot table. Choose one of the following options.

        • TABULAR: (Default) Each row field is displayed in a separate column.

        • HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.

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

        Returns:
        The layout for the row dimension headers of a pivot table. Choose one of the following options.

        • TABULAR: (Default) Each row field is displayed in a separate column.

        • HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.

        See Also:
        PivotTableRowsLayout
      • rowsLayoutAsString

        public final String rowsLayoutAsString()

        The layout for the row dimension headers of a pivot table. Choose one of the following options.

        • TABULAR: (Default) Each row field is displayed in a separate column.

        • HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.

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

        Returns:
        The layout for the row dimension headers of a pivot table. Choose one of the following options.

        • TABULAR: (Default) Each row field is displayed in a separate column.

        • HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.

        See Also:
        PivotTableRowsLayout
      • rowsLabelOptions

        public final PivotTableRowsLabelOptions rowsLabelOptions()

        The options for the label that is located above the row headers. This option is only applicable when RowsLayout is set to HIERARCHY.

        Returns:
        The options for the label that is located above the row headers. This option is only applicable when RowsLayout is set to HIERARCHY.
      • defaultCellWidth

        public final String defaultCellWidth()

        The default cell width of the pivot table.

        Returns:
        The default cell width of the pivot table.
      • 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)