Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package query is a generated protocol buffer package.

It is generated from these files:

internal/internal.proto

It has these top-level messages:

Point
Aux
IteratorOptions
Measurements
Measurement
Interval
IteratorStats
VarRef

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aux

type Aux struct {
	DataType         *int32   `protobuf:"varint,1,req,name=DataType" json:"DataType,omitempty"`
	FloatValue       *float64 `protobuf:"fixed64,2,opt,name=FloatValue" json:"FloatValue,omitempty"`
	IntegerValue     *int64   `protobuf:"varint,3,opt,name=IntegerValue" json:"IntegerValue,omitempty"`
	StringValue      *string  `protobuf:"bytes,4,opt,name=StringValue" json:"StringValue,omitempty"`
	BooleanValue     *bool    `protobuf:"varint,5,opt,name=BooleanValue" json:"BooleanValue,omitempty"`
	UnsignedValue    *uint64  `protobuf:"varint,6,opt,name=UnsignedValue" json:"UnsignedValue,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Aux) Descriptor

func (*Aux) Descriptor() ([]byte, []int)

func (*Aux) GetBooleanValue

func (m *Aux) GetBooleanValue() bool

func (*Aux) GetDataType

func (m *Aux) GetDataType() int32

func (*Aux) GetFloatValue

func (m *Aux) GetFloatValue() float64

func (*Aux) GetIntegerValue

func (m *Aux) GetIntegerValue() int64

func (*Aux) GetStringValue

func (m *Aux) GetStringValue() string

func (*Aux) GetUnsignedValue

func (m *Aux) GetUnsignedValue() uint64

func (*Aux) ProtoMessage

func (*Aux) ProtoMessage()

func (*Aux) Reset

func (m *Aux) Reset()

func (*Aux) String

func (m *Aux) String() string

type Interval

type Interval struct {
	Duration         *int64 `protobuf:"varint,1,opt,name=Duration" json:"Duration,omitempty"`
	Offset           *int64 `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Interval) Descriptor

func (*Interval) Descriptor() ([]byte, []int)

func (*Interval) GetDuration

func (m *Interval) GetDuration() int64

func (*Interval) GetOffset

func (m *Interval) GetOffset() int64

func (*Interval) ProtoMessage

func (*Interval) ProtoMessage()

func (*Interval) Reset

func (m *Interval) Reset()

func (*Interval) String

func (m *Interval) String() string

type IteratorOptions

type IteratorOptions struct {
	Expr             *string        `protobuf:"bytes,1,opt,name=Expr" json:"Expr,omitempty"`
	Aux              []string       `protobuf:"bytes,2,rep,name=Aux" json:"Aux,omitempty"`
	Fields           []*VarRef      `protobuf:"bytes,17,rep,name=Fields" json:"Fields,omitempty"`
	Sources          []*Measurement `protobuf:"bytes,3,rep,name=Sources" json:"Sources,omitempty"`
	Interval         *Interval      `protobuf:"bytes,4,opt,name=Interval" json:"Interval,omitempty"`
	Dimensions       []string       `protobuf:"bytes,5,rep,name=Dimensions" json:"Dimensions,omitempty"`
	GroupBy          []string       `protobuf:"bytes,19,rep,name=GroupBy" json:"GroupBy,omitempty"`
	Fill             *int32         `protobuf:"varint,6,opt,name=Fill" json:"Fill,omitempty"`
	FillValue        *float64       `protobuf:"fixed64,7,opt,name=FillValue" json:"FillValue,omitempty"`
	Condition        *string        `protobuf:"bytes,8,opt,name=Condition" json:"Condition,omitempty"`
	StartTime        *int64         `protobuf:"varint,9,opt,name=StartTime" json:"StartTime,omitempty"`
	EndTime          *int64         `protobuf:"varint,10,opt,name=EndTime" json:"EndTime,omitempty"`
	Location         *string        `protobuf:"bytes,21,opt,name=Location" json:"Location,omitempty"`
	Ascending        *bool          `protobuf:"varint,11,opt,name=Ascending" json:"Ascending,omitempty"`
	Limit            *int64         `protobuf:"varint,12,opt,name=Limit" json:"Limit,omitempty"`
	Offset           *int64         `protobuf:"varint,13,opt,name=Offset" json:"Offset,omitempty"`
	SLimit           *int64         `protobuf:"varint,14,opt,name=SLimit" json:"SLimit,omitempty"`
	SOffset          *int64         `protobuf:"varint,15,opt,name=SOffset" json:"SOffset,omitempty"`
	StripName        *bool          `protobuf:"varint,22,opt,name=StripName" json:"StripName,omitempty"`
	Dedupe           *bool          `protobuf:"varint,16,opt,name=Dedupe" json:"Dedupe,omitempty"`
	MaxSeriesN       *int64         `protobuf:"varint,18,opt,name=MaxSeriesN" json:"MaxSeriesN,omitempty"`
	Ordered          *bool          `protobuf:"varint,20,opt,name=Ordered" json:"Ordered,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*IteratorOptions) Descriptor

func (*IteratorOptions) Descriptor() ([]byte, []int)

func (*IteratorOptions) GetAscending

func (m *IteratorOptions) GetAscending() bool

func (*IteratorOptions) GetAux

func (m *IteratorOptions) GetAux() []string

func (*IteratorOptions) GetCondition

func (m *IteratorOptions) GetCondition() string

func (*IteratorOptions) GetDedupe

func (m *IteratorOptions) GetDedupe() bool

func (*IteratorOptions) GetDimensions

func (m *IteratorOptions) GetDimensions() []string

func (*IteratorOptions) GetEndTime

func (m *IteratorOptions) GetEndTime() int64

func (*IteratorOptions) GetExpr

func (m *IteratorOptions) GetExpr() string

func (*IteratorOptions) GetFields

func (m *IteratorOptions) GetFields() []*VarRef

func (*IteratorOptions) GetFill

func (m *IteratorOptions) GetFill() int32

func (*IteratorOptions) GetFillValue

func (m *IteratorOptions) GetFillValue() float64

func (*IteratorOptions) GetGroupBy

func (m *IteratorOptions) GetGroupBy() []string

func (*IteratorOptions) GetInterval

func (m *IteratorOptions) GetInterval() *Interval

func (*IteratorOptions) GetLimit

func (m *IteratorOptions) GetLimit() int64

func (*IteratorOptions) GetLocation

func (m *IteratorOptions) GetLocation() string

func (*IteratorOptions) GetMaxSeriesN

func (m *IteratorOptions) GetMaxSeriesN() int64

func (*IteratorOptions) GetOffset

func (m *IteratorOptions) GetOffset() int64

func (*IteratorOptions) GetOrdered

func (m *IteratorOptions) GetOrdered() bool

func (*IteratorOptions) GetSLimit

func (m *IteratorOptions) GetSLimit() int64

func (*IteratorOptions) GetSOffset

func (m *IteratorOptions) GetSOffset() int64

func (*IteratorOptions) GetSources

func (m *IteratorOptions) GetSources() []*Measurement

func (*IteratorOptions) GetStartTime

func (m *IteratorOptions) GetStartTime() int64

func (*IteratorOptions) GetStripName

func (m *IteratorOptions) GetStripName() bool

func (*IteratorOptions) ProtoMessage

func (*IteratorOptions) ProtoMessage()

func (*IteratorOptions) Reset

func (m *IteratorOptions) Reset()

func (*IteratorOptions) String

func (m *IteratorOptions) String() string

type IteratorStats

type IteratorStats struct {
	SeriesN          *int64 `protobuf:"varint,1,opt,name=SeriesN" json:"SeriesN,omitempty"`
	PointN           *int64 `protobuf:"varint,2,opt,name=PointN" json:"PointN,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*IteratorStats) Descriptor

func (*IteratorStats) Descriptor() ([]byte, []int)

func (*IteratorStats) GetPointN

func (m *IteratorStats) GetPointN() int64

func (*IteratorStats) GetSeriesN

func (m *IteratorStats) GetSeriesN() int64

func (*IteratorStats) ProtoMessage

func (*IteratorStats) ProtoMessage()

func (*IteratorStats) Reset

func (m *IteratorStats) Reset()

func (*IteratorStats) String

func (m *IteratorStats) String() string

type Measurement

type Measurement struct {
	Database         *string `protobuf:"bytes,1,opt,name=Database" json:"Database,omitempty"`
	RetentionPolicy  *string `protobuf:"bytes,2,opt,name=RetentionPolicy" json:"RetentionPolicy,omitempty"`
	Name             *string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"`
	Regex            *string `protobuf:"bytes,4,opt,name=Regex" json:"Regex,omitempty"`
	IsTarget         *bool   `protobuf:"varint,5,opt,name=IsTarget" json:"IsTarget,omitempty"`
	SystemIterator   *string `protobuf:"bytes,6,opt,name=SystemIterator" json:"SystemIterator,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Measurement) Descriptor

func (*Measurement) Descriptor() ([]byte, []int)

func (*Measurement) GetDatabase

func (m *Measurement) GetDatabase() string

func (*Measurement) GetIsTarget

func (m *Measurement) GetIsTarget() bool

func (*Measurement) GetName

func (m *Measurement) GetName() string

func (*Measurement) GetRegex

func (m *Measurement) GetRegex() string

func (*Measurement) GetRetentionPolicy

func (m *Measurement) GetRetentionPolicy() string

func (*Measurement) GetSystemIterator

func (m *Measurement) GetSystemIterator() string

func (*Measurement) ProtoMessage

func (*Measurement) ProtoMessage()

func (*Measurement) Reset

func (m *Measurement) Reset()

func (*Measurement) String

func (m *Measurement) String() string

type Measurements

type Measurements struct {
	Items            []*Measurement `protobuf:"bytes,1,rep,name=Items" json:"Items,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*Measurements) Descriptor

func (*Measurements) Descriptor() ([]byte, []int)

func (*Measurements) GetItems

func (m *Measurements) GetItems() []*Measurement

func (*Measurements) ProtoMessage

func (*Measurements) ProtoMessage()

func (*Measurements) Reset

func (m *Measurements) Reset()

func (*Measurements) String

func (m *Measurements) String() string

type Point

type Point struct {
	Name             *string        `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Tags             *string        `protobuf:"bytes,2,req,name=Tags" json:"Tags,omitempty"`
	Time             *int64         `protobuf:"varint,3,req,name=Time" json:"Time,omitempty"`
	Nil              *bool          `protobuf:"varint,4,req,name=Nil" json:"Nil,omitempty"`
	Aux              []*Aux         `protobuf:"bytes,5,rep,name=Aux" json:"Aux,omitempty"`
	Aggregated       *uint32        `protobuf:"varint,6,opt,name=Aggregated" json:"Aggregated,omitempty"`
	FloatValue       *float64       `protobuf:"fixed64,7,opt,name=FloatValue" json:"FloatValue,omitempty"`
	IntegerValue     *int64         `protobuf:"varint,8,opt,name=IntegerValue" json:"IntegerValue,omitempty"`
	StringValue      *string        `protobuf:"bytes,9,opt,name=StringValue" json:"StringValue,omitempty"`
	BooleanValue     *bool          `protobuf:"varint,10,opt,name=BooleanValue" json:"BooleanValue,omitempty"`
	UnsignedValue    *uint64        `protobuf:"varint,12,opt,name=UnsignedValue" json:"UnsignedValue,omitempty"`
	Stats            *IteratorStats `protobuf:"bytes,11,opt,name=Stats" json:"Stats,omitempty"`
	Trace            []byte         `protobuf:"bytes,13,opt,name=Trace" json:"Trace,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*Point) Descriptor

func (*Point) Descriptor() ([]byte, []int)

func (*Point) GetAggregated

func (m *Point) GetAggregated() uint32

func (*Point) GetAux

func (m *Point) GetAux() []*Aux

func (*Point) GetBooleanValue

func (m *Point) GetBooleanValue() bool

func (*Point) GetFloatValue

func (m *Point) GetFloatValue() float64

func (*Point) GetIntegerValue

func (m *Point) GetIntegerValue() int64

func (*Point) GetName

func (m *Point) GetName() string

func (*Point) GetNil

func (m *Point) GetNil() bool

func (*Point) GetStats

func (m *Point) GetStats() *IteratorStats

func (*Point) GetStringValue

func (m *Point) GetStringValue() string

func (*Point) GetTags

func (m *Point) GetTags() string

func (*Point) GetTime

func (m *Point) GetTime() int64

func (*Point) GetTrace

func (m *Point) GetTrace() []byte

func (*Point) GetUnsignedValue

func (m *Point) GetUnsignedValue() uint64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

type VarRef

type VarRef struct {
	Val              *string `protobuf:"bytes,1,req,name=Val" json:"Val,omitempty"`
	Type             *int32  `protobuf:"varint,2,opt,name=Type" json:"Type,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*VarRef) Descriptor

func (*VarRef) Descriptor() ([]byte, []int)

func (*VarRef) GetType

func (m *VarRef) GetType() int32

func (*VarRef) GetVal

func (m *VarRef) GetVal() string

func (*VarRef) ProtoMessage

func (*VarRef) ProtoMessage()

func (*VarRef) Reset

func (m *VarRef) Reset()

func (*VarRef) String

func (m *VarRef) String() string

Jump to

Keyboard shortcuts

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