Class RunEndEncodedType
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
runEndsFieldFieldThe run ends field (must be Int16, Int32, or Int64).
valuesFieldFieldThe 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
runEndsDataTypeIArrowTypeThe run ends data type (must be Int16, Int32, or Int64).
valuesDataTypeIArrowTypeThe values data type (can be any type).
Properties
Name
public override string Name { get; }
Property Value
RunEndsDataType
Gets the data type of the run ends array.
public IArrowType RunEndsDataType { get; }
Property Value
RunEndsField
Gets the run ends field (must be Int16, Int32, or Int64).
public Field RunEndsField { get; }
Property Value
TypeId
public override ArrowTypeId TypeId { get; }
Property Value
ValuesDataType
Gets the data type of the values array.
public IArrowType ValuesDataType { get; }
Property Value
ValuesField
Gets the values field (can be any type).
public Field ValuesField { get; }
Property Value
Methods
Accept(IArrowTypeVisitor)
public override void Accept(IArrowTypeVisitor visitor)
Parameters
visitorIArrowTypeVisitor