@StableMinor(version="10.1", sinceVersion="8.1") public interface IBigDataRepository extends IBigDataIndexer, IBigDataSearcher
indexer
and
searcher
.IBigDataIndexer
,
IBigDataSearcher
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdateDocumentType(DocumentType documentType)
Adds or updates a document type into managed indices.
|
void |
deleteDocumentType(String documentTypeId)
Deletes a given document type from managed indices.
|
Object |
getDelegate()
Returns an underlying big data implementation object, if available.
|
DocumentType |
getDocumentType(String documentTypeId)
Returns the document type of the given identifier.
|
DocumentTypeField |
getDocumentTypeField(String documentTypeFieldFullId)
Return the document type field of the field that has the given identifier.
|
IBatchIndexer |
startBatch()
Returns an indexer to perform bulk actions.
The caller must assure IBatchIndexer.close() is called after the desired bulk operations were
performed. |
addDocument, deleteDocumentsByFieldValue, deleteDocumentsByFieldValue, deleteDocumentsByQuery
getAutoCompleteSuggestions, search, validate
IBatchIndexer startBatch()
IBatchIndexer.close()
is called after the desired bulk operations were
performed.
Example of usage:
Or using try-with-resources:
void addOrUpdateDocumentType(DocumentType documentType)
documentType
- the document type to be added.DocumentTypes
void deleteDocumentType(String documentTypeId) throws PortalObjectNotFoundException
documentTypeId
- the document type identifier to be deleted.PortalObjectNotFoundException
- if the document type with the given identifier couldn't be found.DocumentType getDocumentType(String documentTypeId) throws PortalObjectNotFoundException
documentTypeId
- the document type identifier.PortalObjectNotFoundException
- if the desired type does not exist.DocumentTypeField getDocumentTypeField(String documentTypeFieldFullId) throws PortalObjectNotFoundException
documentTypeFieldFullId
- the (full) identifier of the document type field.PortalObjectNotFoundException
- if the desired field does not exist.Object getDelegate()
null
.
This method may be used by a repository as a way to expose some extra API to its clients.
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.