Table of Contents

Class DurationArray

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll
public class DurationArray : PrimitiveArray<long>, IArrowArray, IDisposable, IReadOnlyList<long?>, IReadOnlyCollection<long?>, ICollection<long?>, IEnumerable<long?>, IReadOnlyList<TimeSpan?>, IReadOnlyCollection<TimeSpan?>, IEnumerable<TimeSpan?>, IEnumerable
Inheritance
DurationArray
Implements
Inherited Members

Constructors

DurationArray(ArrayData)

public DurationArray(ArrayData data)

Parameters

data ArrayData

DurationArray(DurationType, ArrowBuffer, ArrowBuffer, int, int, int)

public DurationArray(DurationType type, ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)

Parameters

type DurationType
valueBuffer ArrowBuffer
nullBitmapBuffer ArrowBuffer
length int
nullCount int
offset int

Properties

DataType

public DurationType DataType { get; }

Property Value

DurationType

Methods

Accept(IArrowArrayVisitor)

public override void Accept(IArrowArrayVisitor visitor)

Parameters

visitor IArrowArrayVisitor

GetTimeSpan(int)

public TimeSpan? GetTimeSpan(int index)

Parameters

index int

Returns

TimeSpan?