예제 #1
0
            internal virtual void CreateEmptyIndex(SpatialIndexFiles.SpatialFileLayout fileLayout)
            {
                IndexPopulator populator = new SpatialIndexPopulator.PartPopulator(PageCache, Fs, fileLayout, Monitor, Descriptor, SearchConfiguration);

                populator.Create();
                populator.Close(true);
            }
예제 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private void createEmptyIndex(org.neo4j.storageengine.api.schema.StoreIndexDescriptor schemaIndexDescriptor, org.neo4j.kernel.impl.index.schema.config.ConfiguredSpaceFillingCurveSettingsCache configuredSettings) throws java.io.IOException
        private void CreateEmptyIndex(StoreIndexDescriptor schemaIndexDescriptor, ConfiguredSpaceFillingCurveSettingsCache configuredSettings)
        {
            SpatialIndexFiles.SpatialFileLayout fileLayout = MakeIndexFile(schemaIndexDescriptor.Id, configuredSettings).LayoutForNewIndex;
            SpatialIndexPopulator.PartPopulator populator  = new SpatialIndexPopulator.PartPopulator(_pageCache, Fs, fileLayout, _monitor, schemaIndexDescriptor, new StandardConfiguration());
            populator.Create();
            populator.Close(true);
        }