public interface CollectionManager
Collection| Modifier and Type | Field and Description |
|---|---|
static String |
AVAILABLE |
static String |
COLLECTIONS |
static String |
CONFIGURATION_ID |
static String |
CREATED |
static String |
DESCRIPTION |
static String |
DOCUMENT_COUNTS |
static String |
FAILED |
static String |
FIELD |
static String |
FIELDS |
static String |
ID |
static String |
LANGUAGE |
static String |
NAME |
static String |
PROCESSING |
static String |
STATUS |
static String |
TYPE |
static String |
UPDATED |
| Modifier and Type | Method and Description |
|---|---|
ServiceCall<CreateCollectionResponse> |
createCollection(CreateCollectionRequest createRequest)
Creates a
Collection. |
ServiceCall<DeleteCollectionResponse> |
deleteCollection(DeleteCollectionRequest deleteRequest)
Deletes a
Collection. |
ServiceCall<GetCollectionResponse> |
getCollection(GetCollectionRequest getRequest)
Gets a
Collection. |
ServiceCall<GetCollectionFieldsResponse> |
getCollectionFields(GetCollectionFieldsRequest getRequest)
Gets a list of unique
Fields from a Collection. |
ServiceCall<GetCollectionsResponse> |
getCollections(GetCollectionsRequest getRequest)
Gets a list of
Collection. |
static final String COLLECTIONS
static final String ID
static final String NAME
static final String DESCRIPTION
static final String CREATED
static final String UPDATED
static final String STATUS
static final String CONFIGURATION_ID
static final String LANGUAGE
static final String DOCUMENT_COUNTS
static final String AVAILABLE
static final String PROCESSING
static final String FAILED
static final String FIELDS
static final String FIELD
static final String TYPE
ServiceCall<GetCollectionsResponse> getCollections(GetCollectionsRequest getRequest)
Collection. An optional parameter of name can be provided to filter by name.getRequest - options for getting the CollectionsGetCollectionsResponse containing the result of GetCollectionsRequestServiceCall<GetCollectionResponse> getCollection(GetCollectionRequest getRequest)
Collection.getRequest - options for getting the CollectionGetCollectionResponse containing the result of GetCollectionRequestServiceCall<CreateCollectionResponse> createCollection(CreateCollectionRequest createRequest)
Collection.createRequest - options for creating a CollectionCreateCollectionResponse containing the result of CreateCollectionRequestServiceCall<DeleteCollectionResponse> deleteCollection(DeleteCollectionRequest deleteRequest)
Collection.deleteRequest - options for deleting a CollectionDeleteCollectionResponse containing the result of DeleteCollectionRequestServiceCall<GetCollectionFieldsResponse> getCollectionFields(GetCollectionFieldsRequest getRequest)
Fields from a Collection.getRequest - options for getting a unique fields from a CollectionGetCollectionFieldsResponse containing the result of GetCollectionFieldsRequestCopyright © 2015–2016 IBM Watson. All rights reserved.