querySAGE             package:SAGElyzer             R Documentation

_F_u_n_c_t_i_o_n_s _t_h_a_t _p_r_o_v_i_d_e _a_n _i_n_t_e_r_f_a_c_e _t_o _a_l_l_o_w _u_s_e_r_s _t_o _q_u_e_r_y _a _S_A_G_E
_l_i_b_r_a_r_y _d_a_t_a_b_a_s_e _t_a_b_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     These functions provides an interface for inputing query
     parameters for querying a table in a given database. Interface
     between R and the underlaying database management system is
     through Rdbi.

_U_s_a_g_e:

     querySAGE(args, dbObj = PgSQL())
     getTableNames(args, dbObj)
     getColumnNames(tableName, args, dbObj)

_A_r_g_u_m_e_n_t_s:

    args: 'args' a list containing the arguments presented as name and
          value pairs. Valid element names include "dbname", "user",
          "password", "host", "hostaddr", and "port" 

   dbObj: 'dbObj' a binding object for a given dbms (e. g. PgSQL() for
          postgreSQL)

tableName: 'tableName' a character string for the name of a database
          table

_D_e_t_a_i_l_s:

     'getTableNames' and 'getColumnNames' get the names of selected
     database columns.

_V_a_l_u_e:

     'getTableNames' returns a vector of character strings for database
     table names.

     'getColumnNames' returns a vector of character strings for column
     names of a given database table.

_A_u_t_h_o_r(_s):

     Jianhua Zhang

_S_e_e _A_l_s_o:

     'SAGE4Unix'

_E_x_a_m_p_l_e_s:

     # No example is provided as support of a database is required

