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 ¶
- Variables
- type AllQuery
- func (*AllQuery) Descriptor() ([]byte, []int)
- func (m *AllQuery) Marshal() (dAtA []byte, err error)
- func (m *AllQuery) MarshalTo(dAtA []byte) (int, error)
- func (*AllQuery) ProtoMessage()
- func (m *AllQuery) Reset()
- func (m *AllQuery) Size() (n int)
- func (m *AllQuery) String() string
- func (m *AllQuery) Unmarshal(dAtA []byte) error
- type ConjunctionQuery
- func (*ConjunctionQuery) Descriptor() ([]byte, []int)
- func (m *ConjunctionQuery) GetQueries() []*Query
- func (m *ConjunctionQuery) Marshal() (dAtA []byte, err error)
- func (m *ConjunctionQuery) MarshalTo(dAtA []byte) (int, error)
- func (*ConjunctionQuery) ProtoMessage()
- func (m *ConjunctionQuery) Reset()
- func (m *ConjunctionQuery) Size() (n int)
- func (m *ConjunctionQuery) String() string
- func (m *ConjunctionQuery) Unmarshal(dAtA []byte) error
- type DisjunctionQuery
- func (*DisjunctionQuery) Descriptor() ([]byte, []int)
- func (m *DisjunctionQuery) GetQueries() []*Query
- func (m *DisjunctionQuery) Marshal() (dAtA []byte, err error)
- func (m *DisjunctionQuery) MarshalTo(dAtA []byte) (int, error)
- func (*DisjunctionQuery) ProtoMessage()
- func (m *DisjunctionQuery) Reset()
- func (m *DisjunctionQuery) Size() (n int)
- func (m *DisjunctionQuery) String() string
- func (m *DisjunctionQuery) Unmarshal(dAtA []byte) error
- type FieldQuery
- func (*FieldQuery) Descriptor() ([]byte, []int)
- func (m *FieldQuery) GetField() []byte
- func (m *FieldQuery) Marshal() (dAtA []byte, err error)
- func (m *FieldQuery) MarshalTo(dAtA []byte) (int, error)
- func (*FieldQuery) ProtoMessage()
- func (m *FieldQuery) Reset()
- func (m *FieldQuery) Size() (n int)
- func (m *FieldQuery) String() string
- func (m *FieldQuery) Unmarshal(dAtA []byte) error
- type NegationQuery
- func (*NegationQuery) Descriptor() ([]byte, []int)
- func (m *NegationQuery) GetQuery() *Query
- func (m *NegationQuery) Marshal() (dAtA []byte, err error)
- func (m *NegationQuery) MarshalTo(dAtA []byte) (int, error)
- func (*NegationQuery) ProtoMessage()
- func (m *NegationQuery) Reset()
- func (m *NegationQuery) Size() (n int)
- func (m *NegationQuery) String() string
- func (m *NegationQuery) Unmarshal(dAtA []byte) error
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetAll() *AllQuery
- func (m *Query) GetConjunction() *ConjunctionQuery
- func (m *Query) GetDisjunction() *DisjunctionQuery
- func (m *Query) GetField() *FieldQuery
- func (m *Query) GetNegation() *NegationQuery
- func (m *Query) GetQuery() isQuery_Query
- func (m *Query) GetRegexp() *RegexpQuery
- func (m *Query) GetTerm() *TermQuery
- func (m *Query) Marshal() (dAtA []byte, err error)
- func (m *Query) MarshalTo(dAtA []byte) (int, error)
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) Size() (n int)
- func (m *Query) String() string
- func (m *Query) Unmarshal(dAtA []byte) error
- func (*Query) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Query_All
- type Query_Conjunction
- type Query_Disjunction
- type Query_Field
- type Query_Negation
- type Query_Regexp
- type Query_Term
- type RegexpQuery
- func (*RegexpQuery) Descriptor() ([]byte, []int)
- func (m *RegexpQuery) GetField() []byte
- func (m *RegexpQuery) GetRegexp() []byte
- func (m *RegexpQuery) Marshal() (dAtA []byte, err error)
- func (m *RegexpQuery) MarshalTo(dAtA []byte) (int, error)
- func (*RegexpQuery) ProtoMessage()
- func (m *RegexpQuery) Reset()
- func (m *RegexpQuery) Size() (n int)
- func (m *RegexpQuery) String() string
- func (m *RegexpQuery) Unmarshal(dAtA []byte) error
- type TermQuery
- func (*TermQuery) Descriptor() ([]byte, []int)
- func (m *TermQuery) GetField() []byte
- func (m *TermQuery) GetTerm() []byte
- func (m *TermQuery) Marshal() (dAtA []byte, err error)
- func (m *TermQuery) MarshalTo(dAtA []byte) (int, error)
- func (*TermQuery) ProtoMessage()
- func (m *TermQuery) Reset()
- func (m *TermQuery) Size() (n int)
- func (m *TermQuery) String() string
- func (m *TermQuery) Unmarshal(dAtA []byte) error
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) ProtoMessage ¶ added in v0.7.3
func (*AllQuery) ProtoMessage()
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) 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) 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) 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) 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) GetRegexp ¶
func (m *Query) GetRegexp() *RegexpQuery
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
type Query_All ¶ added in v0.7.3
type Query_All struct {
All *AllQuery `protobuf:"bytes,6,opt,name=all,oneof"`
}
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) 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) 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) 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) 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) ProtoMessage ¶
func (*TermQuery) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.