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,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,FieldDescriptor> fieldDescriptorConsumer)
entities - the entities to extract the fields fromfieldDescriptorConsumer - the consumer into which all FieldDescriptors should be pushed.Copyright © 2003–2023 Atlassian. All rights reserved.