filters

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFilters        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFilters          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFilters = fmt.Errorf("proto: unexpected end of group")
)
View Source
var BoolFilterOp_name = map[int32]string{
	0: "OR",
	1: "AND",
	2: "NOT",
}
View Source
var BoolFilterOp_value = map[string]int32{
	"OR":  0,
	"AND": 1,
	"NOT": 2,
}

Functions

This section is empty.

Types

type BoolFilter added in v0.26.0

type BoolFilter struct {
	Op      BoolFilterOp `protobuf:"varint,1,opt,name=Op,proto3,enum=filters.BoolFilterOp" json:"Op,omitempty"`
	Filters []*Filter    `protobuf:"bytes,2,rep,name=Filters,proto3" json:"Filters,omitempty"`
}

func (*BoolFilter) Descriptor added in v0.26.0

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

func (*BoolFilter) Eval added in v0.26.0

func (b *BoolFilter) Eval(g common.Getter) bool

Eval evaluates a boolean (not, and, or) filter

func (*BoolFilter) GetFilters added in v0.26.0

func (m *BoolFilter) GetFilters() []*Filter

func (*BoolFilter) GetOp added in v0.26.0

func (m *BoolFilter) GetOp() BoolFilterOp

func (*BoolFilter) Marshal added in v0.26.0

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

func (*BoolFilter) MarshalTo added in v0.26.0

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

func (*BoolFilter) MarshalToSizedBuffer added in v0.26.0

func (m *BoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BoolFilter) ProtoMessage added in v0.26.0

func (*BoolFilter) ProtoMessage()

func (*BoolFilter) ProtoSize added in v0.26.0

func (m *BoolFilter) ProtoSize() (n int)

func (*BoolFilter) Reset added in v0.26.0

func (m *BoolFilter) Reset()

func (*BoolFilter) String added in v0.26.0

func (m *BoolFilter) String() string

func (*BoolFilter) Unmarshal added in v0.26.0

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

func (*BoolFilter) XXX_DiscardUnknown added in v0.26.0

func (m *BoolFilter) XXX_DiscardUnknown()

func (*BoolFilter) XXX_Marshal added in v0.26.0

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

func (*BoolFilter) XXX_Merge added in v0.26.0

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

func (*BoolFilter) XXX_Size added in v0.26.0

func (m *BoolFilter) XXX_Size() int

func (*BoolFilter) XXX_Unmarshal added in v0.26.0

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

type BoolFilterOp added in v0.26.0

type BoolFilterOp int32
const (
	BoolFilterOp_OR  BoolFilterOp = 0
	BoolFilterOp_AND BoolFilterOp = 1
	BoolFilterOp_NOT BoolFilterOp = 2
)

func (BoolFilterOp) EnumDescriptor added in v0.26.0

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

func (BoolFilterOp) String added in v0.26.0

func (x BoolFilterOp) String() string

type Filter added in v0.26.0

type Filter struct {
	TermStringFilter *TermStringFilter `protobuf:"bytes,1,opt,name=TermStringFilter,proto3" json:"TermStringFilter,omitempty"`
	TermInt64Filter  *TermInt64Filter  `protobuf:"bytes,2,opt,name=TermInt64Filter,proto3" json:"TermInt64Filter,omitempty"`
	TermBoolFilter   *TermBoolFilter   `protobuf:"bytes,3,opt,name=TermBoolFilter,proto3" json:"TermBoolFilter,omitempty"`
	GtInt64Filter    *GtInt64Filter    `protobuf:"bytes,4,opt,name=GtInt64Filter,proto3" json:"GtInt64Filter,omitempty"`
	LtInt64Filter    *LtInt64Filter    `protobuf:"bytes,5,opt,name=LtInt64Filter,proto3" json:"LtInt64Filter,omitempty"`
	GteInt64Filter   *GteInt64Filter   `protobuf:"bytes,6,opt,name=GteInt64Filter,proto3" json:"GteInt64Filter,omitempty"`
	LteInt64Filter   *LteInt64Filter   `protobuf:"bytes,7,opt,name=LteInt64Filter,proto3" json:"LteInt64Filter,omitempty"`
	BoolFilter       *BoolFilter       `protobuf:"bytes,8,opt,name=BoolFilter,proto3" json:"BoolFilter,omitempty"`
	RegexFilter      *RegexFilter      `protobuf:"bytes,9,opt,name=RegexFilter,proto3" json:"RegexFilter,omitempty"`
	NullFilter       *NullFilter       `protobuf:"bytes,10,opt,name=NullFilter,proto3" json:"NullFilter,omitempty"`
	IPV4RangeFilter  *IPV4RangeFilter  `protobuf:"bytes,11,opt,name=IPV4RangeFilter,proto3" json:"IPV4RangeFilter,omitempty"`
}

func NewAndFilter added in v0.26.0

func NewAndFilter(filters ...*Filter) *Filter

NewAndFilter creates a new boolean And filter

func NewBoolFilter added in v0.26.0

func NewBoolFilter(op BoolFilterOp, filters ...*Filter) *Filter

NewBoolFilter creates a new boolean filter

func NewFilterActiveIn added in v0.26.0

func NewFilterActiveIn(fr Range, prefix string) *Filter

NewFilterActiveIn returns a filter that returns elements that were active in the given time range.

func NewFilterIncludedIn added in v0.26.0

func NewFilterIncludedIn(fr Range, prefix string) *Filter

NewFilterIncludedIn returns a filter that returns elements that include in the time range.

func NewGtInt64Filter added in v0.26.0

func NewGtInt64Filter(key string, value int64) *Filter

NewGtInt64Filter creates a new > filter

func NewGteInt64Filter added in v0.26.0

func NewGteInt64Filter(key string, value int64) *Filter

NewGteInt64Filter creates a new >= filter

func NewLtInt64Filter added in v0.26.0

func NewLtInt64Filter(key string, value int64) *Filter

NewLtInt64Filter creates a new < filter

func NewLteInt64Filter added in v0.26.0

func NewLteInt64Filter(key string, value int64) *Filter

NewLteInt64Filter creates a new <= filter

func NewNotFilter added in v0.26.0

func NewNotFilter(filter *Filter) *Filter

NewNotFilter creates a new boolean Not filter

func NewNotNullFilter added in v0.26.0

func NewNotNullFilter(key string) *Filter

NewNotNullFilter returns a filter that returns elements with a field set.

func NewNullFilter added in v0.26.0

func NewNullFilter(key string) *Filter

NewNullFilter creates a new null filter

func NewOrFilter added in v0.26.0

func NewOrFilter(filters ...*Filter) *Filter

NewOrFilter creates a new boolean Or filter

func NewOrTermStringFilter added in v0.26.0

func NewOrTermStringFilter(values []string, attrs ...string) *Filter

NewOrTermStringFilter creates a new "or" filter based on values and attributes

func NewTermBoolFilter added in v0.26.0

func NewTermBoolFilter(key string, value bool) *Filter

NewTermBoolFilter creates a new bool filter

func NewTermInt64Filter added in v0.26.0

func NewTermInt64Filter(key string, value int64) *Filter

NewTermInt64Filter creates a new string iny64 filter

func NewTermStringFilter added in v0.26.0

func NewTermStringFilter(key string, value string) *Filter

NewTermStringFilter creates a new string filter

func (*Filter) Descriptor added in v0.26.0

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

func (*Filter) Eval added in v0.26.0

func (f *Filter) Eval(g common.Getter) bool

Eval evaluates a filter

func (*Filter) GetBoolFilter added in v0.26.0

func (m *Filter) GetBoolFilter() *BoolFilter

func (*Filter) GetGtInt64Filter added in v0.26.0

func (m *Filter) GetGtInt64Filter() *GtInt64Filter

func (*Filter) GetGteInt64Filter added in v0.26.0

func (m *Filter) GetGteInt64Filter() *GteInt64Filter

func (*Filter) GetIPV4RangeFilter added in v0.26.0

func (m *Filter) GetIPV4RangeFilter() *IPV4RangeFilter

func (*Filter) GetLtInt64Filter added in v0.26.0

func (m *Filter) GetLtInt64Filter() *LtInt64Filter

func (*Filter) GetLteInt64Filter added in v0.26.0

func (m *Filter) GetLteInt64Filter() *LteInt64Filter

func (*Filter) GetNullFilter added in v0.26.0

func (m *Filter) GetNullFilter() *NullFilter

func (*Filter) GetRegexFilter added in v0.26.0

func (m *Filter) GetRegexFilter() *RegexFilter

func (*Filter) GetTermBoolFilter added in v0.26.0

func (m *Filter) GetTermBoolFilter() *TermBoolFilter

func (*Filter) GetTermInt64Filter added in v0.26.0

func (m *Filter) GetTermInt64Filter() *TermInt64Filter

func (*Filter) GetTermStringFilter added in v0.26.0

func (m *Filter) GetTermStringFilter() *TermStringFilter

func (*Filter) Marshal added in v0.26.0

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

func (*Filter) MarshalTo added in v0.26.0

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

func (*Filter) MarshalToSizedBuffer added in v0.26.0

func (m *Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Filter) ProtoMessage added in v0.26.0

func (*Filter) ProtoMessage()

func (*Filter) ProtoSize added in v0.26.0

func (m *Filter) ProtoSize() (n int)

func (*Filter) Reset added in v0.26.0

func (m *Filter) Reset()

func (*Filter) String added in v0.26.0

func (m *Filter) String() string

func (*Filter) Unmarshal added in v0.26.0

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

func (*Filter) XXX_DiscardUnknown added in v0.26.0

func (m *Filter) XXX_DiscardUnknown()

func (*Filter) XXX_Marshal added in v0.26.0

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

func (*Filter) XXX_Merge added in v0.26.0

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

func (*Filter) XXX_Size added in v0.26.0

func (m *Filter) XXX_Size() int

func (*Filter) XXX_Unmarshal added in v0.26.0

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

type GtInt64Filter added in v0.26.0

type GtInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*GtInt64Filter) Descriptor added in v0.26.0

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

func (*GtInt64Filter) GetKey added in v0.26.0

func (m *GtInt64Filter) GetKey() string

func (*GtInt64Filter) GetValue added in v0.26.0

func (m *GtInt64Filter) GetValue() int64

func (*GtInt64Filter) Marshal added in v0.26.0

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

func (*GtInt64Filter) MarshalTo added in v0.26.0

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

func (*GtInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *GtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GtInt64Filter) ProtoMessage added in v0.26.0

func (*GtInt64Filter) ProtoMessage()

func (*GtInt64Filter) ProtoSize added in v0.26.0

func (m *GtInt64Filter) ProtoSize() (n int)

func (*GtInt64Filter) Reset added in v0.26.0

func (m *GtInt64Filter) Reset()

func (*GtInt64Filter) String added in v0.26.0

func (m *GtInt64Filter) String() string

func (*GtInt64Filter) Unmarshal added in v0.26.0

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

func (*GtInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *GtInt64Filter) XXX_DiscardUnknown()

func (*GtInt64Filter) XXX_Marshal added in v0.26.0

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

func (*GtInt64Filter) XXX_Merge added in v0.26.0

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

func (*GtInt64Filter) XXX_Size added in v0.26.0

func (m *GtInt64Filter) XXX_Size() int

func (*GtInt64Filter) XXX_Unmarshal added in v0.26.0

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

type GteInt64Filter added in v0.26.0

type GteInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*GteInt64Filter) Descriptor added in v0.26.0

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

func (*GteInt64Filter) GetKey added in v0.26.0

func (m *GteInt64Filter) GetKey() string

func (*GteInt64Filter) GetValue added in v0.26.0

func (m *GteInt64Filter) GetValue() int64

func (*GteInt64Filter) Marshal added in v0.26.0

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

func (*GteInt64Filter) MarshalTo added in v0.26.0

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

func (*GteInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *GteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GteInt64Filter) ProtoMessage added in v0.26.0

func (*GteInt64Filter) ProtoMessage()

func (*GteInt64Filter) ProtoSize added in v0.26.0

func (m *GteInt64Filter) ProtoSize() (n int)

func (*GteInt64Filter) Reset added in v0.26.0

func (m *GteInt64Filter) Reset()

func (*GteInt64Filter) String added in v0.26.0

func (m *GteInt64Filter) String() string

func (*GteInt64Filter) Unmarshal added in v0.26.0

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

func (*GteInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *GteInt64Filter) XXX_DiscardUnknown()

func (*GteInt64Filter) XXX_Marshal added in v0.26.0

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

func (*GteInt64Filter) XXX_Merge added in v0.26.0

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

func (*GteInt64Filter) XXX_Size added in v0.26.0

func (m *GteInt64Filter) XXX_Size() int

func (*GteInt64Filter) XXX_Unmarshal added in v0.26.0

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

type IPV4RangeFilter added in v0.26.0

type IPV4RangeFilter 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"`
}

func NewIPV4RangeFilter added in v0.26.0

func NewIPV4RangeFilter(key, cidr string) (*IPV4RangeFilter, error)

NewIPV4RangeFilter creates a regex based filter corresponding to the ip range

func (*IPV4RangeFilter) Descriptor added in v0.26.0

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

func (*IPV4RangeFilter) GetKey added in v0.26.0

func (m *IPV4RangeFilter) GetKey() string

func (*IPV4RangeFilter) GetValue added in v0.26.0

func (m *IPV4RangeFilter) GetValue() string

func (*IPV4RangeFilter) Marshal added in v0.26.0

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

func (*IPV4RangeFilter) MarshalTo added in v0.26.0

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

func (*IPV4RangeFilter) MarshalToSizedBuffer added in v0.26.0

func (m *IPV4RangeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPV4RangeFilter) ProtoMessage added in v0.26.0

func (*IPV4RangeFilter) ProtoMessage()

func (*IPV4RangeFilter) ProtoSize added in v0.26.0

func (m *IPV4RangeFilter) ProtoSize() (n int)

func (*IPV4RangeFilter) Reset added in v0.26.0

func (m *IPV4RangeFilter) Reset()

func (*IPV4RangeFilter) String added in v0.26.0

func (m *IPV4RangeFilter) String() string

func (*IPV4RangeFilter) Unmarshal added in v0.26.0

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

func (*IPV4RangeFilter) XXX_DiscardUnknown added in v0.26.0

func (m *IPV4RangeFilter) XXX_DiscardUnknown()

func (*IPV4RangeFilter) XXX_Marshal added in v0.26.0

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

func (*IPV4RangeFilter) XXX_Merge added in v0.26.0

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

func (*IPV4RangeFilter) XXX_Size added in v0.26.0

func (m *IPV4RangeFilter) XXX_Size() int

func (*IPV4RangeFilter) XXX_Unmarshal added in v0.26.0

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

type LtInt64Filter added in v0.26.0

type LtInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*LtInt64Filter) Descriptor added in v0.26.0

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

func (*LtInt64Filter) GetKey added in v0.26.0

func (m *LtInt64Filter) GetKey() string

func (*LtInt64Filter) GetValue added in v0.26.0

func (m *LtInt64Filter) GetValue() int64

func (*LtInt64Filter) Marshal added in v0.26.0

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

func (*LtInt64Filter) MarshalTo added in v0.26.0

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

func (*LtInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *LtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LtInt64Filter) ProtoMessage added in v0.26.0

func (*LtInt64Filter) ProtoMessage()

func (*LtInt64Filter) ProtoSize added in v0.26.0

func (m *LtInt64Filter) ProtoSize() (n int)

func (*LtInt64Filter) Reset added in v0.26.0

func (m *LtInt64Filter) Reset()

func (*LtInt64Filter) String added in v0.26.0

func (m *LtInt64Filter) String() string

func (*LtInt64Filter) Unmarshal added in v0.26.0

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

func (*LtInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *LtInt64Filter) XXX_DiscardUnknown()

func (*LtInt64Filter) XXX_Marshal added in v0.26.0

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

func (*LtInt64Filter) XXX_Merge added in v0.26.0

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

func (*LtInt64Filter) XXX_Size added in v0.26.0

func (m *LtInt64Filter) XXX_Size() int

func (*LtInt64Filter) XXX_Unmarshal added in v0.26.0

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

type LteInt64Filter added in v0.26.0

type LteInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*LteInt64Filter) Descriptor added in v0.26.0

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

func (*LteInt64Filter) GetKey added in v0.26.0

func (m *LteInt64Filter) GetKey() string

func (*LteInt64Filter) GetValue added in v0.26.0

func (m *LteInt64Filter) GetValue() int64

func (*LteInt64Filter) Marshal added in v0.26.0

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

func (*LteInt64Filter) MarshalTo added in v0.26.0

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

func (*LteInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *LteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LteInt64Filter) ProtoMessage added in v0.26.0

func (*LteInt64Filter) ProtoMessage()

func (*LteInt64Filter) ProtoSize added in v0.26.0

func (m *LteInt64Filter) ProtoSize() (n int)

func (*LteInt64Filter) Reset added in v0.26.0

func (m *LteInt64Filter) Reset()

func (*LteInt64Filter) String added in v0.26.0

func (m *LteInt64Filter) String() string

func (*LteInt64Filter) Unmarshal added in v0.26.0

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

func (*LteInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *LteInt64Filter) XXX_DiscardUnknown()

func (*LteInt64Filter) XXX_Marshal added in v0.26.0

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

func (*LteInt64Filter) XXX_Merge added in v0.26.0

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

func (*LteInt64Filter) XXX_Size added in v0.26.0

func (m *LteInt64Filter) XXX_Size() int

func (*LteInt64Filter) XXX_Unmarshal added in v0.26.0

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

type NeInt64Filter added in v0.26.0

type NeInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*NeInt64Filter) Descriptor added in v0.26.0

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

func (*NeInt64Filter) GetKey added in v0.26.0

func (m *NeInt64Filter) GetKey() string

func (*NeInt64Filter) GetValue added in v0.26.0

func (m *NeInt64Filter) GetValue() int64

func (*NeInt64Filter) Marshal added in v0.26.0

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

func (*NeInt64Filter) MarshalTo added in v0.26.0

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

func (*NeInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *NeInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NeInt64Filter) ProtoMessage added in v0.26.0

func (*NeInt64Filter) ProtoMessage()

func (*NeInt64Filter) ProtoSize added in v0.26.0

func (m *NeInt64Filter) ProtoSize() (n int)

func (*NeInt64Filter) Reset added in v0.26.0

func (m *NeInt64Filter) Reset()

func (*NeInt64Filter) String added in v0.26.0

func (m *NeInt64Filter) String() string

func (*NeInt64Filter) Unmarshal added in v0.26.0

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

func (*NeInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *NeInt64Filter) XXX_DiscardUnknown()

func (*NeInt64Filter) XXX_Marshal added in v0.26.0

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

func (*NeInt64Filter) XXX_Merge added in v0.26.0

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

func (*NeInt64Filter) XXX_Size added in v0.26.0

func (m *NeInt64Filter) XXX_Size() int

func (*NeInt64Filter) XXX_Unmarshal added in v0.26.0

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

type NeStringFilter added in v0.26.0

type NeStringFilter 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"`
}

func (*NeStringFilter) Descriptor added in v0.26.0

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

func (*NeStringFilter) GetKey added in v0.26.0

func (m *NeStringFilter) GetKey() string

func (*NeStringFilter) GetValue added in v0.26.0

func (m *NeStringFilter) GetValue() string

func (*NeStringFilter) Marshal added in v0.26.0

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

func (*NeStringFilter) MarshalTo added in v0.26.0

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

func (*NeStringFilter) MarshalToSizedBuffer added in v0.26.0

func (m *NeStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NeStringFilter) ProtoMessage added in v0.26.0

func (*NeStringFilter) ProtoMessage()

func (*NeStringFilter) ProtoSize added in v0.26.0

func (m *NeStringFilter) ProtoSize() (n int)

func (*NeStringFilter) Reset added in v0.26.0

func (m *NeStringFilter) Reset()

func (*NeStringFilter) String added in v0.26.0

func (m *NeStringFilter) String() string

func (*NeStringFilter) Unmarshal added in v0.26.0

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

func (*NeStringFilter) XXX_DiscardUnknown added in v0.26.0

func (m *NeStringFilter) XXX_DiscardUnknown()

func (*NeStringFilter) XXX_Marshal added in v0.26.0

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

func (*NeStringFilter) XXX_Merge added in v0.26.0

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

func (*NeStringFilter) XXX_Size added in v0.26.0

func (m *NeStringFilter) XXX_Size() int

func (*NeStringFilter) XXX_Unmarshal added in v0.26.0

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

type NullFilter added in v0.26.0

type NullFilter struct {
	Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
}

func (*NullFilter) Descriptor added in v0.26.0

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

func (*NullFilter) GetKey added in v0.26.0

func (m *NullFilter) GetKey() string

func (*NullFilter) Marshal added in v0.26.0

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

func (*NullFilter) MarshalTo added in v0.26.0

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

func (*NullFilter) MarshalToSizedBuffer added in v0.26.0

func (m *NullFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NullFilter) ProtoMessage added in v0.26.0

func (*NullFilter) ProtoMessage()

func (*NullFilter) ProtoSize added in v0.26.0

func (m *NullFilter) ProtoSize() (n int)

func (*NullFilter) Reset added in v0.26.0

func (m *NullFilter) Reset()

func (*NullFilter) String added in v0.26.0

func (m *NullFilter) String() string

func (*NullFilter) Unmarshal added in v0.26.0

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

func (*NullFilter) XXX_DiscardUnknown added in v0.26.0

func (m *NullFilter) XXX_DiscardUnknown()

func (*NullFilter) XXX_Marshal added in v0.26.0

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

func (*NullFilter) XXX_Merge added in v0.26.0

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

func (*NullFilter) XXX_Size added in v0.26.0

func (m *NullFilter) XXX_Size() int

func (*NullFilter) XXX_Unmarshal added in v0.26.0

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

type Range added in v0.26.0

type Range struct {
	From int64 `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"`
	To   int64 `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"`
}

func (*Range) Descriptor added in v0.26.0

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

func (*Range) GetFrom added in v0.26.0

func (m *Range) GetFrom() int64

func (*Range) GetTo added in v0.26.0

func (m *Range) GetTo() int64

func (*Range) Marshal added in v0.26.0

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

func (*Range) MarshalTo added in v0.26.0

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

func (*Range) MarshalToSizedBuffer added in v0.26.0

func (m *Range) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Range) ProtoMessage added in v0.26.0

func (*Range) ProtoMessage()

func (*Range) ProtoSize added in v0.26.0

func (m *Range) ProtoSize() (n int)

func (*Range) Reset added in v0.26.0

func (m *Range) Reset()

func (*Range) String added in v0.26.0

func (m *Range) String() string

func (*Range) Unmarshal added in v0.26.0

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

func (*Range) XXX_DiscardUnknown added in v0.26.0

func (m *Range) XXX_DiscardUnknown()

func (*Range) XXX_Marshal added in v0.26.0

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

func (*Range) XXX_Merge added in v0.26.0

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

func (*Range) XXX_Size added in v0.26.0

func (m *Range) XXX_Size() int

func (*Range) XXX_Unmarshal added in v0.26.0

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

type RegexFilter added in v0.26.0

type RegexFilter 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"`
}

func NewRegexFilter added in v0.26.0

func NewRegexFilter(key string, pattern string) (*RegexFilter, error)

NewRegexFilter returns a new regular expression based filter

func (*RegexFilter) Descriptor added in v0.26.0

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

func (*RegexFilter) GetKey added in v0.26.0

func (m *RegexFilter) GetKey() string

func (*RegexFilter) GetValue added in v0.26.0

func (m *RegexFilter) GetValue() string

func (*RegexFilter) Marshal added in v0.26.0

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

func (*RegexFilter) MarshalTo added in v0.26.0

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

func (*RegexFilter) MarshalToSizedBuffer added in v0.26.0

func (m *RegexFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegexFilter) ProtoMessage added in v0.26.0

func (*RegexFilter) ProtoMessage()

func (*RegexFilter) ProtoSize added in v0.26.0

func (m *RegexFilter) ProtoSize() (n int)

func (*RegexFilter) Reset added in v0.26.0

func (m *RegexFilter) Reset()

func (*RegexFilter) String added in v0.26.0

func (m *RegexFilter) String() string

func (*RegexFilter) Unmarshal added in v0.26.0

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

func (*RegexFilter) XXX_DiscardUnknown added in v0.26.0

func (m *RegexFilter) XXX_DiscardUnknown()

func (*RegexFilter) XXX_Marshal added in v0.26.0

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

func (*RegexFilter) XXX_Merge added in v0.26.0

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

func (*RegexFilter) XXX_Size added in v0.26.0

func (m *RegexFilter) XXX_Size() int

func (*RegexFilter) XXX_Unmarshal added in v0.26.0

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

type SearchQuery added in v0.26.0

type SearchQuery struct {
	Filter          *Filter `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
	PaginationRange *Range  `protobuf:"bytes,2,opt,name=PaginationRange,proto3" json:"PaginationRange,omitempty"`
	Sort            bool    `protobuf:"varint,3,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Dedup           bool    `protobuf:"varint,4,opt,name=Dedup,proto3" json:"Dedup,omitempty"`
	DedupBy         string  `protobuf:"bytes,5,opt,name=DedupBy,proto3" json:"DedupBy,omitempty"`
	SortBy          string  `protobuf:"bytes,6,opt,name=SortBy,proto3" json:"SortBy,omitempty"`
	SortOrder       string  `protobuf:"bytes,7,opt,name=SortOrder,proto3" json:"SortOrder,omitempty"`
}

func (*SearchQuery) Descriptor added in v0.26.0

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

func (*SearchQuery) GetDedup added in v0.26.0

func (m *SearchQuery) GetDedup() bool

func (*SearchQuery) GetDedupBy added in v0.26.0

func (m *SearchQuery) GetDedupBy() string

func (*SearchQuery) GetFilter added in v0.26.0

func (m *SearchQuery) GetFilter() *Filter

func (*SearchQuery) GetPaginationRange added in v0.26.0

func (m *SearchQuery) GetPaginationRange() *Range

func (*SearchQuery) GetSort added in v0.26.0

func (m *SearchQuery) GetSort() bool

func (*SearchQuery) GetSortBy added in v0.26.0

func (m *SearchQuery) GetSortBy() string

func (*SearchQuery) GetSortOrder added in v0.26.0

func (m *SearchQuery) GetSortOrder() string

func (*SearchQuery) Marshal added in v0.26.0

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

func (*SearchQuery) MarshalTo added in v0.26.0

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

func (*SearchQuery) MarshalToSizedBuffer added in v0.26.0

func (m *SearchQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchQuery) ProtoMessage added in v0.26.0

func (*SearchQuery) ProtoMessage()

func (*SearchQuery) ProtoSize added in v0.26.0

func (m *SearchQuery) ProtoSize() (n int)

func (*SearchQuery) Reset added in v0.26.0

func (m *SearchQuery) Reset()

func (*SearchQuery) String added in v0.26.0

func (m *SearchQuery) String() string

func (*SearchQuery) Unmarshal added in v0.26.0

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

func (*SearchQuery) XXX_DiscardUnknown added in v0.26.0

func (m *SearchQuery) XXX_DiscardUnknown()

func (*SearchQuery) XXX_Marshal added in v0.26.0

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

func (*SearchQuery) XXX_Merge added in v0.26.0

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

func (*SearchQuery) XXX_Size added in v0.26.0

func (m *SearchQuery) XXX_Size() int

func (*SearchQuery) XXX_Unmarshal added in v0.26.0

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

type TermBoolFilter added in v0.26.0

type TermBoolFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value bool   `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*TermBoolFilter) Descriptor added in v0.26.0

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

func (*TermBoolFilter) GetKey added in v0.26.0

func (m *TermBoolFilter) GetKey() string

func (*TermBoolFilter) GetValue added in v0.26.0

func (m *TermBoolFilter) GetValue() bool

func (*TermBoolFilter) Marshal added in v0.26.0

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

func (*TermBoolFilter) MarshalTo added in v0.26.0

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

func (*TermBoolFilter) MarshalToSizedBuffer added in v0.26.0

func (m *TermBoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TermBoolFilter) ProtoMessage added in v0.26.0

func (*TermBoolFilter) ProtoMessage()

func (*TermBoolFilter) ProtoSize added in v0.26.0

func (m *TermBoolFilter) ProtoSize() (n int)

func (*TermBoolFilter) Reset added in v0.26.0

func (m *TermBoolFilter) Reset()

func (*TermBoolFilter) String added in v0.26.0

func (m *TermBoolFilter) String() string

func (*TermBoolFilter) Unmarshal added in v0.26.0

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

func (*TermBoolFilter) XXX_DiscardUnknown added in v0.26.0

func (m *TermBoolFilter) XXX_DiscardUnknown()

func (*TermBoolFilter) XXX_Marshal added in v0.26.0

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

func (*TermBoolFilter) XXX_Merge added in v0.26.0

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

func (*TermBoolFilter) XXX_Size added in v0.26.0

func (m *TermBoolFilter) XXX_Size() int

func (*TermBoolFilter) XXX_Unmarshal added in v0.26.0

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

type TermInt64Filter added in v0.26.0

type TermInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*TermInt64Filter) Descriptor added in v0.26.0

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

func (*TermInt64Filter) GetKey added in v0.26.0

func (m *TermInt64Filter) GetKey() string

func (*TermInt64Filter) GetValue added in v0.26.0

func (m *TermInt64Filter) GetValue() int64

func (*TermInt64Filter) Marshal added in v0.26.0

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

func (*TermInt64Filter) MarshalTo added in v0.26.0

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

func (*TermInt64Filter) MarshalToSizedBuffer added in v0.26.0

func (m *TermInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TermInt64Filter) ProtoMessage added in v0.26.0

func (*TermInt64Filter) ProtoMessage()

func (*TermInt64Filter) ProtoSize added in v0.26.0

func (m *TermInt64Filter) ProtoSize() (n int)

func (*TermInt64Filter) Reset added in v0.26.0

func (m *TermInt64Filter) Reset()

func (*TermInt64Filter) String added in v0.26.0

func (m *TermInt64Filter) String() string

func (*TermInt64Filter) Unmarshal added in v0.26.0

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

func (*TermInt64Filter) XXX_DiscardUnknown added in v0.26.0

func (m *TermInt64Filter) XXX_DiscardUnknown()

func (*TermInt64Filter) XXX_Marshal added in v0.26.0

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

func (*TermInt64Filter) XXX_Merge added in v0.26.0

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

func (*TermInt64Filter) XXX_Size added in v0.26.0

func (m *TermInt64Filter) XXX_Size() int

func (*TermInt64Filter) XXX_Unmarshal added in v0.26.0

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

type TermStringFilter added in v0.26.0

type TermStringFilter 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"`
}

func (*TermStringFilter) Descriptor added in v0.26.0

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

func (*TermStringFilter) GetKey added in v0.26.0

func (m *TermStringFilter) GetKey() string

func (*TermStringFilter) GetValue added in v0.26.0

func (m *TermStringFilter) GetValue() string

func (*TermStringFilter) Marshal added in v0.26.0

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

func (*TermStringFilter) MarshalTo added in v0.26.0

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

func (*TermStringFilter) MarshalToSizedBuffer added in v0.26.0

func (m *TermStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TermStringFilter) ProtoMessage added in v0.26.0

func (*TermStringFilter) ProtoMessage()

func (*TermStringFilter) ProtoSize added in v0.26.0

func (m *TermStringFilter) ProtoSize() (n int)

func (*TermStringFilter) Reset added in v0.26.0

func (m *TermStringFilter) Reset()

func (*TermStringFilter) String added in v0.26.0

func (m *TermStringFilter) String() string

func (*TermStringFilter) Unmarshal added in v0.26.0

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

func (*TermStringFilter) XXX_DiscardUnknown added in v0.26.0

func (m *TermStringFilter) XXX_DiscardUnknown()

func (*TermStringFilter) XXX_Marshal added in v0.26.0

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

func (*TermStringFilter) XXX_Merge added in v0.26.0

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

func (*TermStringFilter) XXX_Size added in v0.26.0

func (m *TermStringFilter) XXX_Size() int

func (*TermStringFilter) XXX_Unmarshal added in v0.26.0

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

Jump to

Keyboard shortcuts

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