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 |
---|---|
static IndexChangeAdapter |
IndexChangeAdapters.forMixinTypes(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:mixinTypes" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forMultiValuedEnumeratedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
org.modeshape.jcr.index.local.LocalEnumeratedIndex index)
Create an
IndexChangeAdapter implementation that handles a multi-valued enumerated property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forMultiValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a multi-valued property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeDepth(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Long> index)
Create an
IndexChangeAdapter implementation that handles the "mode:nodeDepth" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeLocalName(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<String> index)
Create an
IndexChangeAdapter implementation that handles the "mode:localName" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeName(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:name" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodePath(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Path> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:path" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeTypes(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
LocalIndex<String> index)
Create an
IndexChangeAdapter implementation that handles node type information. |
static IndexChangeAdapter |
IndexChangeAdapters.forPrimaryType(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:primaryType" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forSingleValuedEnumeratedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
org.modeshape.jcr.index.local.LocalEnumeratedIndex index)
Create an
IndexChangeAdapter implementation that handles a single-valued enumerated property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forSingleValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a single-valued property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forUniqueValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalUniqueIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a unique-valued property, where every property value is
unique across all nodes. |
IndexChangeAdapter |
ManagedLocalIndex.getIndexChangeAdapter() |
Modifier and Type | Method and Description |
---|---|
IndexChangeAdapter |
ManagedIndex.getIndexChangeAdapter()
Get the ChangeSetAdapter implementation through which changes to content are sent to the index.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.