Class ContentModifiersBulkExtractor
java.lang.Object
com.atlassian.confluence.impl.search.v2.extractor.ContentModifiersBulkExtractor
- All Implemented Interfaces:
BulkExtractor<ConfluenceEntityObject>
public final class ContentModifiersBulkExtractor
extends Object
implements BulkExtractor<ConfluenceEntityObject>
A BulkExtractor which extracts the
SearchFieldMappings.LAST_MODIFIERS from ContentEntityObjects.- Since:
- 7.14
-
Constructor Summary
ConstructorsConstructorDescriptionContentModifiersBulkExtractor(ContentEntityObjectDaoInternal contentEntityObjectDao) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidextractAll(Collection<ConfluenceEntityObject> entities, Class<? extends ConfluenceEntityObject> entityType, BiConsumer<ConfluenceEntityObject, FieldDescriptor> sink) Extracts all indexable data from all of the given entities
-
Constructor Details
-
ContentModifiersBulkExtractor
-
-
Method Details
-
canHandle
- Specified by:
canHandlein interfaceBulkExtractor<ConfluenceEntityObject>- Returns:
- true of the extractor can handle entities of the given type, else false
-
extractAll
public void extractAll(Collection<ConfluenceEntityObject> entities, Class<? extends ConfluenceEntityObject> entityType, BiConsumer<ConfluenceEntityObject, FieldDescriptor> sink) Description copied from interface:BulkExtractorExtracts all indexable data from all of the given entities- Specified by:
extractAllin interfaceBulkExtractor<ConfluenceEntityObject>- Parameters:
entities- the entities to extract the fields fromsink- the consumer into which allFieldDescriptors should be pushed.
-