public LuceneBatchInserterIndexProviderNewImpl(BatchInserter inserter) { this._inserter = inserter; this.IndexStore = (( IndexConfigStoreProvider )inserter).IndexStore; this._relationshipLookup = id => { // TODO too may objects allocated here BatchRelationship rel = inserter.GetRelationshipById(id); return(new EntityId_RelationshipData(id, rel.StartNode, rel.EndNode)); }; }
public override BatchRelationship GetRelationshipById(long relId) { return(@delegate.GetRelationshipById(relId)); }