1 | <?php |
||
38 | class LqlBuilder extends LqlAbstract |
||
39 | { |
||
40 | /** |
||
41 | * @var \Kwkm\MkLiveStatusClient\Lql |
||
42 | */ |
||
43 | private $lql; |
||
44 | |||
45 | /** |
||
46 | * @var \Kwkm\MkLiveStatusClient\Column |
||
47 | */ |
||
48 | private $column; |
||
49 | |||
50 | /** |
||
51 | * @var \Kwkm\MkLiveStatusClient\Filter |
||
52 | */ |
||
53 | private $filter; |
||
54 | |||
55 | /** |
||
56 | * @var \Kwkm\MkLiveStatusClient\Stats |
||
57 | */ |
||
58 | private $stats; |
||
59 | |||
60 | /** |
||
61 | * 初期化 |
||
62 | * |
||
63 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
64 | */ |
||
65 | 25 | public function reset() |
|
74 | |||
75 | 21 | public function __call($method, $arguments) |
|
90 | |||
91 | 20 | private function callPropertyMethod($lengthProperty, $method, $arguments) |
|
108 | |||
109 | /** |
||
110 | * 取得カラムの指定 |
||
111 | * |
||
112 | * @param string $column |
||
113 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
114 | * @throw \InvalidArgumentException if the provided argument is not of type 'string'. |
||
115 | */ |
||
116 | 7 | public function column($column) |
|
123 | |||
124 | /** |
||
125 | * ヘッダ情報を取得するかの設定 |
||
126 | * |
||
127 | * @param boolean $boolean |
||
128 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
129 | * @throw \InvalidArgumentException if the provided argument is not of type 'boolean'. |
||
130 | */ |
||
131 | 1 | public function headers($boolean) |
|
137 | |||
138 | /** |
||
139 | * 取得カラムの一括指定 |
||
140 | * |
||
141 | * @param array $columns |
||
142 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
143 | * @throw \InvalidArgumentException if the provided argument is not of type 'array'. |
||
144 | */ |
||
145 | 7 | public function columns($columns) |
|
152 | |||
153 | /** |
||
154 | * パラメータの指定 |
||
155 | * @param string $parameter |
||
156 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
157 | * @throw \InvalidArgumentException if the provided argument is not of type 'string'. |
||
158 | */ |
||
159 | 1 | public function parameter($parameter) |
|
165 | |||
166 | /** |
||
167 | * OutputFormat の指定 |
||
168 | * @param string $outputFormat |
||
169 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
170 | * @throw \InvalidArgumentException if the provided argument is not of type 'string'. |
||
171 | */ |
||
172 | 1 | public function outputFormat($outputFormat) |
|
178 | |||
179 | /** |
||
180 | * Limit の指定 |
||
181 | * @param integer $limit |
||
182 | * @return \Kwkm\MkLiveStatusClient\LqlBuilder |
||
183 | * @throw \InvalidArgumentException if the provided argument is not of type 'integer'. |
||
184 | */ |
||
185 | 1 | public function limit($limit) |
|
191 | |||
192 | /** |
||
193 | * Lqlの実行テキストの作成 |
||
194 | * @return string |
||
195 | */ |
||
196 | 23 | public function build() |
|
200 | |||
201 | /** |
||
202 | * コンストラクタ |
||
203 | */ |
||
204 | 25 | public function __construct($table, $authUser = null) |
|
209 | } |
||
210 |