presto-main/src/main/java/io/prestosql/connector/system/NodeSystemTable.java/NodeSystemTable/cursor
class NodeSystemTable:    @Override
    public RecordCursor cursor(ConnectorTransactionHandle transactionHandle, ConnectorSession session, TupleDomain<Integer> constraint)
    {
        Builder table = InMemoryRecordSet.builder(NODES_TABLE);
        AllNodes allNodes = nodeManager.getAllNodes();
        addRows(table, allNodes.getActiveNodes(), ACTIVE);
        addRows(table, allNodes.getInactiveNodes(), INACTIVE);
        addRows(table, allNodes.getShuttingDownNodes(), SHUTTING_DOWN);
        return table.build().cursor();
    }