java.lang.Object
org.elasticsearch.common.Explicit<T>
Holds a value that is either:
a) set implicitly e.g. through some default value
b) set explicitly e.g. from a user selection
When merging conflicting configuration settings such as
field mapping settings it is preferable to preserve an explicit
choice rather than a choice made only made implicitly by defaults.
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
-
Field Details
-
EXPLICIT_TRUE
-
EXPLICIT_FALSE
-
IMPLICIT_TRUE
-
IMPLICIT_FALSE
-
-
Constructor Details
-
Explicit
Create a value with an indication if this was an explicit choice- Parameters:
value
- a setting valueexplicit
- true if the value passed is a conscious decision, false if using some kind of default
-
-
Method Details