Class ExtensionType
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
storageTypeIArrowType
Properties
ExtensionMetadata
Serialized extension metadata. May be null or empty.
public abstract string ExtensionMetadata { get; }
Property Value
IsFixedWidth
public bool IsFixedWidth { get; }
Property Value
Name
The canonical extension type name (e.g. "arrow.uuid").
public abstract string Name { get; }
Property Value
StorageType
The underlying Arrow storage type.
public IArrowType StorageType { get; }
Property Value
TypeId
public ArrowTypeId TypeId { get; }
Property Value
Methods
Accept(IArrowTypeVisitor)
public void Accept(IArrowTypeVisitor visitor)
Parameters
visitorIArrowTypeVisitor
CreateArray(IArrowArray)
Create the appropriate ExtensionArray wrapper for a storage array.
public abstract ExtensionArray CreateArray(IArrowArray storageArray)
Parameters
storageArrayIArrowArray