public class SparkInternalRow
extends org.apache.spark.sql.catalyst.InternalRow
InternalRow
to wrap InternalRow
.Constructor and Description |
---|
SparkInternalRow(RowType rowType) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.catalyst.InternalRow |
copy() |
boolean |
equals(Object o) |
static org.apache.spark.unsafe.types.UTF8String |
fromPaimon(BinaryString string) |
static org.apache.spark.sql.types.Decimal |
fromPaimon(Decimal decimal) |
static org.apache.spark.sql.catalyst.util.ArrayData |
fromPaimon(InternalArray array,
ArrayType arrayType) |
static org.apache.spark.sql.catalyst.util.MapData |
fromPaimon(InternalMap map,
DataType mapType) |
static org.apache.spark.sql.catalyst.InternalRow |
fromPaimon(InternalRow row,
RowType rowType) |
static Object |
fromPaimon(Object o,
DataType type) |
static long |
fromPaimon(Timestamp timestamp) |
Object |
get(int ordinal,
org.apache.spark.sql.types.DataType dataType) |
org.apache.spark.sql.catalyst.util.ArrayData |
getArray(int ordinal) |
byte[] |
getBinary(int ordinal) |
boolean |
getBoolean(int ordinal) |
byte |
getByte(int ordinal) |
org.apache.spark.sql.types.Decimal |
getDecimal(int ordinal,
int precision,
int scale) |
double |
getDouble(int ordinal) |
float |
getFloat(int ordinal) |
int |
getInt(int ordinal) |
org.apache.spark.unsafe.types.CalendarInterval |
getInterval(int ordinal) |
long |
getLong(int ordinal) |
org.apache.spark.sql.catalyst.util.MapData |
getMap(int ordinal) |
short |
getShort(int ordinal) |
org.apache.spark.sql.catalyst.InternalRow |
getStruct(int ordinal,
int numFields) |
org.apache.spark.unsafe.types.UTF8String |
getUTF8String(int ordinal) |
int |
hashCode() |
boolean |
isNullAt(int ordinal) |
int |
numFields() |
SparkInternalRow |
replace(InternalRow row) |
void |
setNullAt(int i) |
void |
update(int i,
Object value) |
public SparkInternalRow(RowType rowType)
public SparkInternalRow replace(InternalRow row)
public int numFields()
numFields
in class org.apache.spark.sql.catalyst.InternalRow
public void setNullAt(int i)
setNullAt
in class org.apache.spark.sql.catalyst.InternalRow
public void update(int i, Object value)
update
in class org.apache.spark.sql.catalyst.InternalRow
public org.apache.spark.sql.catalyst.InternalRow copy()
copy
in class org.apache.spark.sql.catalyst.InternalRow
public boolean isNullAt(int ordinal)
public boolean getBoolean(int ordinal)
public byte getByte(int ordinal)
public short getShort(int ordinal)
public int getInt(int ordinal)
public long getLong(int ordinal)
public float getFloat(int ordinal)
public double getDouble(int ordinal)
public org.apache.spark.sql.types.Decimal getDecimal(int ordinal, int precision, int scale)
public org.apache.spark.unsafe.types.UTF8String getUTF8String(int ordinal)
public byte[] getBinary(int ordinal)
public org.apache.spark.unsafe.types.CalendarInterval getInterval(int ordinal)
public org.apache.spark.sql.catalyst.InternalRow getStruct(int ordinal, int numFields)
public org.apache.spark.sql.catalyst.util.ArrayData getArray(int ordinal)
public org.apache.spark.sql.catalyst.util.MapData getMap(int ordinal)
public Object get(int ordinal, org.apache.spark.sql.types.DataType dataType)
public static org.apache.spark.unsafe.types.UTF8String fromPaimon(BinaryString string)
public static org.apache.spark.sql.types.Decimal fromPaimon(Decimal decimal)
public static org.apache.spark.sql.catalyst.InternalRow fromPaimon(InternalRow row, RowType rowType)
public static long fromPaimon(Timestamp timestamp)
public static org.apache.spark.sql.catalyst.util.ArrayData fromPaimon(InternalArray array, ArrayType arrayType)
public static org.apache.spark.sql.catalyst.util.MapData fromPaimon(InternalMap map, DataType mapType)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.