internal LuceneExplicitIndex(LuceneDataSource dataSource, IndexIdentifier identifier, LuceneTransactionState transaction, IndexType type, IndexCommandFactory commandFactory) { this.DataSource = dataSource; this.IdentifierConflict = identifier; this.Transaction = transaction; this.Type = type; this.CommandFactory = commandFactory; }
internal override ICollection <EntityId> GetOrphans(string key) { if (!_hasOrphans) { return(null); } ISet <EntityId> orphans = IdCollection(null, null, false); ISet <EntityId> keyOrphans = IdCollection(key, null, false); return(LuceneTransactionState.Merge(orphans, keyOrphans)); }
internal RelationshipExplicitIndex(LuceneDataSource dataSource, IndexIdentifier identifier, LuceneTransactionState transaction, IndexType type, IndexCommandFactory commandFactory) : base(dataSource, identifier, transaction, type, commandFactory) { }
internal DeletedTxDataBoth(LuceneTransactionState outerInstance, LuceneExplicitIndex index) : base(index) { this._outerInstance = outerInstance; }
public LuceneExplicitIndexTransaction(LuceneDataSource dataSource, IndexCommandFactory commandFactory) { this._dataSource = dataSource; this._commandFactory = commandFactory; this._luceneTransaction = new LuceneTransactionState(); }