Interface ReferenceAwareValueIndexSupporting<T>
- Type Parameters:
T
- Value type, same as inValueEngineer
public interface ReferenceAwareValueIndexSupporting<T>
Aspect for
Implementors must
ValueEngineer
s supporting reference-aware indexing and full text searching.
Implementors must
appendIndexData(ValueIndexer, Object, boolean)
provide indexing data} for values.- Since:
- 5.0.100
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ValueEngineerAspectType<ReferenceAwareValueIndexSupporting<?>>
Aspect forValueEngineer
s supporting recursion-aware indexing and full text searching. -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendIndexData
(@NotNull ValueIndexer indexer, T value, boolean includeReferences) Asks to append indexing data for the given value to the handed indexer.
-
Field Details
-
TYPE
Aspect forValueEngineer
s supporting recursion-aware indexing and full text searching.- Since:
- 5.0.100
-
-
Method Details
-
appendIndexData
void appendIndexData(@NotNull @NotNull ValueIndexer indexer, @NotNull T value, boolean includeReferences) Asks to append indexing data for the given value to the handed indexer. If the request is flagged to include references, data of referenced elements should be included in the indexing process, otherwise, a (simplified textual) representation of their values may be added.- Parameters:
indexer
- The indexer to append to.value
- The value to append data for.includeReferences
- Indicates to recursively collect data in case of referenced elements.- Since:
- 5.0.100
-