primaryKeySegmentId
- Throws:
IOException
Closeable, AutoCloseablestatic final intstatic final intstatic final intstatic final intstatic final intprotected final SubspaceFDBDirectory(Subspace subspace,
FDBRecordContext context,
Map<String,String> indexOptions) FDBDirectory(Subspace subspace,
Map<String,String> indexOptions,
FDBDirectorySharedCacheManager sharedCacheManager,
Tuple sharedCacheKey,
boolean deferDeleteToCompoundFile,
AgilityContext agilityContext) FDBDirectory(Subspace subspace,
Map<String,String> indexOptions,
FDBDirectorySharedCacheManager sharedCacheManager,
Tuple sharedCacheKey,
boolean deferDeleteToCompoundFile,
AgilityContext agilityContext,
int blockCacheMaximumSize) <T> TasyncToSync(StoreTimer.Wait event,
CompletableFuture<T> async) voidclose()org.apache.lucene.store.IndexOutputcreateOutput(String name,
org.apache.lucene.store.IOContext ioContext) org.apache.lucene.store.IndexOutputcreateTempOutput(String prefix,
String suffix,
org.apache.lucene.store.IOContext ioContext) voiddeleteFile(String name) protected booleandeleteFileInternal(Map<String,FDBLuceneFileReference> cache,
String name) voiddeleteStoredFields(String segmentName) longfileLength(String name) intbooleangetBooleanIndexOption(String key,
boolean defaultValue) protected CompletableFuture<Map<String,FDBLuceneFileReference>> longgetIndexOption(String key) protected static StringgetTempFileName(String prefix,
String suffix,
long counter) static booleanisCompoundFile(String name) static booleanisEntriesFile(String name) static booleanisFieldInfoFile(String name) static booleanisSegmentInfo(String name) static booleanisStoredFieldsFile(String name) String[]listAll()org.apache.lucene.store.LockobtainLock(String lockName) org.apache.lucene.store.ChecksumIndexInputopenChecksumInput(String name,
org.apache.lucene.store.IOContext context) org.apache.lucene.store.IndexInputlongprimaryKeySegmentId(String segmentName,
boolean create) primaryKeySegmentName(long segmentId) readAllStoredFields(String segmentName) CompletableFuture<byte[]>readBlock(org.apache.lucene.store.IndexInput requestingInput,
String fileName,
CompletableFuture<FDBLuceneFileReference> referenceFuture,
int block) byte[]readStoredFields(String segmentName,
int docId) voidscanStoredFields(String segmentName) voidsetFieldInfoId(String filename,
long id,
ByteString bitSet) voidsync(Collection<String> collection) voidbooleanintwriteData(long id,
int block,
byte[] value) voidwriteFDBLuceneFileReference(String name,
FDBLuceneFileReference reference) voidwriteStoredFields(String segmentName,
int docID,
byte[] value) copyFrom, ensureOpen, toStringIOExceptionname - name for the file referencename - name for the file referencereference - the file reference being insertedid - id for the datablock - block for the data to be stored invalue - the data to be storedsegmentName - the segment name writing todocID - the document ID to writevalue - the bytes value of the stored fieldssegmentName - the segment name to delete the fields from (all docs in the segment will be deleted)IOException - if there is an issue reading metadata to do the deleterequestingInput - the FDBIndexInput requesting the block; used for loggingfileName - Description should be non-null, opaque string describing this resource; used for loggingreferenceFuture - the reference where the data supposedly livesblock - the block where the data is storedRecordCoreException - if blockCache fails to get the data from the blockRecordCoreArgumentException - if a reference with that id hasn't been written yet.IOExceptionlistAll in class org.apache.lucene.store.DirectoryIOExceptiondeleteFile in class org.apache.lucene.store.Directoryname - the name for the file referenceIOExceptionIOExceptionfileLength in class org.apache.lucene.store.Directoryname - the name of the file referenceNoSuchFileException - if the file reference doesn't exist.IOExceptioncreateOutput in class org.apache.lucene.store.Directoryname - the filename to createioContext - the IOContext from LuceneIOExceptioncreateTempOutput in class org.apache.lucene.store.Directoryprefix - prefixsuffix - suffixioContext - ioContextIOExceptionsync in class org.apache.lucene.store.DirectorysyncMetaData in class org.apache.lucene.store.DirectoryIOExceptionrename in class org.apache.lucene.store.Directorysource - sourcedest - descIOExceptionopenInput in class org.apache.lucene.store.DirectoryIOExceptionobtainLock in class org.apache.lucene.store.DirectoryIOExceptionclose in interface AutoCloseableclose in interface Closeableclose in class org.apache.lucene.store.DirectoryIOExceptiongetPendingDeletions in class org.apache.lucene.store.DirectoryopenChecksumInput in class org.apache.lucene.store.Directoryname - file namecontext - io contextIOException - ioexceptionnull if not enabledIOExceptionkey - the option keydefaultValue - the value to use when the option is not setkey - the option key