Class LogQueryResponseResultDocumentsResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.LogQueryResponseResultDocumentsResult
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LogQueryResponseResultDocumentsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Each object in the **results** array corresponds to an individual document returned by the
 original query.
- 
Constructor SummaryConstructors Constructor Description LogQueryResponseResultDocumentsResult()
- 
Method SummaryModifier and Type Method Description StringgetCollectionId()Gets the collectionId.DoublegetConfidence()Gets the confidence.StringgetDocumentId()Gets the documentId.LonggetPosition()Gets the position.DoublegetScore()Gets the score.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
LogQueryResponseResultDocumentsResultpublic LogQueryResponseResultDocumentsResult()
 
- 
- 
Method Details- 
getPositionGets the position.The result rank of this document. A position of `1` indicates that it was the first returned result. - Returns:
- the position
 
- 
getDocumentIdGets the documentId.The **document_id** of the document that this result represents. - Returns:
- the documentId
 
- 
getScoreGets the score.The raw score of this result. A higher score indicates a greater match to the query parameters. - Returns:
- the score
 
- 
getConfidenceGets the confidence.The confidence score of the result's analysis. A higher score indicating greater confidence. - Returns:
- the confidence
 
- 
getCollectionIdGets the collectionId.The **collection_id** of the document represented by this result. - Returns:
- the collectionId
 
 
-