presto-spi/src/main/java/io/prestosql/spi/connector/InMemoryRecordSet.java/InMemoryRecordCursor/getType
class InMemoryRecordCursor:        @Override
        public Type getType(int field)
        {
            return types.get(field);
        }