private function MapStorageType($StorageType)
{
switch ($StorageType) {
case 'BTREE':
return Tables\IndexStorageType::BTree;
case 'RTREE':
return Tables\IndexStorageType::RTree;
case 'HASH':
return Tables\IndexStorageType::Hash;
default:
throw new \Storm\Drivers\Base\Relational\PlatformException('Unknown index storage type: %s', $StorageType);
}
}