public interface BaseArray extends TypeGetterSetters
There are different implementations depending on the scenario:
After serialization, it becomes the BinaryArray
format.
Convenient updates use the GenericArray
format.
Modifier and Type | Method and Description |
---|---|
boolean |
isNullAt(int pos)
Because the specific row implementation such as BinaryRow uses the binary format.
|
int |
numElements() |
void |
setNotNullAt(int pos) |
void |
setNullAt(int pos)
Set null to this field.
|
void |
setNullBoolean(int pos) |
void |
setNullByte(int pos) |
void |
setNullDouble(int pos) |
void |
setNullFloat(int pos) |
void |
setNullInt(int pos) |
void |
setNullLong(int pos) |
void |
setNullShort(int pos) |
boolean[] |
toBooleanArray() |
byte[] |
toByteArray() |
double[] |
toDoubleArray() |
float[] |
toFloatArray() |
int[] |
toIntArray() |
long[] |
toLongArray() |
short[] |
toShortArray() |
get, getArray, getBinary, getBoolean, getByte, getDecimal, getDouble, getFloat, getGeneric, getInt, getLong, getMap, getRow, getShort, getString, getTimestamp, setBoolean, setByte, setDecimal, setDouble, setFloat, setInt, setLong, setShort, setTimestamp
int numElements()
boolean isNullAt(int pos)
TypeGetterSetters
isNullAt
in interface TypeGetterSetters
void setNullAt(int pos)
TypeGetterSetters
setNullAt
in interface TypeGetterSetters
void setNotNullAt(int pos)
void setNullLong(int pos)
void setNullInt(int pos)
void setNullBoolean(int pos)
void setNullByte(int pos)
void setNullShort(int pos)
void setNullFloat(int pos)
void setNullDouble(int pos)
boolean[] toBooleanArray()
byte[] toByteArray()
short[] toShortArray()
int[] toIntArray()
long[] toLongArray()
float[] toFloatArray()
double[] toDoubleArray()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.