‪TYPO3CMS  10.4
TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem:
TYPO3\CMS\Core\Database\Schema\Parser\AST\AbstractCreateDefinitionItem

Public Member Functions

 __construct (Identifier $indexName=null, bool $isPrimary=false, bool $isUnique=false, bool $isSpatial=false, bool $isFulltext=false)
 

Public Attributes

string $indexName = ''
 
bool $isPrimary = false
 
bool $isUnique = false
 
bool $isFulltext = false
 
bool $isSpatial = false
 
string $indexType = ''
 
string $name = ''
 
IndexColumnName[] $columnNames = array( )
 
array $options = array( )
 

Detailed Description

Syntax node to structure an index definition.

Definition at line 23 of file CreateIndexDefinitionItem.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::__construct ( Identifier  $indexName = null,
bool  $isPrimary = false,
bool  $isUnique = false,
bool  $isSpatial = false,
bool  $isFulltext = false 
)

Member Data Documentation

◆ $columnNames

IndexColumnName [] TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$columnNames = array( )

Definition at line 67 of file CreateIndexDefinitionItem.php.

◆ $indexName

string TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$indexName = ''

◆ $indexType

string TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$indexType = ''

Use a special index type (MySQL: BTREE | HASH)

Definition at line 57 of file CreateIndexDefinitionItem.php.

◆ $isFulltext

bool TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$isFulltext = false

◆ $isPrimary

bool TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$isPrimary = false

◆ $isSpatial

bool TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$isSpatial = false

Create a spatial (geo) index

Definition at line 51 of file CreateIndexDefinitionItem.php.

Referenced by TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem\__construct().

◆ $isUnique

bool TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$isUnique = false

◆ $name

string TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$name = ''

The index name

Definition at line 63 of file CreateIndexDefinitionItem.php.

◆ $options

array TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem::$options = array( )

Index options KEY_BLOCK_SIZE, USING, WITH PARSER or COMMENT

Definition at line 73 of file CreateIndexDefinitionItem.php.