Class FlatFileStore
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.FlatFileStore
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Iterable<NodeStateEntry>
,IndexStore
- Direct Known Subclasses:
IncrementalFlatFileStore
public class FlatFileStore extends java.lang.Object implements IndexStore
-
-
Constructor Summary
Constructors Constructor Description FlatFileStore(BlobStore blobStore, java.io.File storeFile, java.io.File metadataFile, NodeStateEntryReader entryReader, java.util.Set<java.lang.String> preferredPathElements, Compression algorithm)
FlatFileStore(BlobStore blobStore, java.io.File storeFile, NodeStateEntryReader entryReader, java.util.Set<java.lang.String> preferredPathElements, Compression algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
long
getEntryCount()
java.lang.String
getFlatFileStorePath()
Deprecated.usegetStorePath()
insteadjava.lang.String
getIndexStoreType()
java.lang.String
getMetadataFilePath()
java.lang.String
getStorePath()
boolean
isIncremental()
java.util.Iterator<NodeStateEntry>
iterator()
void
setEntryCount(long entryCount)
-
-
-
Constructor Detail
-
FlatFileStore
public FlatFileStore(BlobStore blobStore, java.io.File storeFile, java.io.File metadataFile, NodeStateEntryReader entryReader, java.util.Set<java.lang.String> preferredPathElements, Compression algorithm)
-
FlatFileStore
public FlatFileStore(BlobStore blobStore, java.io.File storeFile, NodeStateEntryReader entryReader, java.util.Set<java.lang.String> preferredPathElements, Compression algorithm)
-
-
Method Detail
-
getStorePath
public java.lang.String getStorePath()
- Specified by:
getStorePath
in interfaceIndexStore
-
getFlatFileStorePath
@Deprecated public java.lang.String 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
public java.lang.String getMetadataFilePath()
-
iterator
public java.util.Iterator<NodeStateEntry> iterator()
- Specified by:
iterator
in interfaceIndexStore
- Specified by:
iterator
in interfacejava.lang.Iterable<NodeStateEntry>
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceIndexStore
- Throws:
java.io.IOException
-
getIndexStoreType
public java.lang.String getIndexStoreType()
- Specified by:
getIndexStoreType
in interfaceIndexStore
-
isIncremental
public boolean isIncremental()
- Specified by:
isIncremental
in interfaceIndexStore
-
-