private function MapIndexType($Type)
{
switch ($Type) {
case Traits\IndexType::Plain:
return '';
case Traits\IndexType::Unique:
return 'UNIQUE';
case Traits\IndexType::FullText:
return 'FULLTEXT';
default:
throw new \Storm\Core\UnexpectedValueException('Unknown index type: %s', $Type);
}
}