Class Term

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.QueryAggregation
com.ibm.watson.discovery.v1.model.Term
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Term
extends QueryAggregation
Term.
  • Constructor Details

    • Term

      public Term()
  • Method Details

    • getField

      public String getField()
      Gets the field.

      The field where the aggregation is located in the document.

      Returns:
      the field
    • getCount

      public Long getCount()
      Gets the count.

      The number of terms identified.

      Returns:
      the count