File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
java-client/src/main/java/co/elastic/clients/elasticsearch/indices Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 27
27
import co .elastic .clients .json .JsonpDeserializable ;
28
28
import co .elastic .clients .json .JsonpDeserializer ;
29
29
30
+ import javax .annotation .Nullable ;
31
+
30
32
/**
31
33
*
32
34
* @see <a href="../doc-files/api-spec.html#indices._types.StorageType">API
@@ -39,7 +41,7 @@ public enum StorageType implements JsonEnum {
39
41
* depending on the operating environment, which is currently hybridfs on all
40
42
* supported systems but is subject to change.
41
43
*/
42
- Fs ("fs" ),
44
+ Fs ("fs" , "" ),
43
45
44
46
/**
45
47
* The NIO FS type stores the shard index on the file system (maps to Lucene
@@ -68,20 +70,24 @@ public enum StorageType implements JsonEnum {
68
70
*/
69
71
Hybridfs ("hybridfs" ),
70
72
71
- SystemDefault ("" ),
72
-
73
73
;
74
74
75
75
private final String jsonValue ;
76
+ private final String [] aliases ;
76
77
77
- StorageType (String jsonValue ) {
78
+ StorageType (String jsonValue , String ... aliases ) {
78
79
this .jsonValue = jsonValue ;
80
+ this .aliases = aliases ;
79
81
}
80
82
81
83
public String jsonValue () {
82
84
return this .jsonValue ;
83
85
}
84
86
87
+ public String [] aliases () {
88
+ return this .aliases ;
89
+ }
90
+
85
91
public static final JsonEnum .Deserializer <StorageType > _DESERIALIZER = new JsonEnum .Deserializer <>(
86
92
StorageType .values ());
87
93
}
You can’t perform that action at this time.
0 commit comments