dbGetInfo-methods: Information about a BQObject

Description Arguments Methods See Also Examples

Description

Get information about a BQObject, either general list or a specific element of that list.

Arguments

dbObj

BQObject to get information about

what

Optional: character name of specific element of list to return.

Methods

signature(dbObj = "BQDriver")

Returns:

drvName

Name of Package

managerID

ID number of object

fetch.default.rec

default number of rows per fetch (unused)

max.con

maximum number of connections allows (unused)

prc.con

number of processed connections (unused)

connections

list of active connections under driver

clientVersion

version of package

signature(dbObj = "BQConnection")

Returns:

driver

Driver the connection is using

username

username of google account

password

length of google account password (as opposed to password itself)

auth.token

authorization token used when querying BigQuery

last.result

last BQResult returned by connection

signature(dbObj = "BQResult")

Returns:

connection

Connection the result came from

statement

statement used in query

success

logical indicating success of query

fields

result table metadata

result

if success is TRUE, the data returned by query

error

if success is FALSE, the error returned by query

See Also

summary BQDriver-class BQConnection-class BQResult-class

Examples

1
2
3
4
5
6
 ## Not run: 
    dbGetInfo(driver) #returns list

    dbGetInfo(driver, what="drvName") #returns name of package

## End(Not run)

RBigQuery documentation built on May 31, 2017, 2:55 a.m.