public class FloatType extends FractionalType
Float values. Please use the singleton DataTypes.FloatType.
| Modifier and Type | Method and Description |
|---|---|
scala.math.Numeric.FloatAsIfIntegral$ |
asIntegral() |
FloatType |
asNullable()
Returns the same data type but set all nullability fields are true
(
StructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull). |
int |
defaultSize()
The default size of a value of the FloatType is 4 bytes.
|
scala.math.Fractional<Object> |
fractional() |
scala.math.Numeric<Object> |
numeric() |
scala.math.Ordering<Object> |
ordering() |
scala.reflect.api.TypeTags.TypeTag<Object> |
tag() |
unapplyall, classTag, unapplyequalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapplyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrimitivepublic scala.reflect.api.TypeTags.TypeTag<Object> tag()
tag in class NativeTypepublic scala.math.Numeric<Object> numeric()
numeric in class NumericTypepublic scala.math.Fractional<Object> fractional()
fractional in class FractionalTypepublic scala.math.Ordering<Object> ordering()
ordering in class NativeTypepublic scala.math.Numeric.FloatAsIfIntegral$ asIntegral()
asIntegral in class FractionalTypepublic int defaultSize()
defaultSize in class DataTypepublic FloatType asNullable()
DataTypeStructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull).asNullable in class DataType