You are here

class CaseSensitiveDatabase in Search API 8

Represents a database whose tables are, by default, case-sensitive.

Hierarchy

Expanded class hierarchy of CaseSensitiveDatabase

1 string reference to 'CaseSensitiveDatabase'
search_api_db.services.yml in modules/search_api_db/search_api_db.services.yml
modules/search_api_db/search_api_db.services.yml
2 services use CaseSensitiveDatabase
pgsql.search_api_db.database_compatibility in modules/search_api_db/search_api_db.services.yml
Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase
sqlite.search_api_db.database_compatibility in modules/search_api_db/search_api_db.services.yml
Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase

File

modules/search_api_db/src/DatabaseCompatibility/CaseSensitiveDatabase.php, line 8

Namespace

Drupal\search_api_db\DatabaseCompatibility
View source
class CaseSensitiveDatabase extends GenericDatabase {

  /**
   * {@inheritdoc}
   */
  public function preprocessIndexValue($value, $type = 'text') {
    return $value;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CaseSensitiveDatabase::preprocessIndexValue public function Determines the canonical base form of a value. Overrides GenericDatabase::preprocessIndexValue
GenericDatabase::$database protected property The connection to the database.
GenericDatabase::$transliterator protected property The transliteration service to use.
GenericDatabase::alterNewTable public function Reacts to a new table being created. Overrides DatabaseCompatibilityHandlerInterface::alterNewTable 1
GenericDatabase::getCloneForDatabase public function Creates a clone of this service for the given database. Overrides DatabaseCompatibilityHandlerInterface::getCloneForDatabase
GenericDatabase::getDatabase public function Retrieves the database connection this compatibility handler is based upon. Overrides DatabaseCompatibilityHandlerInterface::getDatabase
GenericDatabase::orderByRandom public function Applies a random sort to the query. Overrides DatabaseCompatibilityHandlerInterface::orderByRandom 1
GenericDatabase::__construct public function Constructs a GenericDatabase object.