Class IndexVersionOperation
- java.lang.Object
-
- org.apache.jackrabbit.oak.indexversion.IndexVersionOperation
-
public class IndexVersionOperation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IndexVersionOperation(org.apache.jackrabbit.oak.plugins.index.search.spi.query.IndexName indexName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<IndexVersionOperation>generateIndexVersionOperationList(org.apache.jackrabbit.oak.spi.state.NodeState indexDefParentNode, java.util.List<org.apache.jackrabbit.oak.plugins.index.search.spi.query.IndexName> indexNameObjectList, long purgeThresholdMillis)org.apache.jackrabbit.oak.plugins.index.search.spi.query.IndexNamegetIndexName()org.apache.jackrabbit.oak.indexversion.IndexVersionOperation.OperationgetOperation()voidsetOperation(org.apache.jackrabbit.oak.indexversion.IndexVersionOperation.Operation operation)java.lang.StringtoString()
-
-
-
Method Detail
-
setOperation
public void setOperation(org.apache.jackrabbit.oak.indexversion.IndexVersionOperation.Operation operation)
-
getOperation
public org.apache.jackrabbit.oak.indexversion.IndexVersionOperation.Operation getOperation()
-
getIndexName
public org.apache.jackrabbit.oak.plugins.index.search.spi.query.IndexName getIndexName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
generateIndexVersionOperationList
public static java.util.List<IndexVersionOperation> generateIndexVersionOperationList(org.apache.jackrabbit.oak.spi.state.NodeState indexDefParentNode, java.util.List<org.apache.jackrabbit.oak.plugins.index.search.spi.query.IndexName> indexNameObjectList, long purgeThresholdMillis)
- Parameters:
indexDefParentNode- NodeState of parent of baseIndexindexNameObjectList- This is a list of IndexName Objects with same baseIndexName on which operations will be applied.purgeThresholdMillis- after which a fully functional index is eligible for purge operations- Returns:
- This method returns an IndexVersionOperation list i.e indexNameObjectList marked with operations
-
-