Class FlatFileStore
java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStore
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<NodeStateEntry>,IndexStore
- Direct Known Subclasses:
IncrementalFlatFileStore
-
Constructor Summary
ConstructorsConstructorDescriptionFlatFileStore(BlobStore blobStore, File storeFile, File metadataFile, NodeStateEntryReader entryReader, Set<String> preferredPathElements, Compression algorithm) FlatFileStore(BlobStore blobStore, File storeFile, NodeStateEntryReader entryReader, Set<String> preferredPathElements, Compression algorithm) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longDeprecated.booleaniterator()voidsetEntryCount(long entryCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FlatFileStore
public FlatFileStore(BlobStore blobStore, File storeFile, File metadataFile, NodeStateEntryReader entryReader, Set<String> preferredPathElements, Compression algorithm) -
FlatFileStore
public FlatFileStore(BlobStore blobStore, File storeFile, NodeStateEntryReader entryReader, Set<String> preferredPathElements, Compression algorithm)
-
-
Method Details
-
getStorePath
- Specified by:
getStorePathin interfaceIndexStore
-
getStoreFile
-
getFlatFileStorePath
Deprecated.usegetStorePath()instead -
getEntryCount
public long getEntryCount()- Specified by:
getEntryCountin interfaceIndexStore
-
setEntryCount
public void setEntryCount(long entryCount) - Specified by:
setEntryCountin interfaceIndexStore
-
getMetadataFilePath
-
iterator
- Specified by:
iteratorin interfaceIndexStore- Specified by:
iteratorin interfaceIterable<NodeStateEntry>
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceIndexStore- Throws:
IOException
-
getIndexStoreType
- Specified by:
getIndexStoreTypein interfaceIndexStore
-
isIncremental
public boolean isIncremental()- Specified by:
isIncrementalin interfaceIndexStore
-
getAlgorithm
-
getStorePath()instead