Table of Contents

Class DurationArray.Builder

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll
public class DurationArray.Builder : PrimitiveArrayBuilder<long, DurationArray, DurationArray.Builder>, IArrowArrayBuilder<long, DurationArray, DurationArray.Builder>, IArrowArrayBuilder<DurationArray, DurationArray.Builder>, IArrowArrayBuilder<DurationArray>, IArrowArrayBuilder
Inheritance
DurationArray.Builder
Implements
Inherited Members

Constructors

Builder(DurationType)

public Builder(DurationType dataType)

Parameters

dataType DurationType

Properties

DataType

public DurationType DataType { get; }

Property Value

DurationType

Methods

Append(TimeSpan?)

Append a duration in the form of a TimeSpan object to the array.

public DurationArray.Builder Append(TimeSpan? value)

Parameters

value TimeSpan?

TimeSpan to add.

Returns

DurationArray.Builder

Returns the builder (for fluent-style composition).

Append(TimeSpan)

Append a duration in the form of a TimeSpan object to the array.

public DurationArray.Builder Append(TimeSpan value)

Parameters

value TimeSpan

TimeSpan to add.

Returns

DurationArray.Builder

Returns the builder (for fluent-style composition).

Build(ArrowBuffer, ArrowBuffer, int, int, int)

protected override DurationArray Build(ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)

Parameters

valueBuffer ArrowBuffer
nullBitmapBuffer ArrowBuffer
length int
nullCount int
offset int

Returns

DurationArray