コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected FulltextIndexReader createSimpleReader(java.util.List<org.neo4j.kernel.api.impl.index.partition.AbstractIndexPartition> partitions) throws java.io.IOException
        protected internal override FulltextIndexReader CreateSimpleReader(IList <AbstractIndexPartition> partitions)
        {
            AbstractIndexPartition singlePartition = GetFirstPartition(partitions);
            SearcherReference      searcher        = new PartitionSearcherReference(singlePartition.AcquireSearcher());

            return(new SimpleFulltextIndexReader(searcher, PropertiesArray, _analyzer, _propertyKeyTokenHolder));
        }
コード例 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private org.neo4j.kernel.api.impl.schema.verification.UniquenessVerifier createSimpleUniquenessVerifier(java.util.List<org.neo4j.kernel.api.impl.index.partition.AbstractIndexPartition> partitions) throws java.io.IOException
        private UniquenessVerifier CreateSimpleUniquenessVerifier(IList <AbstractIndexPartition> partitions)
        {
            AbstractIndexPartition singlePartition   = GetFirstPartition(partitions);
            PartitionSearcher      partitionSearcher = singlePartition.AcquireSearcher();

            return(new SimpleUniquenessVerifier(partitionSearcher));
        }
コード例 #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader createSimpleReader(java.util.List<org.neo4j.kernel.api.impl.index.partition.AbstractIndexPartition> partitions) throws java.io.IOException
        protected internal override SimpleIndexReader CreateSimpleReader(IList <AbstractIndexPartition> partitions)
        {
            AbstractIndexPartition singlePartition = GetFirstPartition(partitions);

            return(new SimpleIndexReader(singlePartition.AcquireSearcher(), DescriptorConflict, _samplingConfig, _taskCoordinator));
        }