Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateDataset(datasetId string) error
- func (c *Client) CreateTable(tableId string, schema *bigquery.TableSchema) error
- func (c *Client) GetTableName() (string, error)
- func (c *Client) InsertRow(rowData map[string]interface{}) error
- func (c *Client) PrintDatasets() error
- func (c *Client) Query(query string) ([]string, [][]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateDataset ¶
func (*Client) CreateTable ¶
func (c *Client) CreateTable(tableId string, schema *bigquery.TableSchema) error
Create a table with provided table ID and schema. Schema is currently not updated if the table already exists.
func (*Client) GetTableName ¶
Returns a bigtable table name (format: datasetID.tableID)
func (*Client) PrintDatasets ¶
Click to show internal directories.
Click to hide internal directories.