org.apache.jackrabbit.oak.plugins.index.lucene
Class LuceneIndexEditor

java.lang.Object
  extended by org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor
All Implemented Interfaces:
org.apache.jackrabbit.oak.plugins.index.IndexEditor, org.apache.jackrabbit.oak.spi.commit.Editor

public class LuceneIndexEditor
extends Object
implements org.apache.jackrabbit.oak.plugins.index.IndexEditor

IndexEditor implementation that is responsible for keeping the LuceneIndex up to date

See Also:
LuceneIndex

Method Summary
 org.apache.jackrabbit.oak.spi.commit.Editor childNodeAdded(String name, org.apache.jackrabbit.oak.spi.state.NodeState after)
           
 org.apache.jackrabbit.oak.spi.commit.Editor childNodeChanged(String name, org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after)
           
 org.apache.jackrabbit.oak.spi.commit.Editor childNodeDeleted(String name, org.apache.jackrabbit.oak.spi.state.NodeState before)
           
 void enter(org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after)
           
 String getPath()
           
 void leave(org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after)
           
 void propertyAdded(org.apache.jackrabbit.oak.api.PropertyState after)
           
 void propertyChanged(org.apache.jackrabbit.oak.api.PropertyState before, org.apache.jackrabbit.oak.api.PropertyState after)
           
 void propertyDeleted(org.apache.jackrabbit.oak.api.PropertyState before)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public String getPath()

enter

public void enter(org.apache.jackrabbit.oak.spi.state.NodeState before,
                  org.apache.jackrabbit.oak.spi.state.NodeState after)
           throws org.apache.jackrabbit.oak.api.CommitFailedException
Specified by:
enter in interface org.apache.jackrabbit.oak.spi.commit.Editor
Throws:
org.apache.jackrabbit.oak.api.CommitFailedException

leave

public void leave(org.apache.jackrabbit.oak.spi.state.NodeState before,
                  org.apache.jackrabbit.oak.spi.state.NodeState after)
           throws org.apache.jackrabbit.oak.api.CommitFailedException
Specified by:
leave in interface org.apache.jackrabbit.oak.spi.commit.Editor
Throws:
org.apache.jackrabbit.oak.api.CommitFailedException

propertyAdded

public void propertyAdded(org.apache.jackrabbit.oak.api.PropertyState after)
Specified by:
propertyAdded in interface org.apache.jackrabbit.oak.spi.commit.Editor

propertyChanged

public void propertyChanged(org.apache.jackrabbit.oak.api.PropertyState before,
                            org.apache.jackrabbit.oak.api.PropertyState after)
Specified by:
propertyChanged in interface org.apache.jackrabbit.oak.spi.commit.Editor

propertyDeleted

public void propertyDeleted(org.apache.jackrabbit.oak.api.PropertyState before)
Specified by:
propertyDeleted in interface org.apache.jackrabbit.oak.spi.commit.Editor

childNodeAdded

public org.apache.jackrabbit.oak.spi.commit.Editor childNodeAdded(String name,
                                                                  org.apache.jackrabbit.oak.spi.state.NodeState after)
Specified by:
childNodeAdded in interface org.apache.jackrabbit.oak.spi.commit.Editor

childNodeChanged

public org.apache.jackrabbit.oak.spi.commit.Editor childNodeChanged(String name,
                                                                    org.apache.jackrabbit.oak.spi.state.NodeState before,
                                                                    org.apache.jackrabbit.oak.spi.state.NodeState after)
Specified by:
childNodeChanged in interface org.apache.jackrabbit.oak.spi.commit.Editor

childNodeDeleted

public org.apache.jackrabbit.oak.spi.commit.Editor childNodeDeleted(String name,
                                                                    org.apache.jackrabbit.oak.spi.state.NodeState before)
                                                             throws org.apache.jackrabbit.oak.api.CommitFailedException
Specified by:
childNodeDeleted in interface org.apache.jackrabbit.oak.spi.commit.Editor
Throws:
org.apache.jackrabbit.oak.api.CommitFailedException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.