public class InternalRowUtils extends Object
InternalRow
structures.Constructor and Description |
---|
InternalRowUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
castToIntegral(Decimal dec) |
static int |
compare(Object x,
Object y,
DataTypeRoot type) |
static Object |
copy(Object o,
DataType type) |
static InternalArray |
copyArray(InternalArray from,
DataType eleType) |
static InternalRow |
copyInternalRow(InternalRow row,
RowType rowType) |
static InternalRow.FieldGetter[] |
createFieldGetters(List<DataType> fieldTypes) |
static InternalRow.FieldGetter |
createNullCheckingFieldGetter(DataType dataType,
int index) |
static List<String> |
fromStringArrayData(InternalArray arrayData) |
static Object |
get(DataGetters dataGetters,
int pos,
DataType fieldType) |
static InternalArray |
toStringArrayData(List<String> list) |
public static InternalRow copyInternalRow(InternalRow row, RowType rowType)
public static InternalArray copyArray(InternalArray from, DataType eleType)
public static Object get(DataGetters dataGetters, int pos, DataType fieldType)
public static InternalArray toStringArrayData(List<String> list)
public static List<String> fromStringArrayData(InternalArray arrayData)
public static long castToIntegral(Decimal dec)
public static InternalRow.FieldGetter[] createFieldGetters(List<DataType> fieldTypes)
public static InternalRow.FieldGetter createNullCheckingFieldGetter(DataType dataType, int index)
public static int compare(Object x, Object y, DataTypeRoot type)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.