Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Histogram) predicate.Histogram
- func Count(v int64) predicate.Histogram
- func CountEQ(v int64) predicate.Histogram
- func CountGT(v int64) predicate.Histogram
- func CountGTE(v int64) predicate.Histogram
- func CountIn(vs ...int64) predicate.Histogram
- func CountLT(v int64) predicate.Histogram
- func CountLTE(v int64) predicate.Histogram
- func CountNEQ(v int64) predicate.Histogram
- func CountNotIn(vs ...int64) predicate.Histogram
- func HasMetric() predicate.Histogram
- func HasMetricWith(preds ...predicate.Metric) predicate.Histogram
- func ID(id int) predicate.Histogram
- func IDEQ(id int) predicate.Histogram
- func IDGT(id int) predicate.Histogram
- func IDGTE(id int) predicate.Histogram
- func IDIn(ids ...int) predicate.Histogram
- func IDLT(id int) predicate.Histogram
- func IDLTE(id int) predicate.Histogram
- func IDNEQ(id int) predicate.Histogram
- func IDNotIn(ids ...int) predicate.Histogram
- func Max(v int64) predicate.Histogram
- func MaxEQ(v int64) predicate.Histogram
- func MaxGT(v int64) predicate.Histogram
- func MaxGTE(v int64) predicate.Histogram
- func MaxIn(vs ...int64) predicate.Histogram
- func MaxLT(v int64) predicate.Histogram
- func MaxLTE(v int64) predicate.Histogram
- func MaxNEQ(v int64) predicate.Histogram
- func MaxNotIn(vs ...int64) predicate.Histogram
- func Mean(v float64) predicate.Histogram
- func MeanEQ(v float64) predicate.Histogram
- func MeanGT(v float64) predicate.Histogram
- func MeanGTE(v float64) predicate.Histogram
- func MeanIn(vs ...float64) predicate.Histogram
- func MeanLT(v float64) predicate.Histogram
- func MeanLTE(v float64) predicate.Histogram
- func MeanNEQ(v float64) predicate.Histogram
- func MeanNotIn(vs ...float64) predicate.Histogram
- func Median(v float64) predicate.Histogram
- func MedianEQ(v float64) predicate.Histogram
- func MedianGT(v float64) predicate.Histogram
- func MedianGTE(v float64) predicate.Histogram
- func MedianIn(vs ...float64) predicate.Histogram
- func MedianLT(v float64) predicate.Histogram
- func MedianLTE(v float64) predicate.Histogram
- func MedianNEQ(v float64) predicate.Histogram
- func MedianNotIn(vs ...float64) predicate.Histogram
- func Min(v int64) predicate.Histogram
- func MinEQ(v int64) predicate.Histogram
- func MinGT(v int64) predicate.Histogram
- func MinGTE(v int64) predicate.Histogram
- func MinIn(vs ...int64) predicate.Histogram
- func MinLT(v int64) predicate.Histogram
- func MinLTE(v int64) predicate.Histogram
- func MinNEQ(v int64) predicate.Histogram
- func MinNotIn(vs ...int64) predicate.Histogram
- func Not(p predicate.Histogram) predicate.Histogram
- func Or(predicates ...predicate.Histogram) predicate.Histogram
- func P75(v float64) predicate.Histogram
- func P75EQ(v float64) predicate.Histogram
- func P75GT(v float64) predicate.Histogram
- func P75GTE(v float64) predicate.Histogram
- func P75In(vs ...float64) predicate.Histogram
- func P75LT(v float64) predicate.Histogram
- func P75LTE(v float64) predicate.Histogram
- func P75NEQ(v float64) predicate.Histogram
- func P75NotIn(vs ...float64) predicate.Histogram
- func P95(v float64) predicate.Histogram
- func P95EQ(v float64) predicate.Histogram
- func P95GT(v float64) predicate.Histogram
- func P95GTE(v float64) predicate.Histogram
- func P95In(vs ...float64) predicate.Histogram
- func P95LT(v float64) predicate.Histogram
- func P95LTE(v float64) predicate.Histogram
- func P95NEQ(v float64) predicate.Histogram
- func P95NotIn(vs ...float64) predicate.Histogram
- func P99(v float64) predicate.Histogram
- func P999(v float64) predicate.Histogram
- func P999EQ(v float64) predicate.Histogram
- func P999GT(v float64) predicate.Histogram
- func P999GTE(v float64) predicate.Histogram
- func P999In(vs ...float64) predicate.Histogram
- func P999LT(v float64) predicate.Histogram
- func P999LTE(v float64) predicate.Histogram
- func P999NEQ(v float64) predicate.Histogram
- func P999NotIn(vs ...float64) predicate.Histogram
- func P99EQ(v float64) predicate.Histogram
- func P99GT(v float64) predicate.Histogram
- func P99GTE(v float64) predicate.Histogram
- func P99In(vs ...float64) predicate.Histogram
- func P99LT(v float64) predicate.Histogram
- func P99LTE(v float64) predicate.Histogram
- func P99NEQ(v float64) predicate.Histogram
- func P99NotIn(vs ...float64) predicate.Histogram
- func Stddev(v float64) predicate.Histogram
- func StddevEQ(v float64) predicate.Histogram
- func StddevGT(v float64) predicate.Histogram
- func StddevGTE(v float64) predicate.Histogram
- func StddevIn(vs ...float64) predicate.Histogram
- func StddevLT(v float64) predicate.Histogram
- func StddevLTE(v float64) predicate.Histogram
- func StddevNEQ(v float64) predicate.Histogram
- func StddevNotIn(vs ...float64) predicate.Histogram
- func Time(v int64) predicate.Histogram
- func TimeEQ(v int64) predicate.Histogram
- func TimeGT(v int64) predicate.Histogram
- func TimeGTE(v int64) predicate.Histogram
- func TimeIn(vs ...int64) predicate.Histogram
- func TimeLT(v int64) predicate.Histogram
- func TimeLTE(v int64) predicate.Histogram
- func TimeNEQ(v int64) predicate.Histogram
- func TimeNotIn(vs ...int64) predicate.Histogram
- func ValidColumn(column string) bool
- func WID(v string) predicate.Histogram
- func WIDContains(v string) predicate.Histogram
- func WIDContainsFold(v string) predicate.Histogram
- func WIDEQ(v string) predicate.Histogram
- func WIDEqualFold(v string) predicate.Histogram
- func WIDGT(v string) predicate.Histogram
- func WIDGTE(v string) predicate.Histogram
- func WIDHasPrefix(v string) predicate.Histogram
- func WIDHasSuffix(v string) predicate.Histogram
- func WIDIn(vs ...string) predicate.Histogram
- func WIDLT(v string) predicate.Histogram
- func WIDLTE(v string) predicate.Histogram
- func WIDNEQ(v string) predicate.Histogram
- func WIDNotIn(vs ...string) predicate.Histogram
Constants ¶
const ( // Label holds the string label denoting the histogram type in the database. Label = "histogram" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // FieldMin holds the string denoting the min field in the database. FieldMin = "min" // FieldMax holds the string denoting the max field in the database. FieldMax = "max" // FieldMean holds the string denoting the mean field in the database. FieldMean = "mean" // FieldStddev holds the string denoting the stddev field in the database. FieldStddev = "stddev" // FieldMedian holds the string denoting the median field in the database. FieldMedian = "median" // FieldP75 holds the string denoting the p75 field in the database. FieldP75 = "p75" // FieldP95 holds the string denoting the p95 field in the database. FieldP95 = "p95" // FieldP99 holds the string denoting the p99 field in the database. FieldP99 = "p99" // FieldP999 holds the string denoting the p999 field in the database. FieldP999 = "p999" // FieldWID holds the string denoting the wid field in the database. FieldWID = "w_id" // EdgeMetric holds the string denoting the metric edge name in mutations. EdgeMetric = "metric" // Table holds the table name of the histogram in the database. Table = "histograms" // MetricTable is the table the holds the metric relation/edge. MetricTable = "histograms" // MetricInverseTable is the table name for the Metric entity. // It exists in this package in order to avoid circular dependency with the "metric" package. MetricInverseTable = "metrics" // MetricColumn is the table column denoting the metric relation/edge. MetricColumn = "metric_histograms" )
Variables ¶
var Columns = []string{ FieldID, FieldTime, FieldCount, FieldMin, FieldMax, FieldMean, FieldStddev, FieldMedian, FieldP75, FieldP95, FieldP99, FieldP999, FieldWID, }
Columns holds all SQL columns for histogram fields.
var ForeignKeys = []string{
"metric_histograms",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Histogram type.
Functions ¶
func Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" field.
func HasMetricWith ¶
HasMetricWith applies the HasEdge predicate on the "metric" edge with a given conditions (other predicates).
func Median ¶
Median applies equality check predicate on the "median" field. It's identical to MedianEQ.
func MedianNotIn ¶
MedianNotIn applies the NotIn predicate on the "median" field.
func Stddev ¶
Stddev applies equality check predicate on the "stddev" field. It's identical to StddevEQ.
func StddevNotIn ¶
StddevNotIn applies the NotIn predicate on the "stddev" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WIDContains ¶
WIDContains applies the Contains predicate on the "wID" field.
func WIDContainsFold ¶
WIDContainsFold applies the ContainsFold predicate on the "wID" field.
func WIDEqualFold ¶
WIDEqualFold applies the EqualFold predicate on the "wID" field.
func WIDHasPrefix ¶
WIDHasPrefix applies the HasPrefix predicate on the "wID" field.
func WIDHasSuffix ¶
WIDHasSuffix applies the HasSuffix predicate on the "wID" field.
Types ¶
This section is empty.