presto-main/src/main/java/io/prestosql/connector/system/jdbc/TypesJdbcTable.java/TypesJdbcTable/cursor
class TypesJdbcTable:    @Override
    public RecordCursor cursor(ConnectorTransactionHandle transactionHandle, ConnectorSession connectorSession, TupleDomain<Integer> constraint)
    {
        Builder table = InMemoryRecordSet.builder(METADATA);
        for (Type type : metadata.getTypes()) {
            addTypeRow(table, type);
        }
        for (ParametricType type : metadata.getParametricTypes()) {
            addTypeRow(table, type);
        }
        return table.build().cursor();
    }