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
Field s 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 Collection
sGetCollectionsResponse
containing the result of GetCollectionsRequest
ServiceCall<GetCollectionResponse> getCollection(GetCollectionRequest getRequest)
Collection
.getRequest
- options for getting the Collection
GetCollectionResponse
containing the result of GetCollectionRequest
ServiceCall<CreateCollectionResponse> createCollection(CreateCollectionRequest createRequest)
Collection
.createRequest
- options for creating a Collection
CreateCollectionResponse
containing the result of CreateCollectionRequest
ServiceCall<DeleteCollectionResponse> deleteCollection(DeleteCollectionRequest deleteRequest)
Collection
.deleteRequest
- options for deleting a Collection
DeleteCollectionResponse
containing the result of DeleteCollectionRequest
ServiceCall<GetCollectionFieldsResponse> getCollectionFields(GetCollectionFieldsRequest getRequest)
Field
s from a Collection
.getRequest
- options for getting a unique fields from a Collection
GetCollectionFieldsResponse
containing the result of GetCollectionFieldsRequest
Copyright © 2015–2016 IBM Watson. All rights reserved.