@InterfaceStability.Evolving
public final class ColumnarRow
extends org.apache.spark.sql.catalyst.InternalRow
ColumnVector
.Constructor and Description |
---|
ColumnarRow(ColumnVector data,
int rowId) |
Modifier and Type | Method and Description |
---|---|
boolean |
anyNull() |
org.apache.spark.sql.catalyst.InternalRow |
copy()
Revisit this.
|
Object |
get(int ordinal,
DataType dataType) |
ColumnarArray |
getArray(int ordinal) |
byte[] |
getBinary(int ordinal) |
boolean |
getBoolean(int ordinal) |
byte |
getByte(int ordinal) |
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) |
ColumnarMap |
getMap(int ordinal) |
short |
getShort(int ordinal) |
ColumnarRow |
getStruct(int ordinal,
int numFields) |
org.apache.spark.unsafe.types.UTF8String |
getUTF8String(int ordinal) |
boolean |
isNullAt(int ordinal) |
int |
numFields() |
void |
setNullAt(int ordinal) |
void |
update(int ordinal,
Object value) |
public ColumnarRow(ColumnVector data, int rowId)
public int numFields()
numFields
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 anyNull()
anyNull
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 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 ColumnarRow getStruct(int ordinal, int numFields)
public ColumnarArray getArray(int ordinal)
public ColumnarMap getMap(int ordinal)
public Object get(int ordinal, DataType dataType)
public void update(int ordinal, Object value)
update
in class org.apache.spark.sql.catalyst.InternalRow
public void setNullAt(int ordinal)
setNullAt
in class org.apache.spark.sql.catalyst.InternalRow