ColumnVector
ColumnVector
is the contract for…FIXME
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
package org.apache.spark.sql.vectorized; abstract class ColumnVector implements AutoCloseable { // only required methods that have no implementation // the others follow public abstract void close(); public abstract boolean hasNull(); public abstract int numNulls(); public abstract boolean isNullAt(int rowId); public abstract boolean getBoolean(int rowId); // other type-specific getters protected abstract ColumnVector getChild(int ordinal); } |
ColumnVector
has a data type that you can access using dataType
method.
1 2 3 4 5 |
DataType dataType() |
Note
|
In other words, using the contract is as treading on thin ice. |
Method | Description |
---|---|
Used when…FIXME |
ColumnVector | Description |
---|---|