DataType
struct DataType
new_binary
pub fn new_binary(): DataType
new_binary
pub fn new_binary(): DataType
new_datetime
pub fn new_datetime(time_unit: TimeUnit, timezone: string? = nil): DataType
[src]
pub fn new_datetime(time_unit: TimeUnit, timezone: string? = nil): DataType {
return DataType._new_datetime(time_unit as int, timezone);
}
new_datetime
pub fn new_datetime(time_unit: TimeUnit, timezone: string? = nil): DataType
[src]
pub fn new_datetime(time_unit: TimeUnit, timezone: string? = nil): DataType {
return DataType._new_datetime(time_unit as int, timezone);
}
new_decimal
pub fn new_decimal(scale: int, precision: int? = nil): DataType
new_decimal
pub fn new_decimal(scale: int, precision: int? = nil): DataType
new_duration
pub fn new_duration(time_unit: TimeUnit): DataType
[src]
pub fn new_duration(time_unit: TimeUnit): DataType {
return DataType._new_duration(time_unit as int);
}
new_duration
pub fn new_duration(time_unit: TimeUnit): DataType
[src]
pub fn new_duration(time_unit: TimeUnit): DataType {
return DataType._new_duration(time_unit as int);
}
new_float32
pub fn new_float32(): DataType
new_float32
pub fn new_float32(): DataType
new_float64
pub fn new_float64(): DataType
new_float64
pub fn new_float64(): DataType
new_string
pub fn new_string(): DataType
new_string
pub fn new_string(): DataType
new_uint16
pub fn new_uint16(): DataType
new_uint16
pub fn new_uint16(): DataType
new_uint32
pub fn new_uint32(): DataType
new_uint32
pub fn new_uint32(): DataType
new_uint64
pub fn new_uint64(): DataType
new_uint64
pub fn new_uint64(): DataType
Returns the element type of an array or list type.
Returns the element type of an array or list type.
Returns the element type of an array or list type.
Panics
Panics if the type is not an array or list type.
kind
pub fn kind(self): DataTypeKind
[src]
pub fn kind(self): DataTypeKind {
return (self._kind() as DataTypeKind)!;
}
kind
pub fn kind(self): DataTypeKind
[src]
pub fn kind(self): DataTypeKind {
return (self._kind() as DataTypeKind)!;
}
Returns the element type of an array type.
Returns the element type of an array type.
Returns the element type of an array type.
Panics
Panics if the type is not an array type.
Returns the precision of a decimal type.
Returns the precision of a decimal type.
Returns the precision of a decimal type.
Panics
Panics if the type is not a decimal type.
Returns the precision of a decimal type.
Returns the precision of a decimal type.
Returns the precision of a decimal type.
Panics
Panics if the type is not a decimal type.
[src]
pub fn time_unit(self): TimeUnit {
return (self._time_unit() as TimeUnit)!;
}
Returns the time unit of the data type.
[src]
pub fn time_unit(self): TimeUnit {
return (self._time_unit() as TimeUnit)!;
}
Returns the time unit of the data type.
Returns the time unit of the data type.
Panics
Panics if the data type is not a datetime or duration type.
Returns the timezone of a datetime type.
Returns the timezone of a datetime type.
Returns the timezone of a datetime type.
Panics
Panics if the type is not a datetime type.