public final class ColumnarArrayData extends Object implements org.apache.flink.table.data.ArrayData, org.apache.flink.table.data.binary.TypedSetters
| Constructor and Description |
|---|
ColumnarArrayData(ColumnVector data,
int offset,
int numElements) |
| Modifier and Type | Method and Description |
|---|---|
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(int pos,
int numFields) |
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 |
setFloat(int pos,
float value) |
void |
setInt(int pos,
int value) |
void |
setLong(int pos,
long value) |
void |
setNullAt(int pos) |
void |
setShort(int pos,
short value) |
void |
setTimestamp(int pos,
org.apache.flink.table.data.TimestampData value,
int precision) |
int |
size() |
boolean[] |
toBooleanArray() |
byte[] |
toByteArray() |
double[] |
toDoubleArray() |
float[] |
toFloatArray() |
int[] |
toIntArray() |
long[] |
toLongArray() |
short[] |
toShortArray() |
public ColumnarArrayData(ColumnVector data, int offset, int numElements)
public int size()
size in interface org.apache.flink.table.data.ArrayDatapublic boolean isNullAt(int pos)
isNullAt in interface org.apache.flink.table.data.ArrayDatapublic void setNullAt(int pos)
setNullAt in interface org.apache.flink.table.data.binary.TypedSetterspublic boolean getBoolean(int pos)
getBoolean in interface org.apache.flink.table.data.ArrayDatapublic byte getByte(int pos)
getByte in interface org.apache.flink.table.data.ArrayDatapublic short getShort(int pos)
getShort in interface org.apache.flink.table.data.ArrayDatapublic int getInt(int pos)
getInt in interface org.apache.flink.table.data.ArrayDatapublic long getLong(int pos)
getLong in interface org.apache.flink.table.data.ArrayDatapublic float getFloat(int pos)
getFloat in interface org.apache.flink.table.data.ArrayDatapublic double getDouble(int pos)
getDouble in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.StringData getString(int pos)
getString in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.DecimalData getDecimal(int pos,
int precision,
int scale)
getDecimal in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.TimestampData getTimestamp(int pos,
int precision)
getTimestamp in interface org.apache.flink.table.data.ArrayDatapublic <T> org.apache.flink.table.data.RawValueData<T> getRawValue(int pos)
getRawValue in interface org.apache.flink.table.data.ArrayDatapublic byte[] getBinary(int pos)
getBinary in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.ArrayData getArray(int pos)
getArray in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.MapData getMap(int pos)
getMap in interface org.apache.flink.table.data.ArrayDatapublic org.apache.flink.table.data.RowData getRow(int pos,
int numFields)
getRow in interface org.apache.flink.table.data.ArrayDatapublic 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 boolean[] toBooleanArray()
toBooleanArray in interface org.apache.flink.table.data.ArrayDatapublic byte[] toByteArray()
toByteArray in interface org.apache.flink.table.data.ArrayDatapublic short[] toShortArray()
toShortArray in interface org.apache.flink.table.data.ArrayDatapublic int[] toIntArray()
toIntArray in interface org.apache.flink.table.data.ArrayDatapublic long[] toLongArray()
toLongArray in interface org.apache.flink.table.data.ArrayDatapublic float[] toFloatArray()
toFloatArray in interface org.apache.flink.table.data.ArrayDatapublic double[] toDoubleArray()
toDoubleArray in interface org.apache.flink.table.data.ArrayDataCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.