BucketFieldValue Class

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

Namespace

Reports

BucketFieldValue Constructors

The following are constructors for BucketFieldValue.

BucketFieldValue(label, sourceDimensionValues, rangeUpperBound)

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

Signature

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

Parameters

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).

BucketFieldValue()

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

Signature

public BucketFieldValue()

BucketFieldValue Methods

The following are methods for BucketFieldValue.

getLabel()

Returns the user-facing name of the bucket category.

Signature

public String getLabel()

Return Value

Type: String

getRangeUpperBound()

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

Signature

public Double getRangeUpperBound()

Return Value

Type: Double

getSourceDimensionValues()

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).

Signature

public List<String> getSourceDimensionValues()

Return Value

Type: List<String>

setLabel(label)

Set the user-facing name of the bucket category.

Signature

public void setLabel(String label)

Parameters

label
Type: String

Return Value

Type: void

setRangeUpperBound(rangeUpperBound)

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

Signature

public void setRangeUpperBound(Double rangeUpperBound)

Parameters

rangeUpperBound
Type: Double

Return Value

Type: void

setSourceDimensionValues(sourceDimensionValues)

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

Signature

public void setSourceDimensionValues(List<String> sourceDimensionValues)

Parameters

sourceDimensionValues
Type: List<String>

Return Value

Type: void

toString()

Returns a string.

Signature

public String toString()

Return Value

Type: String