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