presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftInteger.java/PrestoThriftInteger/fromBlock
class PrestoThriftInteger:    public static PrestoThriftBlock fromBlock(Block block)
    {
        return fromIntBasedBlock(block, INTEGER, (nulls, ints) -> integerData(new PrestoThriftInteger(nulls, ints)));
    }