WritableColumnVector
WritableColumnVector
is the contract for…FIXME
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
package org.apache.spark.sql.execution.vectorized; abstract class WritableColumnVector extends ColumnVector { // only required methods that have no implementation // the others follow public abstract int getDictId(int rowId); protected abstract void reserveInternal(int capacity); public abstract void putNotNull(int rowId); public abstract void putNull(int rowId); public abstract void putNulls(int rowId, int count); public abstract void putNotNulls(int rowId, int count); // other type-specific puts protected abstract WritableColumnVector reserveNewColumn(int capacity, DataType type); } |
Method | Description |
---|---|
Used when:
|
|
Used when |
WritableColumnVector | Description |
---|---|
reserve
Method
1 2 3 4 5 |
void reserve(int requiredCapacity) |
reserve
…FIXME
Note
|
reserve is used when…FIXME
|
reserveDictionaryIds
Method
1 2 3 4 5 |
WritableColumnVector reserveDictionaryIds(int capacity) |
reserveDictionaryIds
…FIXME
Note
|
reserveDictionaryIds is used when…FIXME
|
Creating WritableColumnVector Instance
WritableColumnVector
takes the following when created:
-
Data type of the elements stored
WritableColumnVector
initializes the internal registries and counters.
WritableColumnVector
…FIXME
Note
|
WritableColumnVector is a Java abstract class and cannot be created directly.
|