Package org.opensearch.common.settings
Class Setting.DoubleParser
java.lang.Object
org.opensearch.common.settings.Setting.DoubleParser
public static class Setting.DoubleParser
extends Object
implements Function<String,Double>, org.opensearch.core.common.io.stream.Writeable
A writeable parser for double
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleParser
(double minValue, double maxValue, String key, boolean isFiltered) DoubleParser
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
-
Constructor Details
-
DoubleParser
-
DoubleParser
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
getMin
public double getMin() -
getMax
public double getMax() -
getKey
-
getFilterStatus
public boolean getFilterStatus() -
apply
-
equals
-
hashCode
public int hashCode()
-