public class CompositeIndexWriter extends Object implements IndexWriter
| Modifier | Constructor and Description |
|---|---|
protected |
CompositeIndexWriter(List<IndexWriter> writers) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
CachedNode.Properties properties)
Add to the index the information about a node.
|
boolean |
canBeSkipped()
Flag that defines whether this index may be skipped.
|
void |
clearAllIndexes()
Clear all indexes of content.
|
static IndexWriter |
create(Iterable<IndexProvider> providers) |
protected CompositeIndexWriter(List<IndexWriter> writers)
public static IndexWriter create(Iterable<IndexProvider> providers)
public void clearAllIndexes()
IndexWriterclearAllIndexes in interface IndexWriterpublic boolean canBeSkipped()
IndexWritercanBeSkipped in interface IndexWriterpublic void add(String workspace, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, CachedNode.Properties properties)
IndexWriteradd in interface IndexWriterworkspace - the workspace in which the node information should be available; may not be nullkey - the unique key for the node; may not be nullpath - the path of the node; may not be nullprimaryType - the primary type of the node; may not be nullmixinTypes - the mixin types for the node; may not be null but may be emptyproperties - the properties of the node; may not be null but may be emptyCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.