Documentation ¶
Index ¶
Constants ¶
View Source
const StateDone = "DONE"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DatasetExists ¶
func (c *Client) DatasetExists(ref *DatasetReference) (bool, error)
func (*Client) EnsureTableExists ¶
func (c *Client) EnsureTableExists(ref *TableReference, partition bool) error
type DatasetReference ¶
type LoadCompleted ¶
type LoadCompleted struct {
Error error
}
type LoadSpec ¶
type LoadSpec struct { TableReference *TableReference BucketName string ObjectPrefix string Overwrite bool Schema *bq.TableSchema Partitioned bool }
type TableReference ¶
type TableReference struct { ProjectID string DatasetID string TableID string DayPartition *time.Time }
func NewTableReference ¶
func NewTableReference(projectId, dataset, table string) *TableReference
func (*TableReference) DatasetReference ¶
func (ref *TableReference) DatasetReference() *DatasetReference
func (*TableReference) String ¶
func (ref *TableReference) String() string
func (*TableReference) ToGoogleReference ¶
func (ref *TableReference) ToGoogleReference() *bq.TableReference
func (*TableReference) ToUndecoratedGoogleReference ¶
func (ref *TableReference) ToUndecoratedGoogleReference() *bq.TableReference
Click to show internal directories.
Click to hide internal directories.