Skip to content

Commit 4935d85

Browse files
committed
cleaner enums
1 parent 37adfca commit 4935d85

File tree

182 files changed

+865
-865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+865
-865
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
enum MinimumInterval {
2-
second = 0,
3-
minute = 1,
4-
hour = 2,
5-
day = 3,
6-
month = 4,
7-
year = 5
2+
second,
3+
minute,
4+
hour,
5+
day,
6+
month,
7+
year
88
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
enum DateInterval {
2-
second = 0,
3-
minute = 1,
4-
hour = 2,
5-
day = 3,
6-
week = 4,
7-
month = 5,
8-
quarter = 6,
9-
year = 7
2+
second,
3+
minute,
4+
hour,
5+
day,
6+
week,
7+
month,
8+
quarter,
9+
year
1010
}
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
enum GeoHashPrecision {
2-
Precision1 = 1,
3-
Precision2 = 2,
4-
Precision3 = 3,
5-
Precision4 = 4,
6-
Precision5 = 5,
7-
Precision6 = 6,
8-
Precision7 = 7,
9-
Precision8 = 8,
10-
Precision9 = 9,
11-
Precision10 = 10,
12-
Precision11 = 11,
13-
Precision12 = 12
2+
Precision1,
3+
Precision2,
4+
Precision3,
5+
Precision4,
6+
Precision5,
7+
Precision6,
8+
Precision7,
9+
Precision8,
10+
Precision9,
11+
Precision10,
12+
Precision11,
13+
Precision12
1414
}
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
enum GeoTilePrecision {
2-
Precision0 = 0,
3-
Precision1 = 1,
4-
Precision2 = 2,
5-
Precision3 = 3,
6-
Precision4 = 4,
7-
Precision5 = 5,
8-
Precision6 = 6,
9-
Precision7 = 7,
10-
Precision8 = 8,
11-
Precision9 = 9,
12-
Precision10 = 10,
13-
Precision11 = 11,
14-
Precision12 = 12,
15-
Precision13 = 13,
16-
Precision14 = 14,
17-
Precision15 = 15,
18-
Precision16 = 16,
19-
Precision17 = 17,
20-
Precision18 = 18,
21-
Precision19 = 19,
22-
Precision20 = 20,
23-
Precision21 = 21,
24-
Precision22 = 22,
25-
Precision23 = 23,
26-
Precision24 = 24,
27-
Precision25 = 25,
28-
Precision26 = 26,
29-
Precision27 = 27,
30-
Precision28 = 28,
31-
Precision29 = 29
2+
Precision0,
3+
Precision1,
4+
Precision2,
5+
Precision3,
6+
Precision4,
7+
Precision5,
8+
Precision6,
9+
Precision7,
10+
Precision8,
11+
Precision9,
12+
Precision10,
13+
Precision11,
14+
Precision12,
15+
Precision13,
16+
Precision14,
17+
Precision15,
18+
Precision16,
19+
Precision17,
20+
Precision18,
21+
Precision19,
22+
Precision20,
23+
Precision21,
24+
Precision22,
25+
Precision23,
26+
Precision24,
27+
Precision25,
28+
Precision26,
29+
Precision27,
30+
Precision28,
31+
Precision29
3232
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum SamplerAggregationExecutionHint {
2-
map = 0,
3-
global_ordinals = 1,
4-
bytes_hash = 2
2+
map,
3+
global_ordinals,
4+
bytes_hash
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum TermsAggregationCollectMode {
2-
depth_first = 0,
3-
breadth_first = 1
2+
depth_first,
3+
breadth_first
44
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
enum TermsAggregationExecutionHint {
2-
map = 0,
3-
global_ordinals = 1,
4-
global_ordinals_hash = 2,
5-
global_ordinals_low_cardinality = 3
2+
map,
3+
global_ordinals,
4+
global_ordinals_hash,
5+
global_ordinals_low_cardinality
66
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
enum MatrixStatsMode {
2-
avg = 0,
3-
min = 1,
4-
max = 2,
5-
sum = 3,
6-
median = 4
2+
avg,
3+
min,
4+
max,
5+
sum,
6+
median
77
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
enum ValueType {
2-
string = 0,
3-
long = 1,
4-
double = 2,
5-
number = 3,
6-
date = 4,
7-
date_nanos = 5,
8-
ip = 6,
9-
numeric = 7,
10-
geo_point = 8,
11-
boolean = 9
2+
string,
3+
long,
4+
double,
5+
number,
6+
date,
7+
date_nanos,
8+
ip,
9+
numeric,
10+
geo_point,
11+
boolean
1212
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum GapPolicy {
2-
skip = 0,
3-
insert_zeros = 1
2+
skip,
3+
insert_zeros
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum HoltWintersType {
2-
add = 0,
3-
mult = 1
2+
add,
3+
mult
44
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum AggregationVisitorScope {
2-
Unknown = 0,
3-
Aggregation = 1,
4-
Bucket = 2
2+
Unknown,
3+
Aggregation,
4+
Bucket
55
}
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
enum Language {
2-
Arabic = 0,
3-
Armenian = 1,
4-
Basque = 2,
5-
Brazilian = 3,
6-
Bulgarian = 4,
7-
Catalan = 5,
8-
Chinese = 6,
9-
Cjk = 7,
10-
Czech = 8,
11-
Danish = 9,
12-
Dutch = 10,
13-
English = 11,
14-
Finnish = 12,
15-
French = 13,
16-
Galician = 14,
17-
German = 15,
18-
Greek = 16,
19-
Hindi = 17,
20-
Hungarian = 18,
21-
Indonesian = 19,
22-
Irish = 20,
23-
Italian = 21,
24-
Latvian = 22,
25-
Norwegian = 23,
26-
Persian = 24,
27-
Portuguese = 25,
28-
Romanian = 26,
29-
Russian = 27,
30-
Sorani = 28,
31-
Spanish = 29,
32-
Swedish = 30,
33-
Turkish = 31,
34-
Thai = 32
2+
Arabic,
3+
Armenian,
4+
Basque,
5+
Brazilian,
6+
Bulgarian,
7+
Catalan,
8+
Chinese,
9+
Cjk,
10+
Czech,
11+
Danish,
12+
Dutch,
13+
English,
14+
Finnish,
15+
French,
16+
Galician,
17+
German,
18+
Greek,
19+
Hindi,
20+
Hungarian,
21+
Indonesian,
22+
Irish,
23+
Italian,
24+
Latvian,
25+
Norwegian,
26+
Persian,
27+
Portuguese,
28+
Romanian,
29+
Russian,
30+
Sorani,
31+
Spanish,
32+
Swedish,
33+
Turkish,
34+
Thai
3535
}
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
enum SnowballLanguage {
2-
Armenian = 0,
3-
Basque = 1,
4-
Catalan = 2,
5-
Danish = 3,
6-
Dutch = 4,
7-
English = 5,
8-
Finnish = 6,
9-
French = 7,
10-
German = 8,
11-
German2 = 9,
12-
Hungarian = 10,
13-
Italian = 11,
14-
Kp = 12,
15-
Lovins = 13,
16-
Norwegian = 14,
17-
Porter = 15,
18-
Portuguese = 16,
19-
Romanian = 17,
20-
Russian = 18,
21-
Spanish = 19,
22-
Swedish = 20,
23-
Turkish = 21
2+
Armenian,
3+
Basque,
4+
Catalan,
5+
Danish,
6+
Dutch,
7+
English,
8+
Finnish,
9+
French,
10+
German,
11+
German2,
12+
Hungarian,
13+
Italian,
14+
Kp,
15+
Lovins,
16+
Norwegian,
17+
Porter,
18+
Portuguese,
19+
Romanian,
20+
Russian,
21+
Spanish,
22+
Swedish,
23+
Turkish
2424
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum IcuCollationAlternate {
2-
shifted = 0,
3-
'non-ignorable' = 1
2+
shifted,
3+
'non-ignorable'
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum IcuCollationCaseFirst {
2-
lower = 0,
3-
upper = 1
2+
lower,
3+
upper
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum IcuCollationDecomposition {
2-
no = 0,
3-
identical = 1
2+
no,
3+
identical
44
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
enum IcuCollationStrength {
2-
primary = 0,
3-
secondary = 1,
4-
tertiary = 2,
5-
quaternary = 3,
6-
identical = 4
2+
primary,
3+
secondary,
4+
tertiary,
5+
quaternary,
6+
identical
77
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum IcuNormalizationMode {
2-
decompose = 0,
3-
compose = 1
2+
decompose,
3+
compose
44
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum IcuNormalizationType {
2-
nfc = 0,
3-
nfkc = 1,
4-
nfkc_cf = 2
2+
nfc,
3+
nfkc,
4+
nfkc_cf
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
enum IcuTransformDirection {
2-
forward = 0,
3-
reverse = 1
2+
forward,
3+
reverse
44
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum KuromojiTokenizationMode {
2-
normal = 0,
3-
search = 1,
4-
extended = 2
2+
normal,
3+
search,
4+
extended
55
}

0 commit comments

Comments
 (0)