BucketFieldValue Class
Contains information about the report values included in a bucket field.
The following are constructors for BucketFieldValue.
-
BucketFieldValue(label, sourceDimensionValues, rangeUpperBound)
Creates an instance of the
Reports.BucketFieldValueclass using the specified parameters. -
Creates an instance of the
Reports.BucketFieldValueclass. You can then set values by using the class’ssetmethods.
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:
A list of the values from the source field included in this bucket category (in buckets of type
PICKLISTand buckets of typeTEXT). -
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.
-
Returns the greatest range limit under which values are included in this bucket category (in buckets of type
NUMBER). -
Returns a list of the values from the source field included in this bucket category (in buckets of type
PICKLISTand buckets of typeTEXT). -
Set the user-facing name of the bucket category.
-
setRangeUpperBound(rangeUpperBound)
Sets the greatest limit of a range under which values are included in this bucket category (in buckets of type
NUMBER). -
setSourceDimensionValues(sourceDimensionValues)
Specifies the values from the source field included in this bucket category (in buckets of type
PICKLISTand buckets of typeTEXT). -
Returns a string.
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()
Set the user-facing name of the bucket category.
public void setLabel(String label)
-
label:
Type: String
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