Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllBigQueryType = []BigQueryType{ BigQueryTypeTable, BigQueryTypeView, BigQueryTypeMaterializedView, }
Functions ¶
Types ¶
type BigQueryTable ¶
type BigQueryTable struct { Description string `json:"description"` LastModified time.Time `json:"lastModified"` Name string `json:"name"` Type BigQueryType `json:"type"` }
type BigQueryType ¶
type BigQueryType string
const ( BigQueryTypeTable BigQueryType = "table" BigQueryTypeView BigQueryType = "view" BigQueryTypeMaterializedView BigQueryType = "materialized_view" )
func (BigQueryType) IsValid ¶
func (e BigQueryType) IsValid() bool
func (BigQueryType) MarshalGQL ¶
func (e BigQueryType) MarshalGQL(w io.Writer)
func (BigQueryType) String ¶
func (e BigQueryType) String() string
func (*BigQueryType) UnmarshalGQL ¶
func (e *BigQueryType) UnmarshalGQL(v interface{}) error
type BigqueryColumn ¶
type BigqueryMetadata ¶
type BigqueryMetadata struct { Schema BigquerySchema `json:"schema"` TableType bigquery.TableType `json:"tableType"` LastModified time.Time `json:"lastModified"` Created time.Time `json:"created"` Expires time.Time `json:"expires"` Description string `json:"description"` }
func TableMetadata ¶
type BigquerySchema ¶
type BigquerySchema struct {
Columns []BigqueryColumn `json:"columns"`
}
Click to show internal directories.
Click to hide internal directories.