Table of Contents

Class TimestampWithOffsetExtensionDefinition

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

Extension definition for the "arrow.timestamp_with_offset" canonical extension type. Storage is a struct with fields "timestamp" (Timestamp(unit, "UTC")) and "offset_minutes" (Int16). The offset_minutes field may be dictionary-encoded or run-end encoded.

public class TimestampWithOffsetExtensionDefinition : ExtensionDefinition
Inheritance
TimestampWithOffsetExtensionDefinition
Inherited Members

Fields

Instance

public static readonly TimestampWithOffsetExtensionDefinition Instance

Field Value

TimestampWithOffsetExtensionDefinition

Properties

ExtensionName

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

public override string ExtensionName { get; }

Property Value

string

Methods

TryCreateType(IArrowType, string, out ExtensionType)

Attempt to create an ExtensionType from a storage type and serialized metadata.

public override bool TryCreateType(IArrowType storageType, string metadata, out ExtensionType type)

Parameters

storageType IArrowType

The underlying Arrow storage type.

metadata string

The serialized extension metadata string, or null.

type ExtensionType

The created extension type, if successful.

Returns

bool

True if the type was created successfully; false otherwise.