histogram

package
v0.0.0-...-2eeffc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for histogram fields.

View Source
var ForeignKeys = []string{
	"metric_histograms",
}

ForeignKeys holds the SQL foreign-keys that are owned by the Histogram type.

Functions

func And

func And(predicates ...predicate.Histogram) predicate.Histogram

And groups list of predicates with the AND operator between them.

func Count

func Count(v int64) predicate.Histogram

Count applies equality check predicate on the "count" field. It's identical to CountEQ.

func CountEQ

func CountEQ(v int64) predicate.Histogram

CountEQ applies the EQ predicate on the "count" field.

func CountGT

func CountGT(v int64) predicate.Histogram

CountGT applies the GT predicate on the "count" field.

func CountGTE

func CountGTE(v int64) predicate.Histogram

CountGTE applies the GTE predicate on the "count" field.

func CountIn

func CountIn(vs ...int64) predicate.Histogram

CountIn applies the In predicate on the "count" field.

func CountLT

func CountLT(v int64) predicate.Histogram

CountLT applies the LT predicate on the "count" field.

func CountLTE

func CountLTE(v int64) predicate.Histogram

CountLTE applies the LTE predicate on the "count" field.

func CountNEQ

func CountNEQ(v int64) predicate.Histogram

CountNEQ applies the NEQ predicate on the "count" field.

func CountNotIn

func CountNotIn(vs ...int64) predicate.Histogram

CountNotIn applies the NotIn predicate on the "count" field.

func HasMetric

func HasMetric() predicate.Histogram

HasMetric applies the HasEdge predicate on the "metric" edge.

func HasMetricWith

func HasMetricWith(preds ...predicate.Metric) predicate.Histogram

HasMetricWith applies the HasEdge predicate on the "metric" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Histogram

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Histogram

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Histogram

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Histogram

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Histogram

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Histogram

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Histogram

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Histogram

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Histogram

IDNotIn applies the NotIn predicate on the ID field.

func Max

func Max(v int64) predicate.Histogram

Max applies equality check predicate on the "max" field. It's identical to MaxEQ.

func MaxEQ

func MaxEQ(v int64) predicate.Histogram

MaxEQ applies the EQ predicate on the "max" field.

func MaxGT

func MaxGT(v int64) predicate.Histogram

MaxGT applies the GT predicate on the "max" field.

func MaxGTE

func MaxGTE(v int64) predicate.Histogram

MaxGTE applies the GTE predicate on the "max" field.

func MaxIn

func MaxIn(vs ...int64) predicate.Histogram

MaxIn applies the In predicate on the "max" field.

func MaxLT

func MaxLT(v int64) predicate.Histogram

MaxLT applies the LT predicate on the "max" field.

func MaxLTE

func MaxLTE(v int64) predicate.Histogram

MaxLTE applies the LTE predicate on the "max" field.

func MaxNEQ

func MaxNEQ(v int64) predicate.Histogram

MaxNEQ applies the NEQ predicate on the "max" field.

func MaxNotIn

func MaxNotIn(vs ...int64) predicate.Histogram

MaxNotIn applies the NotIn predicate on the "max" field.

func Mean

func Mean(v float64) predicate.Histogram

Mean applies equality check predicate on the "mean" field. It's identical to MeanEQ.

func MeanEQ

func MeanEQ(v float64) predicate.Histogram

MeanEQ applies the EQ predicate on the "mean" field.

func MeanGT

func MeanGT(v float64) predicate.Histogram

MeanGT applies the GT predicate on the "mean" field.

func MeanGTE

func MeanGTE(v float64) predicate.Histogram

MeanGTE applies the GTE predicate on the "mean" field.

func MeanIn

func MeanIn(vs ...float64) predicate.Histogram

MeanIn applies the In predicate on the "mean" field.

func MeanLT

func MeanLT(v float64) predicate.Histogram

MeanLT applies the LT predicate on the "mean" field.

func MeanLTE

func MeanLTE(v float64) predicate.Histogram

MeanLTE applies the LTE predicate on the "mean" field.

func MeanNEQ

func MeanNEQ(v float64) predicate.Histogram

MeanNEQ applies the NEQ predicate on the "mean" field.

func MeanNotIn

func MeanNotIn(vs ...float64) predicate.Histogram

MeanNotIn applies the NotIn predicate on the "mean" field.

func Median

func Median(v float64) predicate.Histogram

Median applies equality check predicate on the "median" field. It's identical to MedianEQ.

func MedianEQ

func MedianEQ(v float64) predicate.Histogram

MedianEQ applies the EQ predicate on the "median" field.

func MedianGT

func MedianGT(v float64) predicate.Histogram

MedianGT applies the GT predicate on the "median" field.

func MedianGTE

func MedianGTE(v float64) predicate.Histogram

MedianGTE applies the GTE predicate on the "median" field.

func MedianIn

func MedianIn(vs ...float64) predicate.Histogram

MedianIn applies the In predicate on the "median" field.

func MedianLT

func MedianLT(v float64) predicate.Histogram

MedianLT applies the LT predicate on the "median" field.

func MedianLTE

func MedianLTE(v float64) predicate.Histogram

MedianLTE applies the LTE predicate on the "median" field.

func MedianNEQ

func MedianNEQ(v float64) predicate.Histogram

MedianNEQ applies the NEQ predicate on the "median" field.

func MedianNotIn

func MedianNotIn(vs ...float64) predicate.Histogram

MedianNotIn applies the NotIn predicate on the "median" field.

func Min

func Min(v int64) predicate.Histogram

Min applies equality check predicate on the "min" field. It's identical to MinEQ.

func MinEQ

func MinEQ(v int64) predicate.Histogram

MinEQ applies the EQ predicate on the "min" field.

func MinGT

func MinGT(v int64) predicate.Histogram

MinGT applies the GT predicate on the "min" field.

func MinGTE

func MinGTE(v int64) predicate.Histogram

MinGTE applies the GTE predicate on the "min" field.

func MinIn

func MinIn(vs ...int64) predicate.Histogram

MinIn applies the In predicate on the "min" field.

func MinLT

func MinLT(v int64) predicate.Histogram

MinLT applies the LT predicate on the "min" field.

func MinLTE

func MinLTE(v int64) predicate.Histogram

MinLTE applies the LTE predicate on the "min" field.

func MinNEQ

func MinNEQ(v int64) predicate.Histogram

MinNEQ applies the NEQ predicate on the "min" field.

func MinNotIn

func MinNotIn(vs ...int64) predicate.Histogram

MinNotIn applies the NotIn predicate on the "min" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Histogram) predicate.Histogram

Or groups list of predicates with the OR operator between them.

func P75

P75 applies equality check predicate on the "p75" field. It's identical to P75EQ.

func P75EQ

func P75EQ(v float64) predicate.Histogram

P75EQ applies the EQ predicate on the "p75" field.

func P75GT

func P75GT(v float64) predicate.Histogram

P75GT applies the GT predicate on the "p75" field.

func P75GTE

func P75GTE(v float64) predicate.Histogram

P75GTE applies the GTE predicate on the "p75" field.

func P75In

func P75In(vs ...float64) predicate.Histogram

P75In applies the In predicate on the "p75" field.

func P75LT

func P75LT(v float64) predicate.Histogram

P75LT applies the LT predicate on the "p75" field.

func P75LTE

func P75LTE(v float64) predicate.Histogram

P75LTE applies the LTE predicate on the "p75" field.

func P75NEQ

func P75NEQ(v float64) predicate.Histogram

P75NEQ applies the NEQ predicate on the "p75" field.

func P75NotIn

func P75NotIn(vs ...float64) predicate.Histogram

P75NotIn applies the NotIn predicate on the "p75" field.

func P95

P95 applies equality check predicate on the "p95" field. It's identical to P95EQ.

func P95EQ

func P95EQ(v float64) predicate.Histogram

P95EQ applies the EQ predicate on the "p95" field.

func P95GT

func P95GT(v float64) predicate.Histogram

P95GT applies the GT predicate on the "p95" field.

func P95GTE

func P95GTE(v float64) predicate.Histogram

P95GTE applies the GTE predicate on the "p95" field.

func P95In

func P95In(vs ...float64) predicate.Histogram

P95In applies the In predicate on the "p95" field.

func P95LT

func P95LT(v float64) predicate.Histogram

P95LT applies the LT predicate on the "p95" field.

func P95LTE

func P95LTE(v float64) predicate.Histogram

P95LTE applies the LTE predicate on the "p95" field.

func P95NEQ

func P95NEQ(v float64) predicate.Histogram

P95NEQ applies the NEQ predicate on the "p95" field.

func P95NotIn

func P95NotIn(vs ...float64) predicate.Histogram

P95NotIn applies the NotIn predicate on the "p95" field.

func P99

P99 applies equality check predicate on the "p99" field. It's identical to P99EQ.

func P999

func P999(v float64) predicate.Histogram

P999 applies equality check predicate on the "p999" field. It's identical to P999EQ.

func P999EQ

func P999EQ(v float64) predicate.Histogram

P999EQ applies the EQ predicate on the "p999" field.

func P999GT

func P999GT(v float64) predicate.Histogram

P999GT applies the GT predicate on the "p999" field.

func P999GTE

func P999GTE(v float64) predicate.Histogram

P999GTE applies the GTE predicate on the "p999" field.

func P999In

func P999In(vs ...float64) predicate.Histogram

P999In applies the In predicate on the "p999" field.

func P999LT

func P999LT(v float64) predicate.Histogram

P999LT applies the LT predicate on the "p999" field.

func P999LTE

func P999LTE(v float64) predicate.Histogram

P999LTE applies the LTE predicate on the "p999" field.

func P999NEQ

func P999NEQ(v float64) predicate.Histogram

P999NEQ applies the NEQ predicate on the "p999" field.

func P999NotIn

func P999NotIn(vs ...float64) predicate.Histogram

P999NotIn applies the NotIn predicate on the "p999" field.

func P99EQ

func P99EQ(v float64) predicate.Histogram

P99EQ applies the EQ predicate on the "p99" field.

func P99GT

func P99GT(v float64) predicate.Histogram

P99GT applies the GT predicate on the "p99" field.

func P99GTE

func P99GTE(v float64) predicate.Histogram

P99GTE applies the GTE predicate on the "p99" field.

func P99In

func P99In(vs ...float64) predicate.Histogram

P99In applies the In predicate on the "p99" field.

func P99LT

func P99LT(v float64) predicate.Histogram

P99LT applies the LT predicate on the "p99" field.

func P99LTE

func P99LTE(v float64) predicate.Histogram

P99LTE applies the LTE predicate on the "p99" field.

func P99NEQ

func P99NEQ(v float64) predicate.Histogram

P99NEQ applies the NEQ predicate on the "p99" field.

func P99NotIn

func P99NotIn(vs ...float64) predicate.Histogram

P99NotIn applies the NotIn predicate on the "p99" field.

func Stddev

func Stddev(v float64) predicate.Histogram

Stddev applies equality check predicate on the "stddev" field. It's identical to StddevEQ.

func StddevEQ

func StddevEQ(v float64) predicate.Histogram

StddevEQ applies the EQ predicate on the "stddev" field.

func StddevGT

func StddevGT(v float64) predicate.Histogram

StddevGT applies the GT predicate on the "stddev" field.

func StddevGTE

func StddevGTE(v float64) predicate.Histogram

StddevGTE applies the GTE predicate on the "stddev" field.

func StddevIn

func StddevIn(vs ...float64) predicate.Histogram

StddevIn applies the In predicate on the "stddev" field.

func StddevLT

func StddevLT(v float64) predicate.Histogram

StddevLT applies the LT predicate on the "stddev" field.

func StddevLTE

func StddevLTE(v float64) predicate.Histogram

StddevLTE applies the LTE predicate on the "stddev" field.

func StddevNEQ

func StddevNEQ(v float64) predicate.Histogram

StddevNEQ applies the NEQ predicate on the "stddev" field.

func StddevNotIn

func StddevNotIn(vs ...float64) predicate.Histogram

StddevNotIn applies the NotIn predicate on the "stddev" field.

func Time

func Time(v int64) predicate.Histogram

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v int64) predicate.Histogram

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v int64) predicate.Histogram

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v int64) predicate.Histogram

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...int64) predicate.Histogram

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v int64) predicate.Histogram

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v int64) predicate.Histogram

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v int64) predicate.Histogram

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...int64) predicate.Histogram

TimeNotIn applies the NotIn predicate on the "time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WID

func WID(v string) predicate.Histogram

WID applies equality check predicate on the "wID" field. It's identical to WIDEQ.

func WIDContains

func WIDContains(v string) predicate.Histogram

WIDContains applies the Contains predicate on the "wID" field.

func WIDContainsFold

func WIDContainsFold(v string) predicate.Histogram

WIDContainsFold applies the ContainsFold predicate on the "wID" field.

func WIDEQ

func WIDEQ(v string) predicate.Histogram

WIDEQ applies the EQ predicate on the "wID" field.

func WIDEqualFold

func WIDEqualFold(v string) predicate.Histogram

WIDEqualFold applies the EqualFold predicate on the "wID" field.

func WIDGT

func WIDGT(v string) predicate.Histogram

WIDGT applies the GT predicate on the "wID" field.

func WIDGTE

func WIDGTE(v string) predicate.Histogram

WIDGTE applies the GTE predicate on the "wID" field.

func WIDHasPrefix

func WIDHasPrefix(v string) predicate.Histogram

WIDHasPrefix applies the HasPrefix predicate on the "wID" field.

func WIDHasSuffix

func WIDHasSuffix(v string) predicate.Histogram

WIDHasSuffix applies the HasSuffix predicate on the "wID" field.

func WIDIn

func WIDIn(vs ...string) predicate.Histogram

WIDIn applies the In predicate on the "wID" field.

func WIDLT

func WIDLT(v string) predicate.Histogram

WIDLT applies the LT predicate on the "wID" field.

func WIDLTE

func WIDLTE(v string) predicate.Histogram

WIDLTE applies the LTE predicate on the "wID" field.

func WIDNEQ

func WIDNEQ(v string) predicate.Histogram

WIDNEQ applies the NEQ predicate on the "wID" field.

func WIDNotIn

func WIDNotIn(vs ...string) predicate.Histogram

WIDNotIn applies the NotIn predicate on the "wID" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL