Class IndexStoreSortStrategyBase
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.indexstore.IndexStoreSortStrategyBase
-
- All Implemented Interfaces:
SortStrategy
,IndexStoreSortStrategy
- Direct Known Subclasses:
PipelinedStrategy
,PipelinedTreeStoreStrategy
public abstract class IndexStoreSortStrategyBase extends Object implements IndexStoreSortStrategy
-
-
Constructor Summary
Constructors Constructor Description IndexStoreSortStrategyBase(File storeDir, Compression algorithm, Predicate<String> pathPredicate, Set<String> preferredPaths, String checkpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
createMetadataFile()
Compression
getAlgorithm()
String
getCheckpoint()
Predicate<String>
getPathPredicate()
Set<String>
getPreferredPaths()
File
getStoreDir()
String
getStoreType()
String
getStrategyName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.index.indexer.document.flatfile.SortStrategy
createSortedStoreFile, getEntryCount
-
-
-
-
Method Detail
-
getStoreDir
public File getStoreDir()
- Specified by:
getStoreDir
in interfaceIndexStoreSortStrategy
-
getAlgorithm
public Compression getAlgorithm()
- Specified by:
getAlgorithm
in interfaceIndexStoreSortStrategy
-
getStrategyName
public String getStrategyName()
- Specified by:
getStrategyName
in interfaceIndexStoreSortStrategy
-
getStoreType
public String getStoreType()
- Specified by:
getStoreType
in interfaceIndexStoreSortStrategy
-
getCheckpoint
public String getCheckpoint()
- Specified by:
getCheckpoint
in interfaceIndexStoreSortStrategy
-
getPreferredPaths
public Set<String> getPreferredPaths()
- Specified by:
getPreferredPaths
in interfaceIndexStoreSortStrategy
-
getPathPredicate
public Predicate<String> getPathPredicate()
- Specified by:
getPathPredicate
in interfaceIndexStoreSortStrategy
-
createMetadataFile
public File createMetadataFile() throws IOException
- Specified by:
createMetadataFile
in interfaceIndexStoreSortStrategy
- Throws:
IOException
-
-