MediaWiki REL1_34
Wikimedia\Rdbms Namespace Reference

Classes

class  AtomicSectionIdentifier
 Class used for token representing identifiers for atomic sections from IDatabase instances. More...
 
class  Blob
 
class  ChronologyProtector
 Helper class for mitigating DB replication lag in order to provide "session consistency". More...
 
class  ConnectionManager
 Database connection manager. More...
 
class  Database
 Relational database abstraction object. More...
 
class  DatabaseDomain
 Class to handle database/schema/prefix specifications for IDatabase. More...
 
class  DatabaseMysqlBase
 Database abstraction object for MySQL. More...
 
class  DatabaseMysqli
 Database abstraction object for PHP extension mysqli. More...
 
class  DatabasePostgres
 
class  DatabaseSqlite
 
class  DBAccessError
 Exception class for attempted DB access. More...
 
class  DBConnectionError
 
class  DBConnRef
 Helper class used for automatically marking an IDatabase connection as reusable (once it no longer matters which DB domain is selected) and for deferring the actual network connection. More...
 
class  DBError
 Database error base class. More...
 
class  DBExpectedError
 Base class for the more common types of database errors. More...
 
interface  DBMasterPos
 An object representing a master or replica DB position in a replicated setup. More...
 
class  DBQueryDisconnectedError
 
class  DBQueryError
 
class  DBQueryTimeoutError
 Error thrown when a query times out. More...
 
class  DBReadOnlyError
 
class  DBReadOnlyRoleError
 Exception class for attempted DB write access to a DBConnRef with the DB_REPLICA role. More...
 
class  DBReplicationWaitError
 Exception class for replica DB wait errors. More...
 
class  DBTransactionError
 
class  DBTransactionSizeError
 
class  DBTransactionStateError
 
class  DBUnexpectedError
 
class  FakeResultWrapper
 Overloads the relevant methods of the real ResultsWrapper so it doesn't go anywhere near an actual database. More...
 
interface  Field
 Base for all database-specific classes representing information about database fields. More...
 
class  GeneralizedSql
 Lazy-loaded wrapper for simplification and scrubbing of SQL queries for profiling. More...
 
interface  IBlob
 Wrapper allowing us to distinguish a blob from a normal string and an array of strings. More...
 
interface  IDatabase
 Basic database interface for live and lazy-loaded relation database handles. More...
 
interface  ILBFactory
 An interface for generating database load balancers. More...
 
interface  ILoadBalancer
 Database cluster connection, tracking, load balancing, and transaction manager interface. More...
 
interface  ILoadMonitor
 An interface for database load monitoring. More...
 
interface  IMaintainableDatabase
 Advanced database interface for IDatabase handles that include maintenance methods. More...
 
interface  IResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  LBFactory
 An interface for generating database load balancers. More...
 
class  LBFactoryMulti
 A multi-database, multi-master factory for Wikimedia and similar installations. More...
 
class  LBFactorySimple
 A simple single-master LBFactory that gets its configuration from the b/c globals. More...
 
class  LBFactorySingle
 An LBFactory class that always returns a single database object. More...
 
class  LikeMatch
 Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping. More...
 
class  LoadBalancer
 Database connection, tracking, load balancing, and transaction manager for a cluster. More...
 
class  LoadBalancerSingle
 Trivial LoadBalancer that always returns an injected connection handle. More...
 
class  LoadMonitor
 Basic DB load monitor with no external dependencies Uses memcached to cache the replication lag for a short time. More...
 
class  LoadMonitorMySQL
 Basic MySQL load monitor with no external dependencies Uses memcached to cache the replication lag for a short time. More...
 
class  LoadMonitorNull
 
class  MaintainableDBConnRef
 Helper class to handle automatically marking connections as reusable (via RAII pattern) as well handling deferring the actual network connection until the handle is used. More...
 
class  MySQLField
 
class  MySQLMasterPos
 DBMasterPos class for MySQL/MariaDB. More...
 
class  NextSequenceValue
 Used by Database::nextSequenceValue() so Database::insert() can detect values coming from the deprecated function. More...
 
class  PostgresBlob
 
class  PostgresField
 
class  ResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  SessionConsistentConnectionManager
 Database connection manager. More...
 
class  SQLiteField
 
class  Subquery
 
class  TransactionProfiler
 Helper class that detects high-contention DB queries via profiling calls. More...