public abstract class BasicColumnAccessor<T extends org.apache.spark.sql.catalyst.types.DataType,JvmType> extends Object implements ColumnAccessor
Constructor and Description |
---|
BasicColumnAccessor(java.nio.ByteBuffer buffer,
ColumnType<T,JvmType> columnType) |
Modifier and Type | Method and Description |
---|---|
void |
extractSingle(org.apache.spark.sql.catalyst.expressions.MutableRow row,
int ordinal) |
void |
extractTo(org.apache.spark.sql.catalyst.expressions.MutableRow row,
int ordinal) |
boolean |
hasNext() |
public BasicColumnAccessor(java.nio.ByteBuffer buffer, ColumnType<T,JvmType> columnType)
public boolean hasNext()
hasNext
in interface ColumnAccessor
public void extractTo(org.apache.spark.sql.catalyst.expressions.MutableRow row, int ordinal)
extractTo
in interface ColumnAccessor
public void extractSingle(org.apache.spark.sql.catalyst.expressions.MutableRow row, int ordinal)