Documentation
¶
Index ¶
Constants ¶
View Source
const PrimaryResultKind = "QueryResult"
Variables ¶
This section is empty.
Functions ¶
func NewTable ¶
func NewTable(d query.BaseDataset, dt *RawTable, index *TableIndexRow) (query.Table, error)
Types ¶
type Dataset ¶
type Dataset interface { query.Dataset Index() []TableIndexRow Status() []QueryStatus Info() []QueryProperties }
func NewDatasetFromReader ¶
type QueryProperties ¶
type QueryProperties struct {
Value string
}
type QueryStatus ¶
type RawRow ¶
type RawRow struct { Row []interface{} Errors []string }
func (*RawRow) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface, to decode a RawRow from JSON. It needs special handling, because the field may be a Row or a list of Errors.
type TableIndexRow ¶
Click to show internal directories.
Click to hide internal directories.