querypb

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Overview

Package querypb is a generated protocol buffer package.

It is generated from these files:

github.com/m3db/m3/src/m3ninx/generated/proto/querypb/query.proto

It has these top-level messages:

FieldQuery
TermQuery
RegexpQuery
NegationQuery
ConjunctionQuery
DisjunctionQuery
AllQuery
Query

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AllQuery added in v0.7.3

type AllQuery struct {
}

func (*AllQuery) Descriptor added in v0.7.3

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

func (*AllQuery) Marshal added in v0.7.3

func (m *AllQuery) Marshal() (dAtA []byte, err error)

func (*AllQuery) MarshalTo added in v0.7.3

func (m *AllQuery) MarshalTo(dAtA []byte) (int, error)

func (*AllQuery) ProtoMessage added in v0.7.3

func (*AllQuery) ProtoMessage()

func (*AllQuery) Reset added in v0.7.3

func (m *AllQuery) Reset()

func (*AllQuery) Size added in v0.7.3

func (m *AllQuery) Size() (n int)

func (*AllQuery) String added in v0.7.3

func (m *AllQuery) String() string

func (*AllQuery) Unmarshal added in v0.7.3

func (m *AllQuery) Unmarshal(dAtA []byte) error

type ConjunctionQuery

type ConjunctionQuery struct {
	Queries []*Query `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"`
}

func (*ConjunctionQuery) Descriptor

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

func (*ConjunctionQuery) GetQueries

func (m *ConjunctionQuery) GetQueries() []*Query

func (*ConjunctionQuery) Marshal

func (m *ConjunctionQuery) Marshal() (dAtA []byte, err error)

func (*ConjunctionQuery) MarshalTo

func (m *ConjunctionQuery) MarshalTo(dAtA []byte) (int, error)

func (*ConjunctionQuery) ProtoMessage

func (*ConjunctionQuery) ProtoMessage()

func (*ConjunctionQuery) Reset

func (m *ConjunctionQuery) Reset()

func (*ConjunctionQuery) Size

func (m *ConjunctionQuery) Size() (n int)

func (*ConjunctionQuery) String

func (m *ConjunctionQuery) String() string

func (*ConjunctionQuery) Unmarshal

func (m *ConjunctionQuery) Unmarshal(dAtA []byte) error

type DisjunctionQuery

type DisjunctionQuery struct {
	Queries []*Query `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"`
}

func (*DisjunctionQuery) Descriptor

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

func (*DisjunctionQuery) GetQueries

func (m *DisjunctionQuery) GetQueries() []*Query

func (*DisjunctionQuery) Marshal

func (m *DisjunctionQuery) Marshal() (dAtA []byte, err error)

func (*DisjunctionQuery) MarshalTo

func (m *DisjunctionQuery) MarshalTo(dAtA []byte) (int, error)

func (*DisjunctionQuery) ProtoMessage

func (*DisjunctionQuery) ProtoMessage()

func (*DisjunctionQuery) Reset

func (m *DisjunctionQuery) Reset()

func (*DisjunctionQuery) Size

func (m *DisjunctionQuery) Size() (n int)

func (*DisjunctionQuery) String

func (m *DisjunctionQuery) String() string

func (*DisjunctionQuery) Unmarshal

func (m *DisjunctionQuery) Unmarshal(dAtA []byte) error

type FieldQuery added in v0.8.1

type FieldQuery struct {
	Field []byte `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
}

func (*FieldQuery) Descriptor added in v0.8.1

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

func (*FieldQuery) GetField added in v0.8.1

func (m *FieldQuery) GetField() []byte

func (*FieldQuery) Marshal added in v0.8.1

func (m *FieldQuery) Marshal() (dAtA []byte, err error)

func (*FieldQuery) MarshalTo added in v0.8.1

func (m *FieldQuery) MarshalTo(dAtA []byte) (int, error)

func (*FieldQuery) ProtoMessage added in v0.8.1

func (*FieldQuery) ProtoMessage()

func (*FieldQuery) Reset added in v0.8.1

func (m *FieldQuery) Reset()

func (*FieldQuery) Size added in v0.8.1

func (m *FieldQuery) Size() (n int)

func (*FieldQuery) String added in v0.8.1

func (m *FieldQuery) String() string

func (*FieldQuery) Unmarshal added in v0.8.1

func (m *FieldQuery) Unmarshal(dAtA []byte) error

type NegationQuery

type NegationQuery struct {
	Query *Query `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}

func (*NegationQuery) Descriptor

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

func (*NegationQuery) GetQuery

func (m *NegationQuery) GetQuery() *Query

func (*NegationQuery) Marshal

func (m *NegationQuery) Marshal() (dAtA []byte, err error)

func (*NegationQuery) MarshalTo

func (m *NegationQuery) MarshalTo(dAtA []byte) (int, error)

func (*NegationQuery) ProtoMessage

func (*NegationQuery) ProtoMessage()

func (*NegationQuery) Reset

func (m *NegationQuery) Reset()

func (*NegationQuery) Size

func (m *NegationQuery) Size() (n int)

func (*NegationQuery) String

func (m *NegationQuery) String() string

func (*NegationQuery) Unmarshal

func (m *NegationQuery) Unmarshal(dAtA []byte) error

type Query

type Query struct {
	// Types that are valid to be assigned to Query:
	//	*Query_Term
	//	*Query_Regexp
	//	*Query_Negation
	//	*Query_Conjunction
	//	*Query_Disjunction
	//	*Query_All
	//	*Query_Field
	Query isQuery_Query `protobuf_oneof:"query"`
}

func (*Query) Descriptor

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

func (*Query) GetAll added in v0.7.3

func (m *Query) GetAll() *AllQuery

func (*Query) GetConjunction

func (m *Query) GetConjunction() *ConjunctionQuery

func (*Query) GetDisjunction

func (m *Query) GetDisjunction() *DisjunctionQuery

func (*Query) GetField added in v0.8.1

func (m *Query) GetField() *FieldQuery

func (*Query) GetNegation

func (m *Query) GetNegation() *NegationQuery

func (*Query) GetQuery

func (m *Query) GetQuery() isQuery_Query

func (*Query) GetRegexp

func (m *Query) GetRegexp() *RegexpQuery

func (*Query) GetTerm

func (m *Query) GetTerm() *TermQuery

func (*Query) Marshal

func (m *Query) Marshal() (dAtA []byte, err error)

func (*Query) MarshalTo

func (m *Query) MarshalTo(dAtA []byte) (int, error)

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (m *Query) Reset()

func (*Query) Size

func (m *Query) Size() (n int)

func (*Query) String

func (m *Query) String() string

func (*Query) Unmarshal

func (m *Query) Unmarshal(dAtA []byte) error

func (*Query) XXX_OneofFuncs

func (*Query) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Query_All added in v0.7.3

type Query_All struct {
	All *AllQuery `protobuf:"bytes,6,opt,name=all,oneof"`
}

func (*Query_All) MarshalTo added in v0.7.3

func (m *Query_All) MarshalTo(dAtA []byte) (int, error)

func (*Query_All) Size added in v0.7.3

func (m *Query_All) Size() (n int)

type Query_Conjunction

type Query_Conjunction struct {
	Conjunction *ConjunctionQuery `protobuf:"bytes,4,opt,name=conjunction,oneof"`
}

func (*Query_Conjunction) MarshalTo

func (m *Query_Conjunction) MarshalTo(dAtA []byte) (int, error)

func (*Query_Conjunction) Size

func (m *Query_Conjunction) Size() (n int)

type Query_Disjunction

type Query_Disjunction struct {
	Disjunction *DisjunctionQuery `protobuf:"bytes,5,opt,name=disjunction,oneof"`
}

func (*Query_Disjunction) MarshalTo

func (m *Query_Disjunction) MarshalTo(dAtA []byte) (int, error)

func (*Query_Disjunction) Size

func (m *Query_Disjunction) Size() (n int)

type Query_Field added in v0.8.1

type Query_Field struct {
	Field *FieldQuery `protobuf:"bytes,7,opt,name=field,oneof"`
}

func (*Query_Field) MarshalTo added in v0.8.1

func (m *Query_Field) MarshalTo(dAtA []byte) (int, error)

func (*Query_Field) Size added in v0.8.1

func (m *Query_Field) Size() (n int)

type Query_Negation

type Query_Negation struct {
	Negation *NegationQuery `protobuf:"bytes,3,opt,name=negation,oneof"`
}

func (*Query_Negation) MarshalTo

func (m *Query_Negation) MarshalTo(dAtA []byte) (int, error)

func (*Query_Negation) Size

func (m *Query_Negation) Size() (n int)

type Query_Regexp

type Query_Regexp struct {
	Regexp *RegexpQuery `protobuf:"bytes,2,opt,name=regexp,oneof"`
}

func (*Query_Regexp) MarshalTo

func (m *Query_Regexp) MarshalTo(dAtA []byte) (int, error)

func (*Query_Regexp) Size

func (m *Query_Regexp) Size() (n int)

type Query_Term

type Query_Term struct {
	Term *TermQuery `protobuf:"bytes,1,opt,name=term,oneof"`
}

func (*Query_Term) MarshalTo

func (m *Query_Term) MarshalTo(dAtA []byte) (int, error)

func (*Query_Term) Size

func (m *Query_Term) Size() (n int)

type RegexpQuery

type RegexpQuery struct {
	Field  []byte `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Regexp []byte `protobuf:"bytes,2,opt,name=regexp,proto3" json:"regexp,omitempty"`
}

func (*RegexpQuery) Descriptor

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

func (*RegexpQuery) GetField

func (m *RegexpQuery) GetField() []byte

func (*RegexpQuery) GetRegexp

func (m *RegexpQuery) GetRegexp() []byte

func (*RegexpQuery) Marshal

func (m *RegexpQuery) Marshal() (dAtA []byte, err error)

func (*RegexpQuery) MarshalTo

func (m *RegexpQuery) MarshalTo(dAtA []byte) (int, error)

func (*RegexpQuery) ProtoMessage

func (*RegexpQuery) ProtoMessage()

func (*RegexpQuery) Reset

func (m *RegexpQuery) Reset()

func (*RegexpQuery) Size

func (m *RegexpQuery) Size() (n int)

func (*RegexpQuery) String

func (m *RegexpQuery) String() string

func (*RegexpQuery) Unmarshal

func (m *RegexpQuery) Unmarshal(dAtA []byte) error

type TermQuery

type TermQuery struct {
	Field []byte `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Term  []byte `protobuf:"bytes,2,opt,name=term,proto3" json:"term,omitempty"`
}

func (*TermQuery) Descriptor

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

func (*TermQuery) GetField

func (m *TermQuery) GetField() []byte

func (*TermQuery) GetTerm

func (m *TermQuery) GetTerm() []byte

func (*TermQuery) Marshal

func (m *TermQuery) Marshal() (dAtA []byte, err error)

func (*TermQuery) MarshalTo

func (m *TermQuery) MarshalTo(dAtA []byte) (int, error)

func (*TermQuery) ProtoMessage

func (*TermQuery) ProtoMessage()

func (*TermQuery) Reset

func (m *TermQuery) Reset()

func (*TermQuery) Size

func (m *TermQuery) Size() (n int)

func (*TermQuery) String

func (m *TermQuery) String() string

func (*TermQuery) Unmarshal

func (m *TermQuery) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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