1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Migratio\GrammarStructure\Mysql\Wizard; |
4
|
|
|
|
5
|
|
|
class EngineProperties |
6
|
|
|
{ |
7
|
|
|
/** |
8
|
|
|
* @var $wizard WizardContract |
|
|
|
|
9
|
|
|
*/ |
10
|
|
|
protected $wizard; |
11
|
|
|
|
12
|
|
|
/** |
13
|
|
|
* Types constructor. |
14
|
|
|
* @param $wizard WizardContract |
|
|
|
|
15
|
|
|
* @param $wizard |
16
|
|
|
*/ |
17
|
|
|
public function __construct($wizard) |
18
|
|
|
{ |
19
|
|
|
$this->wizard=$wizard; |
20
|
|
|
} |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @return void |
24
|
|
|
*/ |
25
|
|
|
public function InnoDB() |
26
|
|
|
{ |
27
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
28
|
|
|
} |
29
|
|
|
|
30
|
|
|
/** |
31
|
|
|
* @return void |
32
|
|
|
*/ |
33
|
|
|
public function MyISAM() |
34
|
|
|
{ |
35
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
36
|
|
|
} |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @return void |
40
|
|
|
*/ |
41
|
|
|
public function ndbcluster() |
42
|
|
|
{ |
43
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
/** |
47
|
|
|
* @return void |
48
|
|
|
*/ |
49
|
|
|
public function MEMORY() |
50
|
|
|
{ |
51
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @return void |
56
|
|
|
*/ |
57
|
|
|
public function EXAMPLE() |
58
|
|
|
{ |
59
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
60
|
|
|
} |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @return void |
64
|
|
|
*/ |
65
|
|
|
public function FEDERATED() |
66
|
|
|
{ |
67
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* @return void |
72
|
|
|
*/ |
73
|
|
|
public function ARCHIVE() |
74
|
|
|
{ |
75
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* @return void |
80
|
|
|
*/ |
81
|
|
|
public function CSV() |
82
|
|
|
{ |
83
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
84
|
|
|
} |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* @return void |
88
|
|
|
*/ |
89
|
|
|
public function BLACKHOLE() |
90
|
|
|
{ |
91
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* @return void |
96
|
|
|
*/ |
97
|
|
|
public function infinidb() |
98
|
|
|
{ |
99
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @return void |
104
|
|
|
*/ |
105
|
|
|
public function IBMDB2I() |
106
|
|
|
{ |
107
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
108
|
|
|
} |
109
|
|
|
|
110
|
|
|
/** |
111
|
|
|
* @return void |
112
|
|
|
*/ |
113
|
|
|
public function Brighthouse() |
114
|
|
|
{ |
115
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
116
|
|
|
} |
117
|
|
|
|
118
|
|
|
/** |
119
|
|
|
* @return void |
120
|
|
|
*/ |
121
|
|
|
public function KFDB() |
122
|
|
|
{ |
123
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
124
|
|
|
} |
125
|
|
|
|
126
|
|
|
/** |
127
|
|
|
* @return void |
128
|
|
|
*/ |
129
|
|
|
public function ScaleDB() |
130
|
|
|
{ |
131
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
/** |
135
|
|
|
* @return void |
136
|
|
|
*/ |
137
|
|
|
public function TokuDB() |
138
|
|
|
{ |
139
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @return void |
144
|
|
|
*/ |
145
|
|
|
public function XtraDB() |
146
|
|
|
{ |
147
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* @return void |
152
|
|
|
*/ |
153
|
|
|
public function Spider() |
154
|
|
|
{ |
155
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
156
|
|
|
} |
157
|
|
|
|
158
|
|
|
/** |
159
|
|
|
* @return void |
160
|
|
|
*/ |
161
|
|
|
public function MRG_MyISAM() |
162
|
|
|
{ |
163
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
164
|
|
|
} |
165
|
|
|
|
166
|
|
|
/** |
167
|
|
|
* @return void |
168
|
|
|
*/ |
169
|
|
|
public function Aria() |
170
|
|
|
{ |
171
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* @return void |
176
|
|
|
*/ |
177
|
|
|
public function PBXT() |
178
|
|
|
{ |
179
|
|
|
$this->wizard->setEngine(__FUNCTION__); |
180
|
|
|
} |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
|