public class OrderedPropertyIndexEditorProvider extends java.lang.Object implements IndexEditorProvider, OrderedIndex
OrderedIndex.OrderDirectionDEFAULT_DIRECTION, DEPRECATION_MESSAGE, DIRECTION, TRACK_DEPRECATION_EVERY, TYPE| Constructor and Description |
|---|
OrderedPropertyIndexEditorProvider() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Editor |
getIndexEditor(@NotNull java.lang.String type,
@NotNull NodeBuilder definition,
@NotNull NodeState root,
@NotNull IndexUpdateCallback callback)
Each provider knows how to produce a certain type of index.
|
@Nullable public @Nullable Editor getIndexEditor(@NotNull @NotNull java.lang.String type, @NotNull @NotNull NodeBuilder definition, @NotNull @NotNull NodeState root, @NotNull @NotNull IndexUpdateCallback callback) throws CommitFailedException
IndexEditorProvidertype param is of an unknown value, the provider is expected
to return null.
The definition builder must points to the index definition
node under which the indexer is expected to store the index content.
The callback instance may be of type ContextAwareCallback
and that can be used to access IndexingContext
getIndexEditor in interface IndexEditorProvidertype - index typedefinition - index definition node builder, used for updatesroot - root node state, used for things like node type informationcallback - used to register for index update notificationsnull if type is unknownCommitFailedExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved