Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater Class Reference
Collaboration diagram for SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater:
Collaboration graph
[legend]

Public Member Functions

 __construct (Database $connection, SearchTableUpdater $searchTableUpdater, TextSanitizer $textSanitizer, TempChangeOpStore $tempChangeOpStore)
 
 setLogger (LoggerInterface $logger)
 
 asDeferredUpdate ($asDeferredUpdate)
 
 isCommandLineMode ($isCommandLineMode)
 
 pushUpdates (CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator, DeferredRequestDispatchManager $deferredRequestDispatchManager)
 
 pushUpdatesFromJobParameters ($parameters)
 
 pushUpdatesFromPropertyTableDiff (CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::__construct ( Database  $connection,
SearchTableUpdater  $searchTableUpdater,
TextSanitizer  $textSanitizer,
TempChangeOpStore  $tempChangeOpStore 
)
Since
2.5
Parameters
Database$connection
SearchTableUpdater$searchTableUpdater
TextSanitizer$textSanitizer
TempChangeOpStore$tempChangeOpStore

Member Function Documentation

SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::asDeferredUpdate (   $asDeferredUpdate)
Note
See comments in the DefaultSettings.php on the smwgFulltextDeferredUpdate setting
Since
2.5
Parameters
boolean$asDeferredUpdate
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::isCommandLineMode (   $isCommandLineMode)

When running from commandLine, push updates directly to avoid overhead when it is known that within that mode transactions are FIFO (i.e. the likelihood for race conditions of unfinished updates are diminishable).

Since
2.5
Parameters
boolean$isCommandLineMode
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::pushUpdates ( CompositePropertyTableDiffIterator  $compositePropertyTableDiffIterator,
DeferredRequestDispatchManager  $deferredRequestDispatchManager 
)
See also
SMW::SQLStore::AfterDataUpdateComplete hook
Since
2.5
Parameters
CompositePropertyTableDiffIterator$compositePropertyTableDiffIterator
DeferredRequestDispatchManager$deferredRequestDispatchManager
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::pushUpdatesFromJobParameters (   $parameters)
See also
SearchTableUpdateJob::run
Since
2.5
Parameters
array | boolan$parameters
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::pushUpdatesFromPropertyTableDiff ( CompositePropertyTableDiffIterator  $compositePropertyTableDiffIterator)
Since
2.5
Parameters
CompositePropertyTableDiffIterator$compositePropertyTableDiffIterator
SMW\SQLStore\QueryEngine\Fulltext\TextByChangeUpdater::setLogger ( LoggerInterface  $logger)
See also
LoggerAwareInterface::setLogger
Since
2.5
Parameters
LoggerInterface$logger

The documentation for this class was generated from the following file: