public class Aggregation128Utils extends Object
构造方法和描述 |
---|
Aggregation128Utils() |
修饰符和类型 | 方法和描述 |
---|---|
static Table |
combineInt64SumChunks(Table chunks, DType type)
从一个由四个 64 位整数列组成的表中重新组装一个 128 位值的列,并检查是否溢出。
|
static ColumnVector |
extractInt32Chunk(ColumnView col, DType outType, int chunkIdx)
从 128 位值中提取一个 32 位块。
|
public static ColumnVector extractInt32Chunk(ColumnView col, DType outType, int chunkIdx)
col
- 128 位值的列(例如:DECIMAL128)outType
- 用于输出列的整数类型(例如:UINT32 或 INT32)chunkIdx
- 要提取的 32 位块的索引,其中 0 是最低有效块,3 是最高有效块public static Table combineInt64SumChunks(Table chunks, DType type)
chunks
- 由四个 64 位整数列组成的表,列按从最低有效到最高有效的顺序排列。最后一列必须是 INT64 类型。type
- 用于结果 128 位值列的类型版权所有 © 2025。保留所有权利。