Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) DatabaseList() ([]Database, error)
- func (c *Client) JobIssueHive(database string, query string) (*Job, error)
- func (c *Client) JobIssueHiveWithPriority(database string, query string, priority int) (*Job, error)
- func (c *Client) JobResultColumnsFunc(jobId string, cb func([]string) error) error
- func (c *Client) JobResultFunc(jobId string, cb func([]interface{}) error) error
- func (c *Client) JobResultLineFunc(jobId string, cb func(string) error) error
- func (c *Client) JobStatus(jobId string) (*Status, error)
- func (c *Client) TableList(database string) ([]Table, error)
- type Column
- type Database
- type Job
- type Status
- type Table
Constants ¶
View Source
const EndPoint = "https://api.treasure-data.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DatabaseList ¶
func (*Client) JobIssueHive ¶
func (*Client) JobIssueHiveWithPriority ¶
func (*Client) JobResultColumnsFunc ¶
func (*Client) JobResultFunc ¶
func (*Client) JobResultLineFunc ¶
type Table ¶
type Table struct { Id int64 `json:"id"` Name string `json:"name"` Schema tdSchema `json:"schema"` EstimatedStorageSize int64 `json:"estimated_storage_size"` CounterUpdatedAt tdTime `json:"counter_updated_at"` Type string `json:"type"` Count int64 `json:"count"` CreatedAt tdTime `json:"created_at"` UpdatedAt tdTime `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.