Completed
Push — master ( 458bc7...db1380 )
by
unknown
66:38 queued 64:41
created

CrateKeywords::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * Licensed to CRATE Technology GmbH("Crate") under one or more contributor
4
 * license agreements.  See the NOTICE file distributed with this work for
5
 * additional information regarding copyright ownership.  Crate licenses
6
 * this file to you under the Apache License, Version 2.0 (the "License");
7
 * you may not use this file except in compliance with the License.  You may
8
 * obtain a copy of the License at
9
 *
10
 * http://www.apache.org/licenses/LICENSE-2.0
11
 *
12
 * Unless required by applicable law or agreed to in writing, software
13
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
15
 * License for the specific language governing permissions and limitations
16
 * under the License.
17
 *
18
 * However, if you have executed another commercial license agreement
19
 * with Crate these terms will supersede the license and you may use the
20
 * software solely pursuant to the terms of the relevant commercial agreement.
21
 */
22
namespace Crate\DBAL\Platforms\Keywords;
23
24
use Doctrine\DBAL\Platforms\Keywords\KeywordList;
25
26
class CrateKeywords extends KeywordList
27
{
28
    public function getName()
29
    {
30
        return 'Crate';
31
    }
32
33 23
    protected function getKeywords()
34
    {
35
        return array(
36 23
            'ALL',
37 23
            'ANALYSE',
38 23
            'ANALYZE',
39 23
            'AND',
40 23
            'ANY',
41 23
            'AS',
42 23
            'ASC',
43 23
            'AUTHORIZATION',
44 23
            'BETWEEN',
45 23
            'BINARY',
46 23
            'BOTH',
47 23
            'CASE',
48 23
            'CAST',
49 23
            'CHECK',
50 23
            'COLLATE',
51 23
            'COLUMN',
52 23
            'CONSTRAINT',
53 23
            'CREATE',
54 23
            'CURRENT_DATE',
55 23
            'CURRENT_TIME',
56 23
            'CURRENT_TIMESTAMP',
57 23
            'CURRENT_USER',
58 23
            'DEFAULT',
59 23
            'DEFERRABLE',
60 23
            'DESC',
61 23
            'DISTINCT',
62 23
            'DO',
63 23
            'ELSE',
64 23
            'END',
65 23
            'EXCEPT',
66 23
            'FALSE',
67 23
            'FOR',
68 23
            'FOREIGN',
69 23
            'FREEZE',
70 23
            'FROM',
71 23
            'FULL',
72 23
            'GRANT',
73 23
            'GROUP',
74 23
            'HAVING',
75 23
            'ILIKE',
76 23
            'IN',
77 23
            'INITIALLY',
78 23
            'INNER',
79 23
            'INTERSECT',
80 23
            'INTO',
81 23
            'IS',
82 23
            'ISNULL',
83 23
            'JOIN',
84 23
            'LEADING',
85 23
            'LEFT',
86 23
            'LIKE',
87 23
            'LIMIT',
88 23
            'LOCALTIME',
89 23
            'LOCALTIMESTAMP',
90 23
            'NATURAL',
91 23
            'NEW',
92 23
            'NOT',
93 23
            'NOTNULL',
94 23
            'NULL',
95 23
            'OFF',
96 23
            'OFFSET',
97 23
            'OLD',
98 23
            'ON',
99 23
            'ONLY',
100 23
            'OR',
101 23
            'ORDER',
102 23
            'OUTER',
103 23
            'OVERLAPS',
104 23
            'PLACING',
105 23
            'PRIMARY',
106 23
            'REFERENCES',
107 23
            'SELECT',
108 23
            'SESSION_USER',
109 23
            'SIMILAR',
110 23
            'SOME',
111 23
            'TABLE',
112 23
            'THEN',
113 23
            'TO',
114 23
            'TRAILING',
115 23
            'TRUE',
116 23
            'UNION',
117 23
            'UNIQUE',
118 23
            'USER',
119 23
            'USING',
120 23
            'VERBOSE',
121 23
            'WHEN',
122
            'WHERE'
123 23
        );
124
    }
125
}
126