Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater Class Reference

Public Member Functions

 __construct (Database $connection, Cache $cache, SearchTableUpdater $searchTableUpdater)
 
 asDeferredUpdate ( $asDeferredUpdate)
 
 isCommandLineMode ( $isCommandLineMode)
 
 isPrimary ( $isPrimary)
 
 pushUpdates (ChangeOp $changeOp)
 
 pushUpdatesFromJobParameters ( $parameters)
 
 doUpdateFromChangeDiff (ChangeDiff $changeDiff=null)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::__construct ( Database  $connection,
Cache  $cache,
SearchTableUpdater  $searchTableUpdater 
)
Since
2.5
Parameters
Database$connection
Cache$cache
SearchTableUpdater$searchTableUpdater
TextSanitizer$textSanitizer

Member Function Documentation

◆ asDeferredUpdate()

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

◆ doUpdateFromChangeDiff()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::doUpdateFromChangeDiff ( ChangeDiff  $changeDiff = null)
Since
2.5
Parameters
ChangeOp$changeOp

◆ isCommandLineMode()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::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

◆ isPrimary()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::isPrimary (   $isPrimary)
Since
3.0
Parameters
boolean$isPrimary

◆ pushUpdates()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::pushUpdates ( ChangeOp  $changeOp)
See also
SMW::SQLStore::AfterDataUpdateComplete hook
Since
2.5
Parameters
ChangeOp$changeOp

◆ pushUpdatesFromJobParameters()

SMW\SQLStore\QueryEngine\Fulltext\TextChangeUpdater::pushUpdatesFromJobParameters (   $parameters)
See also
SearchTableUpdateJob::run
Since
2.5
Parameters
array | boolan$parameters

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

About | General disclaimer | Privacy policy