public final class ColumnarRow extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
getEstimatedSerializedSizeInBytes() |
Block |
getField(int index)
Gets the specified field for all rows as a column.
|
int |
getFieldCount() |
int |
getNonNullPositionCount() |
Block |
getNullCheckBlock() |
int |
getOffset(int position) |
int |
getPositionCount() |
long |
getRetainedSizeInBytes() |
boolean |
isNull(int position) |
static ColumnarRow |
toColumnarRow(Block block) |
String |
toString() |
public static ColumnarRow toColumnarRow(Block block)
public int getPositionCount()
public int getNonNullPositionCount()
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.
public int getOffset(int position)
public Block getNullCheckBlock()
public long getRetainedSizeInBytes()
public long getEstimatedSerializedSizeInBytes()
Copyright © 2012–2022. All rights reserved.