public class QueryNoticesResult
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
Modifier and Type | Class and Description |
---|---|
static interface |
QueryNoticesResult.FileType
The type of the original source file.
|
Constructor and Description |
---|
QueryNoticesResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCode()
Gets the code.
|
java.lang.String |
getDocumentId()
Gets the documentId.
|
java.util.List<QueryResultPassage> |
getDocumentPassages()
Gets the documentPassages.
|
java.lang.String |
getFilename()
Gets the filename.
|
java.lang.String |
getFileType()
Gets the fileType.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
Gets the metadata.
|
java.util.List<Notice> |
getNotices()
Gets the notices.
|
QueryResultMetadata |
getResultMetadata()
Gets the resultMetadata.
|
java.lang.String |
getSha1()
Gets the sha1.
|
public java.lang.String getDocumentId()
The unique identifier of the document.
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
Metadata of the document.
public QueryResultMetadata getResultMetadata()
Metadata of a query result.
public java.util.List<QueryResultPassage> getDocumentPassages()
Passages returned by Discovery.
public java.lang.Long getCode()
The internal status code returned by the ingestion subsystem indicating the overall result of ingesting the source document.
public java.lang.String getFilename()
Name of the original source file (if available).
public java.lang.String getFileType()
The type of the original source file.
public java.lang.String getSha1()
The SHA-1 hash of the original source file (formatted as a hexadecimal string).
public java.util.List<Notice> getNotices()
Array of notices for the document.