presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftInteger.java/PrestoThriftInteger/fromRecordSetColumn
class PrestoThriftInteger:    public static PrestoThriftBlock fromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords)
    {
        return fromIntBasedColumn(recordSet, columnIndex, totalRecords, (nulls, ints) -> integerData(new PrestoThriftInteger(nulls, ints)));
    }