Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetQueryResultsResponse ¶
type GetQueryResultsResponse struct {
JobReference *bigqueryv2.JobReference `json:"jobReference"`
Schema *bigqueryv2.TableSchema `json:"schema"`
Rows []*TableRow `json:"rows"`
TotalRows uint64 `json:"totalRows,string"`
JobComplete bool `json:"jobComplete"`
TotalBytes uint64 `json:"-"`
}
type QueryResponse ¶
type QueryResponse struct {
JobReference *bigqueryv2.JobReference `json:"jobReference"`
Schema *bigqueryv2.TableSchema `json:"schema"`
Rows []*TableRow `json:"rows"`
TotalRows uint64 `json:"totalRows,string"`
JobComplete bool `json:"jobComplete"`
TotalBytes int64 `json:"-"`
ChangedCatalog *zetasqlite.ChangedCatalog `json:"-"`
}
type TableCell ¶
Redefines the TableCell type to return null explicitly because TableCell for bigqueryv2 is omitted if V is nil,
func (*TableCell) AVROValue ¶ added in v0.1.23
func (c *TableCell) AVROValue(schema *types.AVROFieldSchema) (interface{}, error)
func (*TableCell) AppendValueToARROWBuilder ¶ added in v0.1.23
type TableDataList ¶ added in v0.1.5
type TableRow ¶
type TableRow struct {
F []*TableCell `json:"f,omitempty"`
}
func Format ¶ added in v0.1.18
func Format(schema *bigqueryv2.TableSchema, rows []*TableRow, useInt64Timestamp bool) []*TableRow
func (*TableRow) AVROValue ¶ added in v0.1.23
func (r *TableRow) AVROValue(fields []*types.AVROFieldSchema) (map[string]interface{}, error)
func (*TableRow) AppendValueToARROWBuilder ¶ added in v0.1.23
func (r *TableRow) AppendValueToARROWBuilder(builder *array.RecordBuilder) error
Click to show internal directories.
Click to hide internal directories.