Binary(二进制)
Binary(二进制): 4
DateDay(日期天)
DateDay(日期天): -13
DateMillisecond(日期毫秒)
DateMillisecond(日期毫秒): -14
Decimal(十进制)
Decimal(十进制): 7
DenseUnion(密集联合)
DenseUnion(密集联合): -23
Dictionary(字典)
Dictionary(字典): -1
Duration(持续时间)
Duration(持续时间): 18
DurationMicrosecond(持续时间微秒)
DurationMicrosecond(持续时间微秒): -29
DurationMillisecond(持续时间毫秒)
DurationMillisecond(持续时间毫秒): -28
DurationNanosecond(持续时间纳秒)
DurationNanosecond(持续时间纳秒): -30
持续时间(秒)
DurationSecond: -27
固定大小二进制
FixedSizeBinary: 15
间隔(日时)
IntervalDayTime: -25
间隔(月日纳秒)
IntervalMonthDayNano: -31
间隔(年月)
IntervalYearMonth: -26
时间(微秒)
TimeMicrosecond: -21
时间(毫秒)
TimeMillisecond: -20
时间(纳秒)
TimeNanosecond: -22
时间戳(微秒)
TimestampMicrosecond: -17
时间戳(毫秒)
TimestampMillisecond: -16
时间戳(纳秒)
TimestampNanosecond: -18
时间戳(秒)
TimestampSecond: -15
主要数据类型枚举。
此库中的数据类型都是逻辑的。 它们可以表示为原始物理类型(某些固定大小的字节或位),由其他数据类型组成的嵌套类型,或另一种数据类型(例如,编码为 int64 的时间戳)。
注意:只有非负枚举值才会写入 Arrow IPC 负载。
此处指定了其余值,因此 TypeScript 可以将类型签名进一步缩小到基本 Arrow 类型之外。 Arrow 数据类型包含诸如
bitWidth
之类的元数据,这些元数据会影响我们接受和返回的值的类型签名。例如,
Int8Vector
从Int8Array
读取 1 字节的数字,Int32Vector
从Int32Array
读取 4 字节的数字,而Int64Vector
从底层Int32Array
读取一对 4 字节的 lo, hi 32 位整数作为零拷贝切片。库使用者可以通过了解最窄的类型来受益,因为我们可以确保跨所有公共方法的类型都得到传播,并且永远不会放弃到
any
。 这些值从不在运行时使用,并且永远不会写入序列化 Arrow IPC 负载的 flatbuffers 元数据。