Table of Contents

Class TimeArrayBuilder<TUnderlying, TArray, TBuilder>

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll
public abstract class TimeArrayBuilder<TUnderlying, TArray, TBuilder> : DelegatingArrayBuilder<TUnderlying, TArray, TBuilder>, IArrowArrayBuilder<TArray, TBuilder>, IArrowArrayBuilder<TArray>, IArrowArrayBuilder where TArray : IArrowArray where TBuilder : class, IArrowArrayBuilder<TArray>

Type Parameters

TUnderlying
TArray
TBuilder
Inheritance
DelegatingArrayBuilder<TUnderlying, TArray, TBuilder>
TimeArrayBuilder<TUnderlying, TArray, TBuilder>
Implements
IArrowArrayBuilder<TArray, TBuilder>
Derived
Inherited Members

Constructors

TimeArrayBuilder(IArrowArrayBuilder<TUnderlying, TArray, IArrowArrayBuilder<TArray>>)

Construct a new instance of the TimeArrayBuilder<TUnderlying, TArray, TBuilder> class.

protected TimeArrayBuilder(IArrowArrayBuilder<TUnderlying, TArray, IArrowArrayBuilder<TArray>> innerBuilder)

Parameters

innerBuilder IArrowArrayBuilder<TUnderlying, TArray, IArrowArrayBuilder<TArray>>

Inner builder that will produce arrays of type TArray.

Methods

Append(ReadOnlySpan<TUnderlying>)

public TBuilder Append(ReadOnlySpan<TUnderlying> values)

Parameters

values ReadOnlySpan<TUnderlying>

Returns

TBuilder

Append(TUnderlying)

Append a time

public TBuilder Append(TUnderlying value)

Parameters

value TUnderlying

Returns

TBuilder

AppendNull()

Append a null time to the array.

public override TBuilder AppendNull()

Returns

TBuilder

Returns the builder (for fluent-style composition).

AppendRange(IEnumerable<TUnderlying>)

public TBuilder AppendRange(IEnumerable<TUnderlying> values)

Parameters

values IEnumerable<TUnderlying>

Returns

TBuilder

Set(int, TUnderlying)

public TBuilder Set(int index, TUnderlying value)

Parameters

index int
value TUnderlying

Returns

TBuilder

Swap(int, int)

Swap the values of the times at the specified indices.

public TBuilder Swap(int i, int j)

Parameters

i int

First index.

j int

Second index.

Returns

TBuilder

Returns the builder (for fluent-style composition).