public final class ColumnarRow extends Object
| Modifier and Type | Method and Description |
|---|---|
Block |
getField(int index)
Gets the specified field for all rows as a column.
|
int |
getFieldCount() |
int |
getPositionCount() |
boolean |
isNull(int position) |
static ColumnarRow |
toColumnarRow(Block block) |
public static ColumnarRow toColumnarRow(Block block)
public int getPositionCount()
public boolean isNull(int position)
public int getFieldCount()
public Block getField(int index)
Note: A null row will not have an entry in the block, so the block will be the size of the non-null rows. This block may still contain null values when the row is non-null but the field value is null.
Copyright © 2012–2019. All rights reserved.