-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontext.go
21 lines (20 loc) · 997 Bytes
/
context.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package godruid
type QueryContext struct {
Timeout int64 `json:"timeout,omitempty"`
MaxScatterGatherBytes int64 `json:"maxScatterGatherBytes,omitempty"`
Priority int `json:"priority,omitempty"`
QueryID string `json:"queryId,omitempty"`
UseCache bool `json:"useCache,omitempty"`
PopulateCache bool `json:"populateCache,omitempty"`
BySegement bool `json:"bySegment,omitempty"`
Finalize bool `json:"finalize,omitempty"`
ChunkPeriod string `json:"chunkPeriod,omitempty"`
SerializeDateTimeAsLong bool `json:"serializeDateTimeAsLong,omitempty"`
SerializeDateTimeAsLonginner bool `json:"serializeDateTimeAsLonginner,omitempty"`
// TopN specific
MinTopNThreshold int64 `json:"minTopNThreshold,omitempty"`
// Timeseries specific
SkipEmptyBuckets bool `json:"skipEmptyBuckets"`
// GroupBy specific
// TODO
}