Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_ID |
static String |
CREATED |
static String |
FILE |
static String |
ID |
static String |
STATUS |
static String |
STATUS_DESCRIPTION |
static String |
UPDATED |
Modifier and Type | Method and Description |
---|---|
ServiceCall<CreateDocumentResponse> |
createDocument(CreateDocumentRequest createRequest)
Starts ingesting a document with optional metadata and optional configuration overrides.
|
ServiceCall<DeleteDocumentResponse> |
deleteDocument(DeleteDocumentRequest deleteRequest)
Deletes a
Document . |
ServiceCall<GetDocumentResponse> |
getDocument(GetDocumentRequest getRequest)
Gets a
Document . |
ServiceCall<UpdateDocumentResponse> |
updateDocument(UpdateDocumentRequest updateRequest)
Starts ingesting a source document to create or replace an existing document.
|
static final String ID
static final String CONFIGURATION_ID
static final String CREATED
static final String UPDATED
static final String STATUS
static final String STATUS_DESCRIPTION
static final String FILE
ServiceCall<GetDocumentResponse> getDocument(GetDocumentRequest getRequest)
Document
.getRequest
- options for getting a Document
GetDocumentResponse
containing the details of GetDocumentRequest
ServiceCall<CreateDocumentResponse> createDocument(CreateDocumentRequest createRequest)
createRequest
- options for creating a Document
CreateDocumentResponse
containing the details of CreateDocumentRequest
ServiceCall<DeleteDocumentResponse> deleteDocument(DeleteDocumentRequest deleteRequest)
Document
.deleteRequest
- options for deleting a Document
DeleteDocumentResponse
containing the details of DeleteDocumentRequest
ServiceCall<UpdateDocumentResponse> updateDocument(UpdateDocumentRequest updateRequest)
updateRequest
- options for updating a Document
UpdateDocumentResponse
containing the details of UpdateDocumentRequest
Copyright © 2015–2016 IBM Watson. All rights reserved.