Table of Contents

Class ExtensionType

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

Base class for user-defined extension types. Extension types are logical types layered on top of a built-in Arrow storage type, identified by a name string.

public abstract class ExtensionType : IArrowType
Inheritance
ExtensionType
Implements
Derived
Inherited Members
Extension Methods

Constructors

ExtensionType(IArrowType)

protected ExtensionType(IArrowType storageType)

Parameters

storageType IArrowType

Properties

ExtensionMetadata

Serialized extension metadata. May be null or empty.

public abstract string ExtensionMetadata { get; }

Property Value

string

IsFixedWidth

public bool IsFixedWidth { get; }

Property Value

bool

Name

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

public abstract string Name { get; }

Property Value

string

StorageType

The underlying Arrow storage type.

public IArrowType StorageType { get; }

Property Value

IArrowType

TypeId

public ArrowTypeId TypeId { get; }

Property Value

ArrowTypeId

Methods

Accept(IArrowTypeVisitor)

public void Accept(IArrowTypeVisitor visitor)

Parameters

visitor IArrowTypeVisitor

CreateArray(IArrowArray)

Create the appropriate ExtensionArray wrapper for a storage array.

public abstract ExtensionArray CreateArray(IArrowArray storageArray)

Parameters

storageArray IArrowArray

Returns

ExtensionArray