Class LuceneIndexVersionOperation
- java.lang.Object
-
- org.apache.jackrabbit.oak.indexversion.IndexVersionOperation
-
- org.apache.jackrabbit.oak.indexversion.LuceneIndexVersionOperation
-
public class LuceneIndexVersionOperation extends IndexVersionOperation
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexVersionOperation(IndexName indexName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)
protected IndexName
getActiveIndex(List<IndexName> reverseSortedIndexNameList, String parentPath, NodeState rootNode)
protected IndexVersionOperation
getIndexVersionOperationInstance(IndexName indexName)
-
Methods inherited from class org.apache.jackrabbit.oak.indexversion.IndexVersionOperation
generateIndexVersionOperationList, generateIndexVersionOperationList, getIndexName, getOperation, isHiddenOakMountExists, setOperation, toString
-
-
-
-
Constructor Detail
-
LuceneIndexVersionOperation
public LuceneIndexVersionOperation(IndexName indexName)
-
-
Method Detail
-
getIndexVersionOperationInstance
protected IndexVersionOperation getIndexVersionOperationInstance(IndexName indexName)
- Specified by:
getIndexVersionOperationInstance
in classIndexVersionOperation
-
checkIfDisabledIndexCanBeMarkedForDeletion
protected boolean checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)
- Specified by:
checkIfDisabledIndexCanBeMarkedForDeletion
in classIndexVersionOperation
- Parameters:
indexNode
- - NodeState of a disabled index- Returns:
- true if the disabled index with NodeState indexNode can be marked for deletion or not.
-
getActiveIndex
protected IndexName getActiveIndex(List<IndexName> reverseSortedIndexNameList, String parentPath, NodeState rootNode)
- Specified by:
getActiveIndex
in classIndexVersionOperation
- Returns:
- Highest versioned active index's IndexName
-
-