Documentation
¶
Index ¶
- func GetQueryCursor(stmt string) (*api.QueryTableResult, context.CancelFunc, error)
- func NewGlobalHelper(opts ...Option) error
- type Auth
- type ConnectClient
- type Helper
- type Option
- type Options
- type Query
- func (q *Query) AggregateWindow(params string) *Query
- func (q *Query) Bucket(params string) *Query
- func (q *Query) Count(params string) *Query
- func (q *Query) Derivative(params string) *Query
- func (q *Query) Different() *Query
- func (q *Query) Distinct(params string) *Query
- func (q *Query) Filter(params string) *Query
- func (q *Query) Group(params string) *Query
- func (q *Query) Keep(params string) *Query
- func (q *Query) Last() *Query
- func (q *Query) Limit(params string) *Query
- func (q *Query) Map(params string) *Query
- func (q *Query) Max(params string) *Query
- func (q *Query) Measurement(params string) *Query
- func (q *Query) Pivot(params string) *Query
- func (q *Query) Range(params string) *Query
- func (q *Query) Rename(params string) *Query
- func (q *Query) Sort(params string) *Query
- func (q *Query) String() string
- func (q *Query) Sum(params string) *Query
- func (q *Query) Top(params string) *Query
- type QueryApiClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQueryCursor ¶
func GetQueryCursor(stmt string) (*api.QueryTableResult, context.CancelFunc, error)
func NewGlobalHelper ¶
Types ¶
type ConnectClient ¶
type Helper ¶
type Helper struct {
ConnectClient
QueryApiClient
Options
}
func GetGlobalHelper ¶
func GetGlobalHelper() *Helper
type Options ¶
type Options struct {
Url string `json:"url" yaml:"url"`
Protocol string `json:"protocol" yaml:"protocol"`
Host string `json:"host" yaml:"host"`
Port int `json:"port" yaml:"port"`
Org string `json:"org" yaml:"org"`
Auth `json:"auth" yaml:"auth"`
TlsInsecureSkipVerify bool `json:"tlsInsecureSkipVerify" yaml:"tlsInsecureSkipVerify"`
Timeout uint `json:"timeout" yaml:"timeout"`
}
var (
Opts *Options
)
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func (*Query) AggregateWindow ¶
func (*Query) Derivative ¶
func (*Query) Measurement ¶
type QueryApiClient ¶
Click to show internal directories.
Click to hide internal directories.