Table of Contents

Class RunEndEncodedType

Namespace
Apache.Arrow.Types
Assembly
Apache.Arrow.dll

Represents a run-end encoded array type. Contains two child arrays: run_ends and values. The run_ends child array must be a 16/32/64-bit signed integer array which encodes the indices at which the run with the value in each corresponding index in the values child array ends.

public sealed class RunEndEncodedType : NestedType, IArrowType
Inheritance
RunEndEncodedType
Implements
Inherited Members
Extension Methods

Constructors

RunEndEncodedType(Field, Field)

Creates a new RunEndEncodedType with the specified run ends and values fields.

public RunEndEncodedType(Field runEndsField, Field valuesField)

Parameters

runEndsField Field

The run ends field (must be Int16, Int32, or Int64).

valuesField Field

The values field (can be any type).

RunEndEncodedType(IArrowType, IArrowType)

Creates a new RunEndEncodedType with the specified run ends and values data types. Uses default field names "run_ends" and "values".

public RunEndEncodedType(IArrowType runEndsDataType, IArrowType valuesDataType)

Parameters

runEndsDataType IArrowType

The run ends data type (must be Int16, Int32, or Int64).

valuesDataType IArrowType

The values data type (can be any type).

Properties

Name

public override string Name { get; }

Property Value

string

RunEndsDataType

Gets the data type of the run ends array.

public IArrowType RunEndsDataType { get; }

Property Value

IArrowType

RunEndsField

Gets the run ends field (must be Int16, Int32, or Int64).

public Field RunEndsField { get; }

Property Value

Field

TypeId

public override ArrowTypeId TypeId { get; }

Property Value

ArrowTypeId

ValuesDataType

Gets the data type of the values array.

public IArrowType ValuesDataType { get; }

Property Value

IArrowType

ValuesField

Gets the values field (can be any type).

public Field ValuesField { get; }

Property Value

Field

Methods

Accept(IArrowTypeVisitor)

public override void Accept(IArrowTypeVisitor visitor)

Parameters

visitor IArrowTypeVisitor