MediaWiki  master
Wikimedia\Rdbms Namespace Reference

Classes

class  Blob
 
class  ChronologyProtector
 Class for ensuring a consistent ordering of events as seen by the user, despite replication. More...
 
class  ConnectionManager
 Database connection manager. More...
 
class  Database
 Relational database abstraction object. More...
 
class  DatabaseDomain
 Class to handle database/prefix specification for IDatabase domains. More...
 
class  DatabaseMssql
 
class  DatabaseMysql
 Database abstraction object for PHP extension mysql. 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 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  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  DBQueryError
 
class  DBReadOnlyError
 
class  DBReplicationWaitError
 Exception class for replica DB wait timeouts. More...
 
class  DBTransactionError
 
class  DBTransactionSizeError
 
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...
 
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  MssqlBlob
 
class  MssqlField
 
class  MssqlResultWrapper
 
class  MySQLField
 
class  MySQLMasterPos
 DBMasterPos class for MySQL/MariaDB. More...
 
class  PostgresBlob
 
class  PostgresField
 
class  ResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  SavepointPostgres
 Manage savepoints within a transaction. More...
 
class  SessionConsistentConnectionManager
 Database connection manager. More...
 
class  SQLiteField
 
class  TransactionProfiler
 Helper class that detects high-contention DB queries via profiling calls. More...