public final class ContentModifiersBulkExtractor extends Object implements BulkExtractor<ConfluenceEntityObject>
SearchFieldNames.LAST_MODIFIERS from ContentEntityObjects.| Constructor and Description |
|---|
ContentModifiersBulkExtractor(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Class<?> entityType) |
void |
extractAll(Collection<ConfluenceEntityObject> entities,
Class<? extends ConfluenceEntityObject> entityType,
BiConsumer<ConfluenceEntityObject,com.atlassian.confluence.plugins.index.api.FieldDescriptor> sink)
Extracts all indexable data from all of the given entities
|
public ContentModifiersBulkExtractor(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao)
public boolean canHandle(Class<?> entityType)
canHandle in interface BulkExtractor<ConfluenceEntityObject>public void extractAll(Collection<ConfluenceEntityObject> entities, Class<? extends ConfluenceEntityObject> entityType, BiConsumer<ConfluenceEntityObject,com.atlassian.confluence.plugins.index.api.FieldDescriptor> sink)
BulkExtractorextractAll in interface BulkExtractor<ConfluenceEntityObject>entities - the entities to extract the fields fromsink - the consumer into which all FieldDescriptors should be pushed.Copyright © 2003–2021 Atlassian. All rights reserved.