package tsdb

import "github.com/influxdata/influxdb/tsdb/internal"

Index

Variables

var (
	ChangeType_name = map[int32]string{
		0: "AddMeasurementField",
		1: "DeleteMeasurement",
	}
	ChangeType_value = map[string]int32{
		"AddMeasurementField": 0,
		"DeleteMeasurement":   1,
	}
)

Enum value maps for ChangeType.

var File_internal_fieldsindex_proto protoreflect.FileDescriptor

Types

type ChangeType

type ChangeType int32
const (
	ChangeType_AddMeasurementField ChangeType = 0
	ChangeType_DeleteMeasurement   ChangeType = 1
)

func (ChangeType) Descriptor

func (ChangeType) Descriptor() protoreflect.EnumDescriptor

func (ChangeType) Enum

func (x ChangeType) Enum() *ChangeType

func (ChangeType) EnumDescriptor

func (ChangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChangeType.Descriptor instead.

func (ChangeType) Number

func (x ChangeType) Number() protoreflect.EnumNumber

func (ChangeType) String

func (x ChangeType) String() string

func (ChangeType) Type

type Field

type Field struct {
	Name []byte `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() []byte

func (*Field) GetType

func (x *Field) GetType() int32

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type FieldChangeSet

type FieldChangeSet struct {
	Changes []*MeasurementFieldChange `protobuf:"bytes,1,rep,name=Changes,proto3" json:"Changes,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldChangeSet) Descriptor

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

Deprecated: Use FieldChangeSet.ProtoReflect.Descriptor instead.

func (*FieldChangeSet) GetChanges

func (x *FieldChangeSet) GetChanges() []*MeasurementFieldChange

func (*FieldChangeSet) ProtoMessage

func (*FieldChangeSet) ProtoMessage()

func (*FieldChangeSet) ProtoReflect

func (x *FieldChangeSet) ProtoReflect() protoreflect.Message

func (*FieldChangeSet) Reset

func (x *FieldChangeSet) Reset()

func (*FieldChangeSet) String

func (x *FieldChangeSet) String() string

type MeasurementFieldChange

type MeasurementFieldChange struct {
	Measurement []byte     `protobuf:"bytes,1,opt,name=Measurement,proto3" json:"Measurement,omitempty"`
	Field       *Field     `protobuf:"bytes,2,opt,name=Field,proto3" json:"Field,omitempty"`
	Change      ChangeType `protobuf:"varint,3,opt,name=Change,proto3,enum=tsdb.ChangeType" json:"Change,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFieldChange) Descriptor

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

Deprecated: Use MeasurementFieldChange.ProtoReflect.Descriptor instead.

func (*MeasurementFieldChange) GetChange

func (x *MeasurementFieldChange) GetChange() ChangeType

func (*MeasurementFieldChange) GetField

func (x *MeasurementFieldChange) GetField() *Field

func (*MeasurementFieldChange) GetMeasurement

func (x *MeasurementFieldChange) GetMeasurement() []byte

func (*MeasurementFieldChange) ProtoMessage

func (*MeasurementFieldChange) ProtoMessage()

func (*MeasurementFieldChange) ProtoReflect

func (x *MeasurementFieldChange) ProtoReflect() protoreflect.Message

func (*MeasurementFieldChange) Reset

func (x *MeasurementFieldChange) Reset()

func (*MeasurementFieldChange) String

func (x *MeasurementFieldChange) String() string

type MeasurementFieldSet

type MeasurementFieldSet struct {
	Measurements []*MeasurementFields `protobuf:"bytes,1,rep,name=Measurements,proto3" json:"Measurements,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFieldSet) Descriptor

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

Deprecated: Use MeasurementFieldSet.ProtoReflect.Descriptor instead.

func (*MeasurementFieldSet) GetMeasurements

func (x *MeasurementFieldSet) GetMeasurements() []*MeasurementFields

func (*MeasurementFieldSet) ProtoMessage

func (*MeasurementFieldSet) ProtoMessage()

func (*MeasurementFieldSet) ProtoReflect

func (x *MeasurementFieldSet) ProtoReflect() protoreflect.Message

func (*MeasurementFieldSet) Reset

func (x *MeasurementFieldSet) Reset()

func (*MeasurementFieldSet) String

func (x *MeasurementFieldSet) String() string

type MeasurementFields

type MeasurementFields struct {
	Name   []byte   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Fields []*Field `protobuf:"bytes,2,rep,name=Fields,proto3" json:"Fields,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFields) Descriptor

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

Deprecated: Use MeasurementFields.ProtoReflect.Descriptor instead.

func (*MeasurementFields) GetFields

func (x *MeasurementFields) GetFields() []*Field

func (*MeasurementFields) GetName

func (x *MeasurementFields) GetName() []byte

func (*MeasurementFields) ProtoMessage

func (*MeasurementFields) ProtoMessage()

func (*MeasurementFields) ProtoReflect

func (x *MeasurementFields) ProtoReflect() protoreflect.Message

func (*MeasurementFields) Reset

func (x *MeasurementFields) Reset()

func (*MeasurementFields) String

func (x *MeasurementFields) String() string

type Series

type Series struct {
	Key  string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Tags []*Tag `protobuf:"bytes,2,rep,name=Tags,proto3" json:"Tags,omitempty"`
	// contains filtered or unexported fields
}

func (*Series) Descriptor

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

Deprecated: Use Series.ProtoReflect.Descriptor instead.

func (*Series) GetKey

func (x *Series) GetKey() string

func (*Series) GetTags

func (x *Series) GetTags() []*Tag

func (*Series) ProtoMessage

func (*Series) ProtoMessage()

func (*Series) ProtoReflect

func (x *Series) ProtoReflect() protoreflect.Message

func (*Series) Reset

func (x *Series) Reset()

func (*Series) String

func (x *Series) String() string

type Tag

type Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

Source Files

fieldsindex.pb.go

Version
v1.12.0 (latest)
Published
Apr 8, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
2 days ago

Tools for package owners.