Table of Contents

Class TimestampWithOffsetType

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

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

unit TimeUnit

Fields

Default

public static readonly TimestampWithOffsetType Default

Field Value

TimestampWithOffsetType

Properties

ExtensionMetadata

Serialized extension metadata. May be null or empty.

public override string ExtensionMetadata { get; }

Property Value

string

Name

The canonical extension type name (e.g. "arrow.uuid").

public override string Name { get; }

Property Value

string

Unit

public TimeUnit Unit { get; }

Property Value

TimeUnit

Methods

CreateArray(IArrowArray)

Create the appropriate ExtensionArray wrapper for a storage array.

public override ExtensionArray CreateArray(IArrowArray storageArray)

Parameters

storageArray IArrowArray

Returns

ExtensionArray