示例#1
0
 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));
     };
 }
示例#2
0
 public override BatchRelationship GetRelationshipById(long relId)
 {
     return(@delegate.GetRelationshipById(relId));
 }