Package | Description |
---|---|
org.modeshape.jcr.index.local | |
org.modeshape.jcr.spi.index |
This package contains the interfaces for managing index providers and index definitions.
|
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 | Field and Description |
---|---|
protected NodeTypes.Supplier |
ManagedLocalIndexBuilder.nodeTypesSupplier |
Modifier and Type | Method and Description |
---|---|
protected NodeTypes.Supplier |
ManagedLocalIndexBuilder.getNodeTypesSupplier() |
Modifier and Type | Method and Description |
---|---|
static <T> ManagedLocalIndexBuilder<T> |
ManagedLocalIndexBuilder.create(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier)
Create a builder for the supplied index definition.
|
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) |
void |
LocalIndexProvider.validateProposedIndex(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypeSupplier,
Problems problems) |
Constructor and Description |
---|
ManagedLocalIndexBuilder.SingleColumnIndexBuilder(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
PropertyType actualPropertyType) |
ManagedLocalIndexBuilder(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier) |
Modifier and Type | Field and Description |
---|---|
protected NodeTypes.Supplier |
IndexChangeSetListeners.IndexChangeSetListener.nodeTypesSupplier |
Modifier and Type | Method and Description |
---|---|
static ChangeSetListener |
IndexChangeSetListeners.create(ExecutionContext context,
NodeTypes.Supplier nodeTypesSupplier,
IndexDefinition indexDefinition,
IndexChangeSetListeners.MultiColumnIndexOperations operations)
Create a new ChangeSetListener implementation that can update multi-column indexes.
|
static ChangeSetListener |
IndexChangeSetListeners.create(ExecutionContext context,
NodeTypes.Supplier nodeTypesSupplier,
IndexDefinition indexDefinition,
IndexChangeSetListeners.SingleColumnIndexOperations operations)
Create a new ChangeSetListener implementation that can update single-column indexes.
|
Constructor and Description |
---|
IndexChangeSetListeners.IndexChangeSetListener(String localProcessKey,
NodeTypes.Supplier nodeTypesSupplier,
Name nodeType) |
IndexChangeSetListeners.MultiPropertyIndexChangeSetListener(String localProcessKey,
NodeTypes.Supplier nodeTypesSupplier,
Name nodeType,
Name[] indexedPropertyNames,
IndexChangeSetListeners.MultiColumnIndexOperations ops) |
IndexChangeSetListeners.SinglePropertyIndexChangeSetListener(String localProcessKey,
NodeTypes.Supplier nodeTypesSupplier,
Name nodeType,
Name indexedPropertyName,
IndexChangeSetListeners.SingleColumnIndexOperations ops) |
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.
|
void |
IndexProvider.notify(IndexDefinitionChanges changes,
Observable observable,
NodeTypes.Supplier nodeTypesSupplier,
Set<String> workspaceNames,
IndexFeedback feedback)
Signal that some of the definitions of indexes owned by this provider were changed.
|
void |
IndexProvider.notify(WorkspaceChanges changes,
Observable observable,
NodeTypes.Supplier nodeTypesSupplier,
Set<String> workspaceNames,
IndexFeedback feedback)
Signal that some workspaces were added or removed.
|
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.
|
abstract void |
IndexProvider.validateProposedIndex(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
Problems problems)
Validate the proposed index definition, and use the supplied problems to report any issues that will prevent this provider
from creating and using an index with the given definition.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.