Class FloatValue
java.lang.Object
org.opensearch.ml.common.dataframe.FloatValue
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,ColumnValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested 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> -
Field Summary
Fields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.ml.common.dataframe.ColumnValue
booleanValue, equals, intValue, longValue, shortValue, stringValue, toXContent, toXContentMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
FloatValue
public FloatValue(float value)
-
-
Method Details
-
columnType
- Specified by:
columnTypein interfaceColumnValue
-
getValue
- Specified by:
getValuein interfaceColumnValue
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceColumnValue
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceColumnValue
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
toString
-