Class ColumnarRow

java.lang.Object
io.trino.spi.block.ColumnarRow

public final class ColumnarRow extends Object
  • Method Details

    • toColumnarRow

      public static ColumnarRow toColumnarRow(Block block)
    • getPositionCount

      public int getPositionCount()
    • mayHaveNull

      public boolean mayHaveNull()
    • isNull

      public boolean isNull(int position)
    • getFieldCount

      public int getFieldCount()
    • getField

      public Block getField(int index)
      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

      public Block getNullCheckBlock()