Documentation ¶
Index ¶
- Constants
- func NiceAndStep(start, stop, count float64) (float64, float64, float64)
- type ColumnCardinality
- func (q *ColumnCardinality) Deps() []string
- func (q *ColumnCardinality) Key() string
- func (q *ColumnCardinality) MarshalResult() any
- func (q *ColumnCardinality) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnCardinality) UnmarshalResult(v any) error
- type ColumnDescriptiveStatistics
- func (q *ColumnDescriptiveStatistics) Deps() []string
- func (q *ColumnDescriptiveStatistics) Key() string
- func (q *ColumnDescriptiveStatistics) MarshalResult() any
- func (q *ColumnDescriptiveStatistics) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnDescriptiveStatistics) UnmarshalResult(v any) error
- type ColumnNullCount
- type ColumnNumericHistogram
- func (q *ColumnNumericHistogram) Deps() []string
- func (q *ColumnNumericHistogram) Key() string
- func (q *ColumnNumericHistogram) MarshalResult() any
- func (q *ColumnNumericHistogram) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnNumericHistogram) UnmarshalResult(v any) error
- type ColumnRugHistogram
- func (q *ColumnRugHistogram) Deps() []string
- func (q *ColumnRugHistogram) Key() string
- func (q *ColumnRugHistogram) MarshalResult() any
- func (q *ColumnRugHistogram) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnRugHistogram) UnmarshalResult(v any) error
- type ColumnTimeGrain
- type ColumnTimeRange
- type ColumnTimeseries
- func (q *ColumnTimeseries) Deps() []string
- func (q *ColumnTimeseries) Key() string
- func (q *ColumnTimeseries) MarshalResult() any
- func (q *ColumnTimeseries) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnTimeseries) UnmarshalResult(v any) error
- type ColumnTimeseriesResult
- type ColumnTopK
- type MetricsViewTimeSeries
- func (q *MetricsViewTimeSeries) Deps() []string
- func (q *MetricsViewTimeSeries) Key() string
- func (q *MetricsViewTimeSeries) MarshalResult() any
- func (q *MetricsViewTimeSeries) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewTimeSeries) UnmarshalResult(v any) error
- type MetricsViewToplist
- func (q *MetricsViewToplist) Deps() []string
- func (q *MetricsViewToplist) Key() string
- func (q *MetricsViewToplist) MarshalResult() any
- func (q *MetricsViewToplist) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewToplist) UnmarshalResult(v any) error
- type MetricsViewTotals
- func (q *MetricsViewTotals) Deps() []string
- func (q *MetricsViewTotals) Key() string
- func (q *MetricsViewTotals) MarshalResult() any
- func (q *MetricsViewTotals) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewTotals) UnmarshalResult(v any) error
- type RollupInterval
- type TableCardinality
- func (q *TableCardinality) Deps() []string
- func (q *TableCardinality) Key() string
- func (q *TableCardinality) MarshalResult() any
- func (q *TableCardinality) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *TableCardinality) UnmarshalResult(v any) error
- type TableColumns
- type TableHead
Constants ¶
View Source
const IsoFormat string = "2006-01-02T15:04:05.000Z"
Variables ¶
This section is empty.
Functions ¶
func NiceAndStep ¶ added in v0.22.0
Returns a new interval with nicer looking bounds covering the given interval and the step relative to the number of ticks (`count` parameter). The new bounds are guaranteed to align with the human-friendly gap between ticks. The gap is a rounded value that is a power of 10 multiplied by 1, 2 or 5. This approach is inspired by d3.js, see d3.nice() function.
Types ¶
type ColumnCardinality ¶ added in v0.17.0
func (*ColumnCardinality) Deps ¶ added in v0.17.0
func (q *ColumnCardinality) Deps() []string
func (*ColumnCardinality) Key ¶ added in v0.17.0
func (q *ColumnCardinality) Key() string
func (*ColumnCardinality) MarshalResult ¶ added in v0.17.0
func (q *ColumnCardinality) MarshalResult() any
func (*ColumnCardinality) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnCardinality) UnmarshalResult(v any) error
type ColumnDescriptiveStatistics ¶ added in v0.17.0
type ColumnDescriptiveStatistics struct { TableName string ColumnName string Result *runtimev1.NumericStatistics }
func (*ColumnDescriptiveStatistics) Deps ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) Deps() []string
func (*ColumnDescriptiveStatistics) Key ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) Key() string
func (*ColumnDescriptiveStatistics) MarshalResult ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) MarshalResult() any
func (*ColumnDescriptiveStatistics) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) UnmarshalResult(v any) error
type ColumnNullCount ¶ added in v0.17.0
func (*ColumnNullCount) Deps ¶ added in v0.17.0
func (q *ColumnNullCount) Deps() []string
func (*ColumnNullCount) Key ¶ added in v0.17.0
func (q *ColumnNullCount) Key() string
func (*ColumnNullCount) MarshalResult ¶ added in v0.17.0
func (q *ColumnNullCount) MarshalResult() any
func (*ColumnNullCount) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnNullCount) UnmarshalResult(v any) error
type ColumnNumericHistogram ¶ added in v0.17.0
type ColumnNumericHistogram struct { TableName string ColumnName string Method runtimev1.HistogramMethod Threshold int Result []*runtimev1.NumericHistogramBins_Bin }
func (*ColumnNumericHistogram) Deps ¶ added in v0.17.0
func (q *ColumnNumericHistogram) Deps() []string
func (*ColumnNumericHistogram) Key ¶ added in v0.17.0
func (q *ColumnNumericHistogram) Key() string
func (*ColumnNumericHistogram) MarshalResult ¶ added in v0.17.0
func (q *ColumnNumericHistogram) MarshalResult() any
func (*ColumnNumericHistogram) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnNumericHistogram) UnmarshalResult(v any) error
type ColumnRugHistogram ¶ added in v0.17.0
type ColumnRugHistogram struct { TableName string ColumnName string Result []*runtimev1.NumericOutliers_Outlier }
func (*ColumnRugHistogram) Deps ¶ added in v0.17.0
func (q *ColumnRugHistogram) Deps() []string
func (*ColumnRugHistogram) Key ¶ added in v0.17.0
func (q *ColumnRugHistogram) Key() string
func (*ColumnRugHistogram) MarshalResult ¶ added in v0.17.0
func (q *ColumnRugHistogram) MarshalResult() any
func (*ColumnRugHistogram) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnRugHistogram) UnmarshalResult(v any) error
type ColumnTimeGrain ¶ added in v0.17.0
func (*ColumnTimeGrain) Deps ¶ added in v0.17.0
func (q *ColumnTimeGrain) Deps() []string
func (*ColumnTimeGrain) Key ¶ added in v0.17.0
func (q *ColumnTimeGrain) Key() string
func (*ColumnTimeGrain) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeGrain) MarshalResult() any
func (*ColumnTimeGrain) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeGrain) UnmarshalResult(v any) error
type ColumnTimeRange ¶ added in v0.17.0
type ColumnTimeRange struct { TableName string ColumnName string Result *runtimev1.TimeRangeSummary }
func (*ColumnTimeRange) Deps ¶ added in v0.17.0
func (q *ColumnTimeRange) Deps() []string
func (*ColumnTimeRange) Key ¶ added in v0.17.0
func (q *ColumnTimeRange) Key() string
func (*ColumnTimeRange) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeRange) MarshalResult() any
func (*ColumnTimeRange) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeRange) UnmarshalResult(v any) error
type ColumnTimeseries ¶ added in v0.17.0
type ColumnTimeseries struct { TableName string `json:"table_name"` Measures []*runtimev1.ColumnTimeSeriesRequest_BasicMeasure `json:"measures"` TimestampColumnName string `json:"timestamp_column_name"` TimeRange *runtimev1.TimeSeriesTimeRange `json:"time_range"` Filters *runtimev1.MetricsViewFilter `json:"filters"` Pixels int32 `json:"pixels"` SampleSize int32 `json:"sample_size"` Result *ColumnTimeseriesResult `json:"-"` }
func (*ColumnTimeseries) Deps ¶ added in v0.17.0
func (q *ColumnTimeseries) Deps() []string
func (*ColumnTimeseries) Key ¶ added in v0.17.0
func (q *ColumnTimeseries) Key() string
func (*ColumnTimeseries) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeseries) MarshalResult() any
func (*ColumnTimeseries) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeseries) UnmarshalResult(v any) error
type ColumnTimeseriesResult ¶ added in v0.21.0
type ColumnTimeseriesResult struct { Meta []*runtimev1.MetricsViewColumn Results []*runtimev1.TimeSeriesValue Spark []*runtimev1.TimeSeriesValue TimeRange *runtimev1.TimeSeriesTimeRange SampleSize int32 }
type ColumnTopK ¶
type ColumnTopK struct { TableName string ColumnName string Agg string K int Result *runtimev1.TopK }
func (*ColumnTopK) Deps ¶
func (q *ColumnTopK) Deps() []string
func (*ColumnTopK) Key ¶
func (q *ColumnTopK) Key() string
func (*ColumnTopK) MarshalResult ¶
func (q *ColumnTopK) MarshalResult() any
func (*ColumnTopK) UnmarshalResult ¶
func (q *ColumnTopK) UnmarshalResult(v any) error
type MetricsViewTimeSeries ¶ added in v0.17.0
type MetricsViewTimeSeries struct { MetricsViewName string `json:"metrics_view_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Limit int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` Sort []*runtimev1.MetricsViewSort `json:"sort,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` TimeGranularity runtimev1.TimeGrain `json:"time_granularity,omitempty"` Result *runtimev1.MetricsViewTimeSeriesResponse `json:"-"` }
func (*MetricsViewTimeSeries) Deps ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) Deps() []string
func (*MetricsViewTimeSeries) Key ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) Key() string
func (*MetricsViewTimeSeries) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) MarshalResult() any
func (*MetricsViewTimeSeries) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) UnmarshalResult(v any) error
type MetricsViewToplist ¶ added in v0.17.0
type MetricsViewToplist struct { MetricsViewName string `json:"metrics_view_name,omitempty"` DimensionName string `json:"dimension_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Limit int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` Sort []*runtimev1.MetricsViewSort `json:"sort,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` Result *runtimev1.MetricsViewToplistResponse `json:"-"` }
func (*MetricsViewToplist) Deps ¶ added in v0.17.0
func (q *MetricsViewToplist) Deps() []string
func (*MetricsViewToplist) Key ¶ added in v0.17.0
func (q *MetricsViewToplist) Key() string
func (*MetricsViewToplist) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewToplist) MarshalResult() any
func (*MetricsViewToplist) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewToplist) UnmarshalResult(v any) error
type MetricsViewTotals ¶ added in v0.17.0
type MetricsViewTotals struct { MetricsViewName string `json:"metrics_view_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` Result *runtimev1.MetricsViewTotalsResponse `json:"-"` }
func (*MetricsViewTotals) Deps ¶ added in v0.17.0
func (q *MetricsViewTotals) Deps() []string
func (*MetricsViewTotals) Key ¶ added in v0.17.0
func (q *MetricsViewTotals) Key() string
func (*MetricsViewTotals) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewTotals) MarshalResult() any
func (*MetricsViewTotals) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewTotals) UnmarshalResult(v any) error
type RollupInterval ¶ added in v0.17.0
type RollupInterval struct { TableName string ColumnName string Result *runtimev1.ColumnRollupIntervalResponse }
func (*RollupInterval) Deps ¶ added in v0.17.0
func (q *RollupInterval) Deps() []string
func (*RollupInterval) Key ¶ added in v0.17.0
func (q *RollupInterval) Key() string
func (*RollupInterval) MarshalResult ¶ added in v0.17.0
func (q *RollupInterval) MarshalResult() any
func (*RollupInterval) UnmarshalResult ¶ added in v0.17.0
func (q *RollupInterval) UnmarshalResult(v any) error
type TableCardinality ¶ added in v0.17.0
func (*TableCardinality) Deps ¶ added in v0.17.0
func (q *TableCardinality) Deps() []string
func (*TableCardinality) Key ¶ added in v0.17.0
func (q *TableCardinality) Key() string
func (*TableCardinality) MarshalResult ¶ added in v0.17.0
func (q *TableCardinality) MarshalResult() any
func (*TableCardinality) UnmarshalResult ¶ added in v0.17.0
func (q *TableCardinality) UnmarshalResult(v any) error
type TableColumns ¶ added in v0.17.0
type TableColumns struct { TableName string Result []*runtimev1.ProfileColumn }
func (*TableColumns) Deps ¶ added in v0.17.0
func (q *TableColumns) Deps() []string
func (*TableColumns) Key ¶ added in v0.17.0
func (q *TableColumns) Key() string
func (*TableColumns) MarshalResult ¶ added in v0.17.0
func (q *TableColumns) MarshalResult() any
func (*TableColumns) UnmarshalResult ¶ added in v0.17.0
func (q *TableColumns) UnmarshalResult(v any) error
type TableHead ¶ added in v0.21.1
func (*TableHead) MarshalResult ¶ added in v0.21.1
func (*TableHead) UnmarshalResult ¶ added in v0.21.1
Source Files ¶
- column_cardinality.go
- column_desc_stats.go
- column_null_count.go
- column_numeric_histogram.go
- column_numeric_histogram_nice.go
- column_rug_histogram.go
- column_time_grain.go
- column_time_range.go
- column_timeseries.go
- column_topk.go
- metricsview.go
- metricsview_timeseries.go
- metricsview_toplist.go
- metricsview_totals.go
- sqlutil.go
- table_cardinality.go
- table_columns.go
- table_head.go
- timeseries_interval.go
Click to show internal directories.
Click to hide internal directories.