Class QueryNoticesResponse
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.QueryNoticesResponse
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryNoticesResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing notice query results.
-
Constructor Summary
Constructors Constructor Description QueryNoticesResponse()
-
Method Summary
Modifier and Type Method Description List<QueryAggregation>
getAggregations()
Gets the aggregations.Long
getDuplicatesRemoved()
Gets the duplicatesRemoved.Long
getMatchingResults()
Gets the matchingResults.List<QueryPassages>
getPassages()
Gets the passages.List<QueryNoticesResult>
getResults()
Gets the results.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
QueryNoticesResponse
public QueryNoticesResponse()
-
-
Method Details
-
getMatchingResults
Gets the matchingResults.The number of matching results.
- Returns:
- the matchingResults
-
getResults
Gets the results.Array of document results that match the query.
- Returns:
- the results
-
getAggregations
Gets the aggregations.Array of aggregation results that match the query.
- Returns:
- the aggregations
-
getPassages
Gets the passages.Array of passage results that match the query.
- Returns:
- the passages
-
getDuplicatesRemoved
Gets the duplicatesRemoved.The number of duplicates removed from this notices query.
- Returns:
- the duplicatesRemoved
-