MediaWiki REL1_31
Wikimedia\Rdbms Namespace Reference

Classes

class  AtomicSectionIdentifier
 Class used for token representing identifiers for atomic sections from IDatabase instances. More...
 
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  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  DBQueryTimeoutError
 Error thrown when a query times out. More...
 
class  DBReadOnlyError
 
class  DBReplicationWaitError
 Exception class for replica DB wait timeouts. 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...
 
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  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  SavepointPostgres
 Manage savepoints within a transaction. 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...