Package io.trino.spi.block
Class ColumnarRow
java.lang.Object
io.trino.spi.block.ColumnarRow
-
Method Summary
Modifier and TypeMethodDescriptiongetField(int index) Gets the specified field for all rows as a column.intintbooleanisNull(int position) booleanstatic ColumnarRowtoColumnarRow(Block block)
-
Method Details
-
toColumnarRow
-
getPositionCount
public int getPositionCount() -
mayHaveNull
public boolean mayHaveNull() -
isNull
public boolean isNull(int position) -
getFieldCount
public int getFieldCount() -
getField
Gets the specified field for all rows as a column.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.
-
getNullCheckBlock
-