class CaseSensitiveDatabase in Search API 8
Represents a database whose tables are, by default, case-sensitive.
Hierarchy
- class \Drupal\search_api_db\DatabaseCompatibility\GenericDatabase implements DatabaseCompatibilityHandlerInterface
- class \Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase
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\DatabaseCompatibilityView source
class CaseSensitiveDatabase extends GenericDatabase {
/**
* {@inheritdoc}
*/
public function preprocessIndexValue($value, $type = 'text') {
return $value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CaseSensitiveDatabase:: |
public | function |
Determines the canonical base form of a value. Overrides GenericDatabase:: |
|
GenericDatabase:: |
protected | property | The connection to the database. | |
GenericDatabase:: |
protected | property | The transliteration service to use. | |
GenericDatabase:: |
public | function |
Reacts to a new table being created. Overrides DatabaseCompatibilityHandlerInterface:: |
1 |
GenericDatabase:: |
public | function |
Creates a clone of this service for the given database. Overrides DatabaseCompatibilityHandlerInterface:: |
|
GenericDatabase:: |
public | function |
Retrieves the database connection this compatibility handler is based upon. Overrides DatabaseCompatibilityHandlerInterface:: |
|
GenericDatabase:: |
public | function |
Applies a random sort to the query. Overrides DatabaseCompatibilityHandlerInterface:: |
1 |
GenericDatabase:: |
public | function | Constructs a GenericDatabase object. |