Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataType<TType, TChildren>

An abstract base class for classes that encapsulate metadata about each of the logical types that Arrow can represent.

Type parameters

  • TType: Type = Type

  • TChildren: {} = any

Hierarchy

  • DataType

Index

Constructors

constructor

  • new DataType<TType, TChildren>(): DataType<TType, TChildren>
  • Type parameters

    • TType: Type = Type

    • TChildren: {} = any

    Returns DataType<TType, TChildren>

Properties

Readonly ArrayType

ArrayType: any

Readonly TArray

TArray: any

TType

TType: TType

Readonly TValue

TValue: any

[Symbol.toStringTag]

[Symbol.toStringTag]: string

Readonly children

children: Field<TChildren[keyof TChildren]>[]

Accessors

typeId

  • get typeId(): TType

Methods

Static isBinary

  • isBinary(x: any): x is Binary
  • nocollapse

    Parameters

    • x: any

    Returns x is Binary

Static isBool

  • isBool(x: any): x is Bool
  • nocollapse

    Parameters

    • x: any

    Returns x is Bool

Static isDate

  • isDate(x: any): x is Date_<Dates>
  • nocollapse

    Parameters

    • x: any

    Returns x is Date_<Dates>

Static isDecimal

  • isDecimal(x: any): x is Decimal
  • nocollapse

    Parameters

    • x: any

    Returns x is Decimal

Static isDictionary

  • isDictionary(x: any): x is Dictionary<any, TKeys>
  • nocollapse

    Parameters

    • x: any

    Returns x is Dictionary<any, TKeys>

Static isFixedSizeBinary

  • isFixedSizeBinary(x: any): x is FixedSizeBinary
  • nocollapse

    Parameters

    • x: any

    Returns x is FixedSizeBinary

Static isFixedSizeList

  • isFixedSizeList(x: any): x is FixedSizeList<any>
  • nocollapse

    Parameters

    • x: any

    Returns x is FixedSizeList<any>

Static isFloat

  • isFloat(x: any): x is Float<Floats>
  • nocollapse

    Parameters

    • x: any

    Returns x is Float<Floats>

Static isInt

  • isInt(x: any): x is Int_<Ints>
  • nocollapse

    Parameters

    • x: any

    Returns x is Int_<Ints>

Static isInterval

  • isInterval(x: any): x is Interval_<Intervals>
  • nocollapse

    Parameters

    • x: any

    Returns x is Interval_<Intervals>

Static isList

  • isList(x: any): x is List<any>
  • nocollapse

    Parameters

    • x: any

    Returns x is List<any>

Static isMap

  • isMap(x: any): x is Map_<any, any>
  • nocollapse

    Parameters

    • x: any

    Returns x is Map_<any, any>

Static isNull

  • isNull(x: any): x is Null
  • nocollapse

    Parameters

    • x: any

    Returns x is Null

Static isStruct

  • isStruct(x: any): x is Struct<any>
  • nocollapse

    Parameters

    • x: any

    Returns x is Struct<any>

Static isTime

  • isTime(x: any): x is Time_<Times>
  • nocollapse

    Parameters

    • x: any

    Returns x is Time_<Times>

Static isTimestamp

  • isTimestamp(x: any): x is Timestamp_<Timestamps>
  • nocollapse

    Parameters

    • x: any

    Returns x is Timestamp_<Timestamps>

Static isUnion

  • isUnion(x: any): x is Union_<Unions>
  • nocollapse

    Parameters

    • x: any

    Returns x is Union_<Unions>

Static isUtf8

  • isUtf8(x: any): x is Utf8
  • nocollapse

    Parameters

    • x: any

    Returns x is Utf8

Generated using TypeDoc