benchresult

package
v0.0.0-...-56b00f8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the benchresult type in the database.
	Label = "bench_result"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldN holds the string denoting the n field in the database.
	FieldN = "n"
	// FieldNsPerOp holds the string denoting the ns_per_op field in the database.
	FieldNsPerOp = "ns_per_op"
	// FieldAllocedBytesPerOp holds the string denoting the alloced_bytes_per_op field in the database.
	FieldAllocedBytesPerOp = "alloced_bytes_per_op"
	// FieldAllocsPerOp holds the string denoting the allocs_per_op field in the database.
	FieldAllocsPerOp = "allocs_per_op"
	// FieldMBPerS holds the string denoting the mb_per_s field in the database.
	FieldMBPerS = "mb_per_s"
	// FieldMeasured holds the string denoting the measured field in the database.
	FieldMeasured = "measured"
	// FieldOrd holds the string denoting the ord field in the database.
	FieldOrd = "ord"
	// Table holds the table name of the benchresult in the database.
	Table = "bench_results"
)

Variables

Columns holds all SQL columns for benchresult fields.

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

ForeignKeys holds the SQL foreign-keys that are owned by the "bench_results" table and are not defined as standalone fields in the schema.

Functions

func AllocedBytesPerOp

func AllocedBytesPerOp(v int64) predicate.BenchResult

AllocedBytesPerOp applies equality check predicate on the "alloced_bytes_per_op" field. It's identical to AllocedBytesPerOpEQ.

func AllocedBytesPerOpEQ

func AllocedBytesPerOpEQ(v int64) predicate.BenchResult

AllocedBytesPerOpEQ applies the EQ predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpGT

func AllocedBytesPerOpGT(v int64) predicate.BenchResult

AllocedBytesPerOpGT applies the GT predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpGTE

func AllocedBytesPerOpGTE(v int64) predicate.BenchResult

AllocedBytesPerOpGTE applies the GTE predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpIn

func AllocedBytesPerOpIn(vs ...int64) predicate.BenchResult

AllocedBytesPerOpIn applies the In predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpLT

func AllocedBytesPerOpLT(v int64) predicate.BenchResult

AllocedBytesPerOpLT applies the LT predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpLTE

func AllocedBytesPerOpLTE(v int64) predicate.BenchResult

AllocedBytesPerOpLTE applies the LTE predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpNEQ

func AllocedBytesPerOpNEQ(v int64) predicate.BenchResult

AllocedBytesPerOpNEQ applies the NEQ predicate on the "alloced_bytes_per_op" field.

func AllocedBytesPerOpNotIn

func AllocedBytesPerOpNotIn(vs ...int64) predicate.BenchResult

AllocedBytesPerOpNotIn applies the NotIn predicate on the "alloced_bytes_per_op" field.

func AllocsPerOp

func AllocsPerOp(v int64) predicate.BenchResult

AllocsPerOp applies equality check predicate on the "allocs_per_op" field. It's identical to AllocsPerOpEQ.

func AllocsPerOpEQ

func AllocsPerOpEQ(v int64) predicate.BenchResult

AllocsPerOpEQ applies the EQ predicate on the "allocs_per_op" field.

func AllocsPerOpGT

func AllocsPerOpGT(v int64) predicate.BenchResult

AllocsPerOpGT applies the GT predicate on the "allocs_per_op" field.

func AllocsPerOpGTE

func AllocsPerOpGTE(v int64) predicate.BenchResult

AllocsPerOpGTE applies the GTE predicate on the "allocs_per_op" field.

func AllocsPerOpIn

func AllocsPerOpIn(vs ...int64) predicate.BenchResult

AllocsPerOpIn applies the In predicate on the "allocs_per_op" field.

func AllocsPerOpLT

func AllocsPerOpLT(v int64) predicate.BenchResult

AllocsPerOpLT applies the LT predicate on the "allocs_per_op" field.

func AllocsPerOpLTE

func AllocsPerOpLTE(v int64) predicate.BenchResult

AllocsPerOpLTE applies the LTE predicate on the "allocs_per_op" field.

func AllocsPerOpNEQ

func AllocsPerOpNEQ(v int64) predicate.BenchResult

AllocsPerOpNEQ applies the NEQ predicate on the "allocs_per_op" field.

func AllocsPerOpNotIn

func AllocsPerOpNotIn(vs ...int64) predicate.BenchResult

AllocsPerOpNotIn applies the NotIn predicate on the "allocs_per_op" field.

func And

func And(predicates ...predicate.BenchResult) predicate.BenchResult

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.BenchResult

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.BenchResult

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.BenchResult

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.BenchResult

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.BenchResult

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.BenchResult

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.BenchResult

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MBPerS

func MBPerS(v float64) predicate.BenchResult

MBPerS applies equality check predicate on the "mb_per_s" field. It's identical to MBPerSEQ.

func MBPerSEQ

func MBPerSEQ(v float64) predicate.BenchResult

MBPerSEQ applies the EQ predicate on the "mb_per_s" field.

func MBPerSGT

func MBPerSGT(v float64) predicate.BenchResult

MBPerSGT applies the GT predicate on the "mb_per_s" field.

func MBPerSGTE

func MBPerSGTE(v float64) predicate.BenchResult

MBPerSGTE applies the GTE predicate on the "mb_per_s" field.

func MBPerSIn

func MBPerSIn(vs ...float64) predicate.BenchResult

MBPerSIn applies the In predicate on the "mb_per_s" field.

func MBPerSLT

func MBPerSLT(v float64) predicate.BenchResult

MBPerSLT applies the LT predicate on the "mb_per_s" field.

func MBPerSLTE

func MBPerSLTE(v float64) predicate.BenchResult

MBPerSLTE applies the LTE predicate on the "mb_per_s" field.

func MBPerSNEQ

func MBPerSNEQ(v float64) predicate.BenchResult

MBPerSNEQ applies the NEQ predicate on the "mb_per_s" field.

func MBPerSNotIn

func MBPerSNotIn(vs ...float64) predicate.BenchResult

MBPerSNotIn applies the NotIn predicate on the "mb_per_s" field.

func Measured

func Measured(v int64) predicate.BenchResult

Measured applies equality check predicate on the "measured" field. It's identical to MeasuredEQ.

func MeasuredEQ

func MeasuredEQ(v int64) predicate.BenchResult

MeasuredEQ applies the EQ predicate on the "measured" field.

func MeasuredGT

func MeasuredGT(v int64) predicate.BenchResult

MeasuredGT applies the GT predicate on the "measured" field.

func MeasuredGTE

func MeasuredGTE(v int64) predicate.BenchResult

MeasuredGTE applies the GTE predicate on the "measured" field.

func MeasuredIn

func MeasuredIn(vs ...int64) predicate.BenchResult

MeasuredIn applies the In predicate on the "measured" field.

func MeasuredLT

func MeasuredLT(v int64) predicate.BenchResult

MeasuredLT applies the LT predicate on the "measured" field.

func MeasuredLTE

func MeasuredLTE(v int64) predicate.BenchResult

MeasuredLTE applies the LTE predicate on the "measured" field.

func MeasuredNEQ

func MeasuredNEQ(v int64) predicate.BenchResult

MeasuredNEQ applies the NEQ predicate on the "measured" field.

func MeasuredNotIn

func MeasuredNotIn(vs ...int64) predicate.BenchResult

MeasuredNotIn applies the NotIn predicate on the "measured" field.

func N

N applies equality check predicate on the "n" field. It's identical to NEQ.

func NEQ

NEQ applies the EQ predicate on the "n" field.

func NGT

NGT applies the GT predicate on the "n" field.

func NGTE

func NGTE(v int64) predicate.BenchResult

NGTE applies the GTE predicate on the "n" field.

func NIn

func NIn(vs ...int64) predicate.BenchResult

NIn applies the In predicate on the "n" field.

func NLT

NLT applies the LT predicate on the "n" field.

func NLTE

func NLTE(v int64) predicate.BenchResult

NLTE applies the LTE predicate on the "n" field.

func NNEQ

func NNEQ(v int64) predicate.BenchResult

NNEQ applies the NEQ predicate on the "n" field.

func NNotIn

func NNotIn(vs ...int64) predicate.BenchResult

NNotIn applies the NotIn predicate on the "n" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.BenchResult

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.BenchResult

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.BenchResult

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.BenchResult

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.BenchResult

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.BenchResult

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.BenchResult

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.BenchResult

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.BenchResult

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.BenchResult

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.BenchResult

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.BenchResult

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.BenchResult

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func NsPerOp

func NsPerOp(v float64) predicate.BenchResult

NsPerOp applies equality check predicate on the "ns_per_op" field. It's identical to NsPerOpEQ.

func NsPerOpEQ

func NsPerOpEQ(v float64) predicate.BenchResult

NsPerOpEQ applies the EQ predicate on the "ns_per_op" field.

func NsPerOpGT

func NsPerOpGT(v float64) predicate.BenchResult

NsPerOpGT applies the GT predicate on the "ns_per_op" field.

func NsPerOpGTE

func NsPerOpGTE(v float64) predicate.BenchResult

NsPerOpGTE applies the GTE predicate on the "ns_per_op" field.

func NsPerOpIn

func NsPerOpIn(vs ...float64) predicate.BenchResult

NsPerOpIn applies the In predicate on the "ns_per_op" field.

func NsPerOpLT

func NsPerOpLT(v float64) predicate.BenchResult

NsPerOpLT applies the LT predicate on the "ns_per_op" field.

func NsPerOpLTE

func NsPerOpLTE(v float64) predicate.BenchResult

NsPerOpLTE applies the LTE predicate on the "ns_per_op" field.

func NsPerOpNEQ

func NsPerOpNEQ(v float64) predicate.BenchResult

NsPerOpNEQ applies the NEQ predicate on the "ns_per_op" field.

func NsPerOpNotIn

func NsPerOpNotIn(vs ...float64) predicate.BenchResult

NsPerOpNotIn applies the NotIn predicate on the "ns_per_op" field.

func Or

func Or(predicates ...predicate.BenchResult) predicate.BenchResult

Or groups predicates with the OR operator between them.

func Ord

Ord applies equality check predicate on the "ord" field. It's identical to OrdEQ.

func OrdEQ

func OrdEQ(v int64) predicate.BenchResult

OrdEQ applies the EQ predicate on the "ord" field.

func OrdGT

func OrdGT(v int64) predicate.BenchResult

OrdGT applies the GT predicate on the "ord" field.

func OrdGTE

func OrdGTE(v int64) predicate.BenchResult

OrdGTE applies the GTE predicate on the "ord" field.

func OrdIn

func OrdIn(vs ...int64) predicate.BenchResult

OrdIn applies the In predicate on the "ord" field.

func OrdLT

func OrdLT(v int64) predicate.BenchResult

OrdLT applies the LT predicate on the "ord" field.

func OrdLTE

func OrdLTE(v int64) predicate.BenchResult

OrdLTE applies the LTE predicate on the "ord" field.

func OrdNEQ

func OrdNEQ(v int64) predicate.BenchResult

OrdNEQ applies the NEQ predicate on the "ord" field.

func OrdNotIn

func OrdNotIn(vs ...int64) predicate.BenchResult

OrdNotIn applies the NotIn predicate on the "ord" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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