query

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*Aux) XXX_DiscardUnknown added in v1.8.7

func (m *Aux) XXX_DiscardUnknown()

func (*Aux) XXX_Marshal added in v1.8.7

func (m *Aux) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Aux) XXX_Merge added in v1.8.7

func (m *Aux) XXX_Merge(src proto.Message)

func (*Aux) XXX_Size added in v1.8.7

func (m *Aux) XXX_Size() int

func (*Aux) XXX_Unmarshal added in v1.8.7

func (m *Aux) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*Interval) XXX_DiscardUnknown added in v1.8.7

func (m *Interval) XXX_DiscardUnknown()

func (*Interval) XXX_Marshal added in v1.8.7

func (m *Interval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interval) XXX_Merge added in v1.8.7

func (m *Interval) XXX_Merge(src proto.Message)

func (*Interval) XXX_Size added in v1.8.7

func (m *Interval) XXX_Size() int

func (*Interval) XXX_Unmarshal added in v1.8.7

func (m *Interval) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `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

func (*IteratorOptions) XXX_DiscardUnknown added in v1.8.7

func (m *IteratorOptions) XXX_DiscardUnknown()

func (*IteratorOptions) XXX_Marshal added in v1.8.7

func (m *IteratorOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IteratorOptions) XXX_Merge added in v1.8.7

func (m *IteratorOptions) XXX_Merge(src proto.Message)

func (*IteratorOptions) XXX_Size added in v1.8.7

func (m *IteratorOptions) XXX_Size() int

func (*IteratorOptions) XXX_Unmarshal added in v1.8.7

func (m *IteratorOptions) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*IteratorStats) XXX_DiscardUnknown added in v1.8.7

func (m *IteratorStats) XXX_DiscardUnknown()

func (*IteratorStats) XXX_Marshal added in v1.8.7

func (m *IteratorStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IteratorStats) XXX_Merge added in v1.8.7

func (m *IteratorStats) XXX_Merge(src proto.Message)

func (*IteratorStats) XXX_Size added in v1.8.7

func (m *IteratorStats) XXX_Size() int

func (*IteratorStats) XXX_Unmarshal added in v1.8.7

func (m *IteratorStats) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*Measurement) XXX_DiscardUnknown added in v1.8.7

func (m *Measurement) XXX_DiscardUnknown()

func (*Measurement) XXX_Marshal added in v1.8.7

func (m *Measurement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Measurement) XXX_Merge added in v1.8.7

func (m *Measurement) XXX_Merge(src proto.Message)

func (*Measurement) XXX_Size added in v1.8.7

func (m *Measurement) XXX_Size() int

func (*Measurement) XXX_Unmarshal added in v1.8.7

func (m *Measurement) XXX_Unmarshal(b []byte) error

type Measurements

type Measurements struct {
	Items                []*Measurement `protobuf:"bytes,1,rep,name=Items" json:"Items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `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

func (*Measurements) XXX_DiscardUnknown added in v1.8.7

func (m *Measurements) XXX_DiscardUnknown()

func (*Measurements) XXX_Marshal added in v1.8.7

func (m *Measurements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Measurements) XXX_Merge added in v1.8.7

func (m *Measurements) XXX_Merge(src proto.Message)

func (*Measurements) XXX_Size added in v1.8.7

func (m *Measurements) XXX_Size() int

func (*Measurements) XXX_Unmarshal added in v1.8.7

func (m *Measurements) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `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

func (*Point) XXX_DiscardUnknown added in v1.8.7

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal added in v1.8.7

func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Point) XXX_Merge added in v1.8.7

func (m *Point) XXX_Merge(src proto.Message)

func (*Point) XXX_Size added in v1.8.7

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal added in v1.8.7

func (m *Point) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*VarRef) XXX_DiscardUnknown added in v1.8.7

func (m *VarRef) XXX_DiscardUnknown()

func (*VarRef) XXX_Marshal added in v1.8.7

func (m *VarRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VarRef) XXX_Merge added in v1.8.7

func (m *VarRef) XXX_Merge(src proto.Message)

func (*VarRef) XXX_Size added in v1.8.7

func (m *VarRef) XXX_Size() int

func (*VarRef) XXX_Unmarshal added in v1.8.7

func (m *VarRef) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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