Class Histogram
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.QueryAggregation
com.ibm.watson.discovery.v1.model.Histogram
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Histogram extends QueryAggregation
Histogram.
-
Constructor Summary
Constructors Constructor Description Histogram()
-
Method Summary
Modifier and Type Method Description String
getField()
Gets the field.Long
getInterval()
Gets the interval.Methods inherited from class com.ibm.watson.discovery.v1.model.QueryAggregation
getAggregations, getMatchingResults, getResults, getType
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Histogram
public Histogram()
-
-
Method Details
-
getField
Gets the field.The field where the aggregation is located in the document.
- Returns:
- the field
-
getInterval
Gets the interval.Interval of the aggregation. (For 'histogram' type).
- Returns:
- the interval
-