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 TypeMethodDescriptionvoid
close()
long
Deprecated.boolean
iterator()
void
setEntryCount
(long entryCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getStorePath
in interfaceIndexStore
-
getStoreFile
-
getFlatFileStorePath
Deprecated.usegetStorePath()
instead -
getEntryCount
public long getEntryCount()- Specified by:
getEntryCount
in interfaceIndexStore
-
setEntryCount
public void setEntryCount(long entryCount) - Specified by:
setEntryCount
in interfaceIndexStore
-
getMetadataFilePath
-
iterator
- Specified by:
iterator
in interfaceIndexStore
- Specified by:
iterator
in interfaceIterable<NodeStateEntry>
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceIndexStore
- Throws:
IOException
-
getIndexStoreType
- Specified by:
getIndexStoreType
in interfaceIndexStore
-
isIncremental
public boolean isIncremental()- Specified by:
isIncremental
in interfaceIndexStore
-
getAlgorithm
-
getStorePath()
instead