T
- The type of the entities being processed.@ExperimentalApi
public interface BulkExtractor<T>
Extractor2
interface.Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Class<?> type) |
void |
extractAll(Collection<T> entities,
Class<? extends T> entityType,
BiConsumer<T,com.atlassian.confluence.plugins.index.api.FieldDescriptor> fieldDescriptorConsumer)
Extracts all indexable data from all of the given entities
|
boolean canHandle(@Nonnull Class<?> type)
void extractAll(@Nonnull Collection<T> entities, @Nonnull Class<? extends T> entityType, @Nonnull BiConsumer<T,com.atlassian.confluence.plugins.index.api.FieldDescriptor> fieldDescriptorConsumer)
entities
- the entities to extract the fields fromfieldDescriptorConsumer
- the consumer into which all FieldDescriptor
s should be pushed.Copyright © 2003–2021 Atlassian. All rights reserved.
View cookie preferences