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
public class FlatFileStore extends Object implements IndexStore
-
-
Constructor Summary
Constructors Constructor Description FlatFileStore(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()CompressiongetAlgorithm()longgetEntryCount()StringgetFlatFileStorePath()Deprecated.usegetStorePath()insteadStringgetIndexStoreType()StringgetMetadataFilePath()FilegetStoreFile()StringgetStorePath()booleanisIncremental()Iterator<NodeStateEntry>iterator()voidsetEntryCount(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 Detail
-
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 Detail
-
getStorePath
public String getStorePath()
- Specified by:
getStorePathin interfaceIndexStore
-
getStoreFile
public File getStoreFile()
-
getFlatFileStorePath
@Deprecated public String getFlatFileStorePath()
Deprecated.usegetStorePath()instead
-
getEntryCount
public long getEntryCount()
- Specified by:
getEntryCountin interfaceIndexStore
-
setEntryCount
public void setEntryCount(long entryCount)
- Specified by:
setEntryCountin interfaceIndexStore
-
getMetadataFilePath
public String getMetadataFilePath()
-
iterator
public Iterator<NodeStateEntry> iterator()
- Specified by:
iteratorin interfaceIndexStore- Specified by:
iteratorin interfaceIterable<NodeStateEntry>
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceIndexStore- Throws:
IOException
-
getIndexStoreType
public String getIndexStoreType()
- Specified by:
getIndexStoreTypein interfaceIndexStore
-
isIncremental
public boolean isIncremental()
- Specified by:
isIncrementalin interfaceIndexStore
-
getAlgorithm
public Compression getAlgorithm()
-
-