Class TimestampWithOffsetType
Extension type for timestamps with per-value UTC offset, stored as Struct(timestamp: Timestamp(unit, "UTC"), offset_minutes: Int16).
public class TimestampWithOffsetType : ExtensionType, IArrowType
- Inheritance
-
TimestampWithOffsetType
- Implements
- Inherited Members
- Extension Methods
Constructors
TimestampWithOffsetType(TimeUnit)
public TimestampWithOffsetType(TimeUnit unit = TimeUnit.Microsecond)
Parameters
unitTimeUnit
Fields
Default
public static readonly TimestampWithOffsetType Default
Field Value
Properties
ExtensionMetadata
Serialized extension metadata. May be null or empty.
public override string ExtensionMetadata { get; }
Property Value
Name
The canonical extension type name (e.g. "arrow.uuid").
public override string Name { get; }
Property Value
Unit
public TimeUnit Unit { get; }
Property Value
Methods
CreateArray(IArrowArray)
Create the appropriate ExtensionArray wrapper for a storage array.
public override ExtensionArray CreateArray(IArrowArray storageArray)
Parameters
storageArrayIArrowArray