Package | Description |
---|---|
org.modeshape.jcr.index.local | |
org.modeshape.jcr.spi.index.provider |
This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate
how ModeShape updates and uses a set of particular indexes.
|
Modifier and Type | Method and Description |
---|---|
protected ManagedIndex |
LocalIndexProvider.createIndex(IndexDefinition defn,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback) |
protected ManagedIndex |
LocalIndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback) |
Modifier and Type | Method and Description |
---|---|
protected void |
LocalIndexProvider.removeIndex(IndexDefinition oldDefn,
ManagedIndex existingIndex,
String workspaceName) |
protected ManagedIndex |
LocalIndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback) |
Modifier and Type | Method and Description |
---|---|
protected abstract ManagedIndex |
IndexProvider.createIndex(IndexDefinition defn,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback)
Method called when this provider needs to create a new index given the unique pair of workspace name and index definition.
|
protected abstract ManagedIndex |
IndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback)
Method called when this provider needs to update an existing index given the unique pair of workspace name and index
definition.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
IndexProvider.removeIndex(IndexDefinition oldDefn,
ManagedIndex existingIndex,
String workspaceName)
Method called when this provider needs to remove an existing index given the unique pair of workspace name and index
definition.
|
protected abstract ManagedIndex |
IndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback)
Method called when this provider needs to update an existing index given the unique pair of workspace name and index
definition.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.