public class DoubleType extends FractionalType
Double
values. Please use the singleton DataTypes.DoubleType
.
Modifier and Type | Method and Description |
---|---|
scala.math.Numeric.DoubleAsIfIntegral$ |
asIntegral() |
DoubleType |
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 DoubleType is 8 bytes.
|
scala.math.Fractional<Object> |
fractional() |
scala.math.Numeric<Object> |
numeric() |
scala.math.Ordering<Object> |
ordering() |
scala.reflect.api.TypeTags.TypeTag<Object> |
tag() |
unapply
all, classTag, unapply
equalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapply
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPrimitive
public scala.reflect.api.TypeTags.TypeTag<Object> tag()
tag
in class NativeType
public scala.math.Numeric<Object> numeric()
numeric
in class NumericType
public scala.math.Fractional<Object> fractional()
fractional
in class FractionalType
public scala.math.Ordering<Object> ordering()
ordering
in class NativeType
public scala.math.Numeric.DoubleAsIfIntegral$ asIntegral()
asIntegral
in class FractionalType
public int defaultSize()
defaultSize
in class DataType
public DoubleType asNullable()
DataType
StructField.nullable
, ArrayType.containsNull
, and MapType.valueContainsNull
).asNullable
in class DataType