Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataType<TType, TChildren> Abstract

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: TypeMap = any

Hierarchy

  • DataType

Index

Constructors

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

    • TType: Type = Type

    • TChildren: TypeMap = any

    Returns DataType<TType, TChildren>

Properties

ArrayType: any
TArray: any
TChildren: TChildren
TType: TType
TValue: any
[toStringTag]: string
children: Field<TChildren[keyof TChildren]>[]

Accessors

  • get typeId(): TType

Methods

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

    Parameters

    • x: any

    Returns x is Binary

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

    Parameters

    • x: any

    Returns x is Bool

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

    Parameters

    • x: any

    Returns x is Date_<Dates>

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

    Parameters

    • x: any

    Returns x is Decimal

  • isDenseUnion(x: any): x is DenseUnion
  • nocollapse

    Parameters

    • x: any

    Returns x is DenseUnion

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

    Parameters

    • x: any

    Returns x is Dictionary<any, TKeys>

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

    Parameters

    • x: any

    Returns x is FixedSizeBinary

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

    Parameters

    • x: any

    Returns x is FixedSizeList<any>

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

    Parameters

    • x: any

    Returns x is Float<Floats>

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

    Parameters

    • x: any

    Returns x is Int_<Ints>

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

    Parameters

    • x: any

    Returns x is Interval_<Intervals>

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

    Parameters

    • x: any

    Returns x is List<any>

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

    Parameters

    • x: any

    Returns x is Map_<any, any>

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

    Parameters

    • x: any

    Returns x is Null

  • isSparseUnion(x: any): x is SparseUnion
  • nocollapse

    Parameters

    • x: any

    Returns x is SparseUnion

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

    Parameters

    • x: any

    Returns x is Struct<any>

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

    Parameters

    • x: any

    Returns x is Time_<Times>

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

    Parameters

    • x: any

    Returns x is Timestamp_<Timestamps>

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

    Parameters

    • x: any

    Returns x is Union_<Unions>

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

    Parameters

    • x: any

    Returns x is Utf8

Generated using TypeDoc