summary-methods: pretty-print object information

Description Arguments Methods See Also Examples

Description

prints a human-readable string describing the object and its data

Arguments

verbose

(Optional) flag which will print additional information about the object

Methods

signature(object = "BQDriver")

Will give driver name, records per fetch, max allowed connections, number of processed connections, number of open connections. If verbose is set, the connection ids, and DBI and BQ versions.

signature(object = "BQConnection")

Will give driver, username, and object id of last result returned from connection. If verbose is set, will give the length of password, the stored authorization token, and the BQ client version.

signature(object = "BQResult")

Will give connection, statement queried, a flag indicating success or failure, and if success, the field names returned, if failure, the error message. If verbose is set, it will return the data as well.

See Also

BQDriver-class BQConnection-class BQResult-class

Examples

1
2
3
4
5
6
 ## Not run: 
    summary(driver)
    summary(conn, TRUE)
    summary(result, verbose=TRUE)

## End(Not run)

RBigQuery documentation built on May 2, 2019, 5:09 p.m.