BucketFieldValue Class

Contains information about the report values included in a bucket field.

Reports

The following are constructors for BucketFieldValue.

Creates an instance of the Reports.BucketFieldValue class using the specified parameters.

public BucketFieldValue(String label, List<String> sourceDimensionValues, Double rangeUpperBound)

  • label:

    Type: String

    The user-facing name of the bucket.

  • sourceDimensionValues:

    Type: List<String>

    A list of the values from the source field included in this bucket category (in buckets of type PICKLIST and buckets of type TEXT).

  • rangeUpperBound:

    Type: Double

    The greatest range limit under which values are included in this bucket category (in buckets of type NUMBER).

Creates an instance of the Reports.BucketFieldValue class. You can then set values by using the class’s set methods.

public BucketFieldValue()

The following are methods for BucketFieldValue.

Returns the user-facing name of the bucket category.

public String getLabel()

Type: String

Returns the greatest range limit under which values are included in this bucket category (in buckets of type NUMBER).

public Double getRangeUpperBound()

Type: Double

Returns a list of the values from the source field included in this bucket category (in buckets of type PICKLIST and buckets of type TEXT).

public List<String> getSourceDimensionValues()

Type: List<String>

Set the user-facing name of the bucket category.

public void setLabel(String label)

Type: void

Sets the greatest limit of a range under which values are included in this bucket category (in buckets of type NUMBER).

public void setRangeUpperBound(Double rangeUpperBound)

  • rangeUpperBound:

    Type: Double

Type: void

Specifies the values from the source field included in this bucket category (in buckets of type PICKLIST and buckets of type TEXT).

public void setSourceDimensionValues(List<String> sourceDimensionValues)

Type: void

Returns a string.

public String toString()

Type: String