public override BoundedIterable <long> NewAllEntriesReader() { //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: IEnumerable <BoundedIterable <long> > entries = InstanceSelector.transform(IndexAccessor::newAllEntriesReader); return(new BoundedIterableAnonymousInnerClass(this, entries)); }
public override IDictionary <string, Value> IndexConfig() { IDictionary <string, Value> indexConfig = new Dictionary <string, Value>(); //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: InstanceSelector.transform(IndexAccessor::indexConfig).forEach(source => IndexConfigProvider.putAllNoOverwrite(indexConfig, source)); return(indexConfig); }
public override InternalIndexState GetInitialState(StoreIndexDescriptor descriptor) { IEnumerable <InternalIndexState> statesIterable = _providers.transform(p => p.getInitialState(descriptor)); IList <InternalIndexState> states = Iterables.asList(statesIterable); if (states.Contains(FAILED)) { // One of the state is FAILED, the whole state must be considered FAILED return(FAILED); } if (states.Contains(POPULATING)) { // No state is FAILED and one of the state is POPULATING, the whole state must be considered POPULATING return(POPULATING); } // This means that all parts are ONLINE return(InternalIndexState.ONLINE); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public org.neo4j.collection.PrimitiveLongResourceIterator query(org.neo4j.internal.kernel.api.IndexQuery... predicates) throws org.neo4j.internal.kernel.api.exceptions.schema.IndexNotApplicableKernelException public override PrimitiveLongResourceIterator Query(params IndexQuery[] predicates) { //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: IndexSlot slot = SlotSelector.selectSlot(predicates, IndexQuery::valueGroup); return(slot != null?InstanceSelector.select(slot).query(predicates) : concat(InstanceSelector.transform(reader => reader.query(predicates)))); }
public override IndexSampler CreateSampler() { //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: return(new FusionIndexSampler(InstanceSelector.transform(IndexReader::createSampler))); }
public override ResourceIterator <File> SnapshotFiles() { //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: return(concatResourceIterators(InstanceSelector.transform(IndexAccessor::snapshotFiles).GetEnumerator())); }
public override IndexSample SampleResult() { //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: return(combineSamples(InstanceSelector.transform(IndexPopulator::sampleResult))); }