@Internal public final class UpdatableRowData extends Object implements org.apache.flink.table.data.RowData, org.apache.flink.table.data.binary.TypedSetters
RowData which is backed by a RowData and an updated Java
object array.| Constructor and Description |
|---|
UpdatableRowData(org.apache.flink.table.data.RowData row,
int arity) |
| Modifier and Type | Method and Description |
|---|---|
int |
getArity() |
org.apache.flink.table.data.ArrayData |
getArray(int pos) |
byte[] |
getBinary(int pos) |
boolean |
getBoolean(int pos) |
byte |
getByte(int pos) |
org.apache.flink.table.data.DecimalData |
getDecimal(int pos,
int precision,
int scale) |
double |
getDouble(int pos) |
float |
getFloat(int pos) |
int |
getInt(int pos) |
long |
getLong(int pos) |
org.apache.flink.table.data.MapData |
getMap(int pos) |
<T> org.apache.flink.table.data.RawValueData<T> |
getRawValue(int pos) |
org.apache.flink.table.data.RowData |
getRow() |
org.apache.flink.table.data.RowData |
getRow(int pos,
int numFields) |
org.apache.flink.types.RowKind |
getRowKind() |
short |
getShort(int pos) |
org.apache.flink.table.data.StringData |
getString(int pos) |
org.apache.flink.table.data.TimestampData |
getTimestamp(int pos,
int precision) |
boolean |
isNullAt(int pos) |
void |
setBoolean(int pos,
boolean value) |
void |
setByte(int pos,
byte value) |
void |
setDecimal(int pos,
org.apache.flink.table.data.DecimalData value,
int precision) |
void |
setDouble(int pos,
double value) |
void |
setField(int pos,
Object value) |
void |
setFloat(int pos,
float value) |
void |
setInt(int pos,
int value) |
void |
setLong(int pos,
long value) |
void |
setNullAt(int pos) |
void |
setRowKind(org.apache.flink.types.RowKind kind) |
void |
setShort(int pos,
short value) |
void |
setTimestamp(int pos,
org.apache.flink.table.data.TimestampData value,
int precision) |
public UpdatableRowData(org.apache.flink.table.data.RowData row,
int arity)
public org.apache.flink.table.data.RowData getRow()
public int getArity()
getArity in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.types.RowKind getRowKind()
getRowKind in interface org.apache.flink.table.data.RowDatapublic void setRowKind(org.apache.flink.types.RowKind kind)
setRowKind in interface org.apache.flink.table.data.RowDatapublic boolean isNullAt(int pos)
isNullAt in interface org.apache.flink.table.data.RowDatapublic boolean getBoolean(int pos)
getBoolean in interface org.apache.flink.table.data.RowDatapublic byte getByte(int pos)
getByte in interface org.apache.flink.table.data.RowDatapublic short getShort(int pos)
getShort in interface org.apache.flink.table.data.RowDatapublic int getInt(int pos)
getInt in interface org.apache.flink.table.data.RowDatapublic long getLong(int pos)
getLong in interface org.apache.flink.table.data.RowDatapublic float getFloat(int pos)
getFloat in interface org.apache.flink.table.data.RowDatapublic double getDouble(int pos)
getDouble in interface org.apache.flink.table.data.RowDatapublic byte[] getBinary(int pos)
getBinary in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.StringData getString(int pos)
getString in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.DecimalData getDecimal(int pos,
int precision,
int scale)
getDecimal in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.TimestampData getTimestamp(int pos,
int precision)
getTimestamp in interface org.apache.flink.table.data.RowDatapublic <T> org.apache.flink.table.data.RawValueData<T> getRawValue(int pos)
getRawValue in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.RowData getRow(int pos,
int numFields)
getRow in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.ArrayData getArray(int pos)
getArray in interface org.apache.flink.table.data.RowDatapublic org.apache.flink.table.data.MapData getMap(int pos)
getMap in interface org.apache.flink.table.data.RowDatapublic void setNullAt(int pos)
setNullAt in interface org.apache.flink.table.data.binary.TypedSetterspublic void setBoolean(int pos,
boolean value)
setBoolean in interface org.apache.flink.table.data.binary.TypedSetterspublic void setByte(int pos,
byte value)
setByte in interface org.apache.flink.table.data.binary.TypedSetterspublic void setShort(int pos,
short value)
setShort in interface org.apache.flink.table.data.binary.TypedSetterspublic void setInt(int pos,
int value)
setInt in interface org.apache.flink.table.data.binary.TypedSetterspublic void setLong(int pos,
long value)
setLong in interface org.apache.flink.table.data.binary.TypedSetterspublic void setFloat(int pos,
float value)
setFloat in interface org.apache.flink.table.data.binary.TypedSetterspublic void setDouble(int pos,
double value)
setDouble in interface org.apache.flink.table.data.binary.TypedSetterspublic void setDecimal(int pos,
org.apache.flink.table.data.DecimalData value,
int precision)
setDecimal in interface org.apache.flink.table.data.binary.TypedSetterspublic void setTimestamp(int pos,
org.apache.flink.table.data.TimestampData value,
int precision)
setTimestamp in interface org.apache.flink.table.data.binary.TypedSetterspublic void setField(int pos,
Object value)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.