Example #1
0
 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;
 }
Example #2
0
        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));
        }
Example #3
0
 internal RelationshipExplicitIndex(LuceneDataSource dataSource, IndexIdentifier identifier, LuceneTransactionState transaction, IndexType type, IndexCommandFactory commandFactory) : base(dataSource, identifier, transaction, type, commandFactory)
 {
 }
Example #4
0
 internal DeletedTxDataBoth(LuceneTransactionState outerInstance, LuceneExplicitIndex index) : base(index)
 {
     this._outerInstance = outerInstance;
 }
Example #5
0
 public LuceneExplicitIndexTransaction(LuceneDataSource dataSource, IndexCommandFactory commandFactory)
 {
     this._dataSource        = dataSource;
     this._commandFactory    = commandFactory;
     this._luceneTransaction = new LuceneTransactionState();
 }