public class QueryResult extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
Constructor and Description |
---|
QueryResult() |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentId()
Gets the documentId.
|
List<QueryResultPassage> |
getDocumentPassages()
Gets the documentPassages.
|
Map<String,Object> |
getMetadata()
Gets the metadata.
|
QueryResultMetadata |
getResultMetadata()
Gets the resultMetadata.
|
public String getDocumentId()
The unique identifier of the document.
public Map<String,Object> getMetadata()
Metadata of the document.
public QueryResultMetadata getResultMetadata()
Metadata of a query result.
public List<QueryResultPassage> getDocumentPassages()
Passages returned by Discovery.
Copyright © 2021 IBM Cloud. All rights reserved.