internal GenericNativeIndexAccessor(PageCache pageCache, FileSystemAbstraction fs, File storeFile, IndexLayout <GenericKey, NativeIndexValue> layout, RecoveryCleanupWorkCollector recoveryCleanupWorkCollector, IndexProvider.Monitor monitor, StoreIndexDescriptor descriptor, IndexSpecificSpaceFillingCurveSettingsCache spaceFillingCurveSettings, SpaceFillingCurveConfiguration configuration, IndexDropAction dropAction, bool readOnly) : base(pageCache, fs, storeFile, layout, monitor, descriptor, new SpaceFillingCurveSettingsWriter(spaceFillingCurveSettings), readOnly) { this._spaceFillingCurveSettings = spaceFillingCurveSettings; this._configuration = configuration; this._dropAction = dropAction; instantiateTree(recoveryCleanupWorkCollector, HeaderWriter); }
internal BlockBasedIndexPopulator(PageCache pageCache, FileSystemAbstraction fs, File file, IndexLayout <KEY, VALUE> layout, IndexProvider.Monitor monitor, StoreIndexDescriptor descriptor, IndexSpecificSpaceFillingCurveSettingsCache spatialSettings, IndexDirectoryStructure directoryStructure, IndexDropAction dropAction, bool archiveFailedIndex, ByteBufferFactory bufferFactory) : this(pageCache, fs, file, layout, monitor, descriptor, spatialSettings, directoryStructure, dropAction, archiveFailedIndex, bufferFactory, FeatureToggles.getInteger(typeof(BlockBasedIndexPopulator), "mergeFactor", 8), NO_MONITOR) { }
protected internal override IndexProvider InternalCreate(PageCache pageCache, File storeDir, FileSystemAbstraction fs, IndexProvider.Monitor monitor, Config config, OperationalMode operationalMode, RecoveryCleanupWorkCollector recoveryCleanupWorkCollector) { return(NewInstance(pageCache, storeDir, fs, monitor, config, operationalMode, recoveryCleanupWorkCollector)); }
public static FusionIndexProvider NewInstance(PageCache pageCache, File databaseDirectory, FileSystemAbstraction fs, IndexProvider.Monitor monitor, Config config, OperationalMode operationalMode, RecoveryCleanupWorkCollector recoveryCleanupWorkCollector) { bool readOnly = IndexProviderFactoryUtil.IsReadOnly(config, operationalMode); bool archiveFailedIndex = config.Get(GraphDatabaseSettings.archive_failed_index); IndexDirectoryStructure.Factory luceneDirStructure = directoriesByProviderKey(databaseDirectory); IndexDirectoryStructure.Factory childDirectoryStructure = SubProviderDirectoryStructure(databaseDirectory); LuceneIndexProvider lucene = IndexProviderFactoryUtil.LuceneProvider(fs, luceneDirStructure, monitor, config, operationalMode); TemporalIndexProvider temporal = IndexProviderFactoryUtil.TemporalProvider(pageCache, fs, childDirectoryStructure, monitor, recoveryCleanupWorkCollector, readOnly); SpatialIndexProvider spatial = IndexProviderFactoryUtil.SpatialProvider(pageCache, fs, childDirectoryStructure, monitor, recoveryCleanupWorkCollector, readOnly, config); return(new FusionIndexProvider(EMPTY, EMPTY, spatial, temporal, lucene, new FusionSlotSelector00(), ProviderDescriptor, directoriesByProvider(databaseDirectory), fs, archiveFailedIndex)); }
internal GenericNativeIndexPopulator(PageCache pageCache, FileSystemAbstraction fs, File storeFile, IndexLayout <GenericKey, NativeIndexValue> layout, IndexProvider.Monitor monitor, StoreIndexDescriptor descriptor, IndexSpecificSpaceFillingCurveSettingsCache spatialSettings, IndexDirectoryStructure directoryStructure, SpaceFillingCurveConfiguration configuration, IndexDropAction dropAction, bool archiveFailedIndex) : base(pageCache, fs, storeFile, layout, monitor, descriptor, new SpaceFillingCurveSettingsWriter(spatialSettings)) { this._spatialSettings = spatialSettings; this._directoryStructure = directoryStructure; this._configuration = configuration; this._dropAction = dropAction; this._archiveFailedIndex = archiveFailedIndex; }
public LuceneIndexProviderAnonymousInnerClass(LuceneSchemaIndexCorruptionTest outerInstance, EphemeralFileSystemAbstraction fs, DirectoryFactory directoryFactory, UnknownType defaultDirectoryStructure, IndexProvider.Monitor monitor, Config defaults, long faultyIndexId, Exception error, AtomicReference <FaultyIndexStorageFactory> reference) : base(fs, directoryFactory, defaultDirectoryStructure, monitor, defaults, OperationalMode.single) { this.outerInstance = outerInstance; this._faultyIndexId = faultyIndexId; this._error = error; this._directoryFactory = directoryFactory; this._reference = reference; }
internal SpatialIndexPopulator(StoreIndexDescriptor descriptor, SpatialIndexFiles spatialIndexFiles, PageCache pageCache, FileSystemAbstraction fs, IndexProvider.Monitor monitor, SpaceFillingCurveConfiguration configuration) : base(new PartFactory(pageCache, fs, spatialIndexFiles, descriptor, monitor, configuration)) { }
internal PartFactory(PageCache pageCache, FileSystemAbstraction fs, SpatialIndexFiles spatialIndexFiles, StoreIndexDescriptor descriptor, IndexProvider.Monitor monitor, SpaceFillingCurveConfiguration configuration) { this.PageCache = pageCache; this.Fs = fs; this.SpatialIndexFiles = spatialIndexFiles; this.Descriptor = descriptor; this.Monitor = monitor; this.Configuration = configuration; }
internal PartPopulator(PageCache pageCache, FileSystemAbstraction fs, SpatialIndexFiles.SpatialFileLayout fileLayout, IndexProvider.Monitor monitor, StoreIndexDescriptor descriptor, SpaceFillingCurveConfiguration configuration) : base(pageCache, fs, fileLayout.IndexFile, fileLayout.Layout, monitor, descriptor, NO_HEADER_WRITER) { this.Configuration = configuration; this.Settings = fileLayout.Settings; this.Crs = fileLayout.SpatialFile.crs; }