public function getTables($resultDetail = false)
    {
        $this->connect();
        $list = [];
        foreach ($this->tables as $db_name=>$tables)
        {
            foreach ($tables as $table_name=>$nodes)
            {

                if ($resultDetail)
                {
                    $list[$db_name . '.' . $table_name] = $nodes;
                } else
                {
                    $list[$db_name . '.' . $table_name] = array_keys($nodes);
                }
            }
        }
        return $list;
    }
public function getTables($resultDetail = false)
    {
        $this->connect();
        $list = [];
        foreach ($this->tables as $db_name=>$tables)
        {
            foreach ($tables as $table_name=>$nodes)
            {

                if ($resultDetail)
                {
                    $list[$db_name . '.' . $table_name] = $nodes;
                } else
                {
                    $list[$db_name . '.' . $table_name] = array_keys($nodes);
                }
            }
        }
        return $list;
    }
public function getTables ( $ resultDetail = false ) { $ this -> connect ( ) ; $ list = [ ] ; foreach ( $ this -> tables as $ db_name => $ tables ) { foreach ( $ tables as $ table_name => $ nodes ) { if ( $ resultDetail ) { $ list [ $ db_name . '.' . $ table_name ] = $ nodes ; } else { $ list [ $ db_name . '.' . $ table_name ] = array_keys ( $ nodes ) ; } } } return $ list ; }
list all tables on all nodes

@return array
@throws Exception\TransportException
list all tables on all nodes