querypb

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 5 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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:

TermQuery
RegexpQuery
NegationQuery
ConjunctionQuery
DisjunctionQuery
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 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 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 isQuery_Query `protobuf_oneof:"query"`
}

func (*Query) Descriptor

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

func (*Query) GetConjunction

func (m *Query) GetConjunction() *ConjunctionQuery

func (*Query) GetDisjunction

func (m *Query) GetDisjunction() *DisjunctionQuery

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_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_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