@Immutable public final class NoOpQueryIndexWriter extends Object implements IndexWriter
| Modifier and Type | Field and Description |
|---|---|
static NoOpQueryIndexWriter |
INSTANCE |
| 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.
|
public static final NoOpQueryIndexWriter INSTANCE
public boolean canBeSkipped()
IndexWritercanBeSkipped in interface IndexWriterpublic void clearAllIndexes()
IndexWriterclearAllIndexes 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.