private function MapIndexStorageType($StorageType)
{
switch ($StorageType) {
case Mysql\Tables\IndexStorageType::BTree:
return 'BTREE';
case Mysql\Tables\IndexStorageType::RTree:
return 'RTREE';
case Mysql\Tables\IndexStorageType::Hash:
return 'HASH';
default:
throw new \Storm\Core\UnexpectedValueException('Unknown index storage type: %s', $StorageType);
}
}