public class NodeCounterEditorProvider extends java.lang.Object implements IndexEditorProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESOLUTION |
static java.lang.String |
SEED |
static java.lang.String |
TYPE |
Constructor and Description |
---|
NodeCounterEditorProvider() |
Modifier and Type | Method and Description |
---|---|
Editor |
getIndexEditor(java.lang.String type,
NodeBuilder definition,
NodeState root,
IndexUpdateCallback callback)
Each provider knows how to produce a certain type of index.
|
public static final java.lang.String TYPE
public static final java.lang.String RESOLUTION
public static final java.lang.String SEED
public Editor getIndexEditor(java.lang.String type, NodeBuilder definition, NodeState root, IndexUpdateCallback callback) throws CommitFailedException
IndexEditorProvider
type
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 IndexEditorProvider
type
- 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 unknownCommitFailedException
"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"