Documentation ¶
Index ¶
- Variables
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetFunc() *Function
- func (x *Attribute) GetGroup() bool
- func (x *Attribute) GetName() string
- func (x *Attribute) GetType() AttributeType
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type AttributeType
- func (AttributeType) Descriptor() protoreflect.EnumDescriptor
- func (x AttributeType) Enum() *AttributeType
- func (AttributeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttributeType) Number() protoreflect.EnumNumber
- func (x AttributeType) String() string
- func (AttributeType) Type() protoreflect.EnumType
- type Binary
- type Expr
- type Expr_Or
- type Expr_Tuple
- type From
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetDouble() float64
- func (x *Function) GetInt() int64
- func (x *Function) GetName() Function_Func
- func (m *Function) GetParameter() isFunction_Parameter
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- type Function_Double
- type Function_Func
- func (Function_Func) Descriptor() protoreflect.EnumDescriptor
- func (x Function_Func) Enum() *Function_Func
- func (Function_Func) EnumDescriptor() ([]byte, []int)deprecated
- func (x Function_Func) Number() protoreflect.EnumNumber
- func (x Function_Func) String() string
- func (Function_Func) Type() protoreflect.EnumType
- type Function_Int
- type List
- type Nested
- type OR
- type Operand
- func (*Operand) Descriptor() ([]byte, []int)deprecated
- func (x *Operand) GetDouble() float64
- func (x *Operand) GetInt() int64
- func (x *Operand) GetList() *List
- func (x *Operand) GetText() string
- func (m *Operand) GetValue() isOperand_Value
- func (*Operand) ProtoMessage()
- func (x *Operand) ProtoReflect() protoreflect.Message
- func (x *Operand) Reset()
- func (x *Operand) String() string
- type Operand_Double
- type Operand_Int
- type Operand_List
- type Operand_Text
- type OrderBy
- type OrderBy_Direction
- func (OrderBy_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x OrderBy_Direction) Enum() *OrderBy_Direction
- func (OrderBy_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderBy_Direction) Number() protoreflect.EnumNumber
- func (x OrderBy_Direction) String() string
- func (OrderBy_Direction) Type() protoreflect.EnumType
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Statement) GetFind() []*Attribute
- func (x *Statement) GetFrom() *From
- func (x *Statement) GetLimit() uint32
- func (x *Statement) GetOrderBy() []*OrderBy
- func (x *Statement) GetPath() map[string]string
- func (x *Statement) GetWhere() []*Expr
- func (*Statement) ProtoMessage()
- func (x *Statement) ProtoReflect() protoreflect.Message
- func (x *Statement) Reset()
- func (x *Statement) String() string
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetBetween() *Binary
- func (x *Tuple) GetContain() *Unary
- func (x *Tuple) GetEq() *Unary
- func (x *Tuple) GetExist() *Unary
- func (x *Tuple) GetGe() *Unary
- func (x *Tuple) GetGt() *Unary
- func (x *Tuple) GetIn() *Unary
- func (x *Tuple) GetKey() *Unary
- func (x *Tuple) GetLe() *Unary
- func (x *Tuple) GetLt() *Unary
- func (x *Tuple) GetName() string
- func (x *Tuple) GetNeq() *Unary
- func (x *Tuple) GetNested() *Nested
- func (x *Tuple) GetPath() string
- func (m *Tuple) GetPredicate() isTuple_Predicate
- func (x *Tuple) GetTimeframe() *Binary
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- type Tuple_Between
- type Tuple_Contain
- type Tuple_Eq
- type Tuple_Exist
- type Tuple_Ge
- type Tuple_Gt
- type Tuple_In
- type Tuple_Key
- type Tuple_Le
- type Tuple_Lt
- type Tuple_Neq
- type Tuple_Nested
- type Tuple_Timeframe
- type Unary
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AttributeType_name = map[int32]string{ 0: "DOUBLE", 1: "INT", 2: "TEXT", } AttributeType_value = map[string]int32{ "DOUBLE": 0, "INT": 1, "TEXT": 2, } )
Enum value maps for AttributeType.
View Source
var ( Function_Func_name = map[int32]string{ 0: "AVG", 1: "SUM", 2: "MIN", 3: "MAX", 4: "COUNT", 5: "PCTL", 6: "PART", } Function_Func_value = map[string]int32{ "AVG": 0, "SUM": 1, "MIN": 2, "MAX": 3, "COUNT": 4, "PCTL": 5, "PART": 6, } )
Enum value maps for Function_Func.
View Source
var ( OrderBy_Direction_name = map[int32]string{ 0: "ASC", 1: "DESC", } OrderBy_Direction_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for OrderBy_Direction.
View Source
var File_proto_ssql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { Type AttributeType `protobuf:"varint,1,opt,name=type,proto3,enum=AttributeType" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Group bool `protobuf:"varint,3,opt,name=group,proto3" json:"group,omitempty"` Func *Function `protobuf:"bytes,4,opt,name=func,proto3" json:"func,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetType ¶
func (x *Attribute) GetType() AttributeType
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type AttributeType ¶
type AttributeType int32
const ( AttributeType_DOUBLE AttributeType = 0 AttributeType_INT AttributeType = 1 AttributeType_TEXT AttributeType = 2 )
func (AttributeType) Descriptor ¶
func (AttributeType) Descriptor() protoreflect.EnumDescriptor
func (AttributeType) Enum ¶
func (x AttributeType) Enum() *AttributeType
func (AttributeType) EnumDescriptor
deprecated
func (AttributeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttributeType.Descriptor instead.
func (AttributeType) Number ¶
func (x AttributeType) Number() protoreflect.EnumNumber
func (AttributeType) String ¶
func (x AttributeType) String() string
func (AttributeType) Type ¶
func (AttributeType) Type() protoreflect.EnumType
type Binary ¶
type Binary struct { First *Operand `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"` Second *Operand `protobuf:"bytes,2,opt,name=second,proto3" json:"second,omitempty"` // contains filtered or unexported fields }
func (*Binary) Descriptor
deprecated
func (*Binary) ProtoMessage ¶
func (*Binary) ProtoMessage()
func (*Binary) ProtoReflect ¶
func (x *Binary) ProtoReflect() protoreflect.Message
type Expr ¶
type Expr struct { // Types that are assignable to Field: // *Expr_Or // *Expr_Tuple Field isExpr_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
func (*Expr) Descriptor
deprecated
func (*Expr) ProtoMessage ¶
func (*Expr) ProtoMessage()
func (*Expr) ProtoReflect ¶
func (x *Expr) ProtoReflect() protoreflect.Message
type Expr_Tuple ¶
type Expr_Tuple struct {
Tuple *Tuple `protobuf:"bytes,2,opt,name=tuple,proto3,oneof"`
}
type From ¶
type From struct { Or bool `protobuf:"varint,1,opt,name=or,proto3" json:"or,omitempty"` Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*From) Descriptor
deprecated
func (*From) ProtoMessage ¶
func (*From) ProtoMessage()
func (*From) ProtoReflect ¶
func (x *From) ProtoReflect() protoreflect.Message
type Function ¶
type Function struct { Name Function_Func `protobuf:"varint,1,opt,name=name,proto3,enum=Function_Func" json:"name,omitempty"` // Types that are assignable to Parameter: // *Function_Double // *Function_Int Parameter isFunction_Parameter `protobuf_oneof:"parameter"` // contains filtered or unexported fields }
func (*Function) Descriptor
deprecated
func (*Function) GetName ¶
func (x *Function) GetName() Function_Func
func (*Function) GetParameter ¶
func (m *Function) GetParameter() isFunction_Parameter
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type Function_Double ¶
type Function_Double struct {
Double float64 `protobuf:"fixed64,2,opt,name=double,proto3,oneof"`
}
type Function_Func ¶
type Function_Func int32
const ( Function_AVG Function_Func = 0 Function_SUM Function_Func = 1 Function_MIN Function_Func = 2 Function_MAX Function_Func = 3 Function_COUNT Function_Func = 4 Function_PCTL Function_Func = 5 Function_PART Function_Func = 6 )
func (Function_Func) Descriptor ¶
func (Function_Func) Descriptor() protoreflect.EnumDescriptor
func (Function_Func) Enum ¶
func (x Function_Func) Enum() *Function_Func
func (Function_Func) EnumDescriptor
deprecated
func (Function_Func) EnumDescriptor() ([]byte, []int)
Deprecated: Use Function_Func.Descriptor instead.
func (Function_Func) Number ¶
func (x Function_Func) Number() protoreflect.EnumNumber
func (Function_Func) String ¶
func (x Function_Func) String() string
func (Function_Func) Type ¶
func (Function_Func) Type() protoreflect.EnumType
type Function_Int ¶
type Function_Int struct {
Int int64 `protobuf:"varint,3,opt,name=int,proto3,oneof"`
}
type List ¶
type List struct { Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` Int []int64 `protobuf:"varint,2,rep,packed,name=int,proto3" json:"int,omitempty"` Double []float64 `protobuf:"fixed64,3,rep,packed,name=double,proto3" json:"double,omitempty"` // contains filtered or unexported fields }
func (*List) Descriptor
deprecated
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type Nested ¶
type Nested struct { Expr []*Expr `protobuf:"bytes,1,rep,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
func (*Nested) Descriptor
deprecated
func (*Nested) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶
func (x *Nested) ProtoReflect() protoreflect.Message
type OR ¶
type OR struct { Expr []*Expr `protobuf:"bytes,1,rep,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
func (*OR) Descriptor
deprecated
func (*OR) ProtoMessage ¶
func (*OR) ProtoMessage()
func (*OR) ProtoReflect ¶
func (x *OR) ProtoReflect() protoreflect.Message
type Operand ¶
type Operand struct { // Types that are assignable to Value: // *Operand_Double // *Operand_Int // *Operand_Text // *Operand_List Value isOperand_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Operand) Descriptor
deprecated
func (*Operand) ProtoMessage ¶
func (*Operand) ProtoMessage()
func (*Operand) ProtoReflect ¶
func (x *Operand) ProtoReflect() protoreflect.Message
type Operand_Double ¶
type Operand_Double struct {
Double float64 `protobuf:"fixed64,1,opt,name=double,proto3,oneof"`
}
type Operand_Int ¶
type Operand_Int struct {
Int int64 `protobuf:"varint,2,opt,name=int,proto3,oneof"`
}
type Operand_List ¶
type Operand_List struct {
List *List `protobuf:"bytes,4,opt,name=list,proto3,oneof"`
}
type Operand_Text ¶
type Operand_Text struct {
Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}
type OrderBy ¶
type OrderBy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Direction OrderBy_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=OrderBy_Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*OrderBy) Descriptor
deprecated
func (*OrderBy) GetDirection ¶
func (x *OrderBy) GetDirection() OrderBy_Direction
func (*OrderBy) ProtoMessage ¶
func (*OrderBy) ProtoMessage()
func (*OrderBy) ProtoReflect ¶
func (x *OrderBy) ProtoReflect() protoreflect.Message
type OrderBy_Direction ¶
type OrderBy_Direction int32
const ( OrderBy_ASC OrderBy_Direction = 0 OrderBy_DESC OrderBy_Direction = 1 )
func (OrderBy_Direction) Descriptor ¶
func (OrderBy_Direction) Descriptor() protoreflect.EnumDescriptor
func (OrderBy_Direction) Enum ¶
func (x OrderBy_Direction) Enum() *OrderBy_Direction
func (OrderBy_Direction) EnumDescriptor
deprecated
func (OrderBy_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderBy_Direction.Descriptor instead.
func (OrderBy_Direction) Number ¶
func (x OrderBy_Direction) Number() protoreflect.EnumNumber
func (OrderBy_Direction) String ¶
func (x OrderBy_Direction) String() string
func (OrderBy_Direction) Type ¶
func (OrderBy_Direction) Type() protoreflect.EnumType
type Statement ¶
type Statement struct { Find []*Attribute `protobuf:"bytes,1,rep,name=find,proto3" json:"find,omitempty"` From *From `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` Where []*Expr `protobuf:"bytes,3,rep,name=where,proto3" json:"where,omitempty"` OrderBy []*OrderBy `protobuf:"bytes,4,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` Path map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Statement) Descriptor
deprecated
func (*Statement) GetOrderBy ¶
func (*Statement) ProtoMessage ¶
func (*Statement) ProtoMessage()
func (*Statement) ProtoReflect ¶
func (x *Statement) ProtoReflect() protoreflect.Message
type Tuple ¶
type Tuple struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Types that are assignable to Predicate: // *Tuple_Nested // *Tuple_Timeframe // *Tuple_Key // *Tuple_Between // *Tuple_Contain // *Tuple_Exist // *Tuple_Eq // *Tuple_Neq // *Tuple_Gt // *Tuple_Ge // *Tuple_Lt // *Tuple_Le // *Tuple_In Predicate isTuple_Predicate `protobuf_oneof:"predicate"` // contains filtered or unexported fields }
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetBetween ¶
func (*Tuple) GetContain ¶
func (*Tuple) GetPredicate ¶
func (m *Tuple) GetPredicate() isTuple_Predicate
func (*Tuple) GetTimeframe ¶
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
type Tuple_Between ¶
type Tuple_Between struct {
Between *Binary `protobuf:"bytes,6,opt,name=between,proto3,oneof"`
}
type Tuple_Contain ¶
type Tuple_Contain struct {
Contain *Unary `protobuf:"bytes,7,opt,name=contain,proto3,oneof"`
}
type Tuple_Exist ¶
type Tuple_Exist struct {
Exist *Unary `protobuf:"bytes,8,opt,name=exist,proto3,oneof"`
}
type Tuple_Key ¶
type Tuple_Key struct {
Key *Unary `protobuf:"bytes,5,opt,name=key,proto3,oneof"`
}
type Tuple_Neq ¶
type Tuple_Neq struct {
Neq *Unary `protobuf:"bytes,10,opt,name=neq,proto3,oneof"`
}
type Tuple_Nested ¶
type Tuple_Nested struct {
Nested *Nested `protobuf:"bytes,3,opt,name=nested,proto3,oneof"`
}
type Tuple_Timeframe ¶
type Tuple_Timeframe struct {
Timeframe *Binary `protobuf:"bytes,4,opt,name=timeframe,proto3,oneof"`
}
type Unary ¶
type Unary struct { First *Operand `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"` // contains filtered or unexported fields }
func (*Unary) Descriptor
deprecated
func (*Unary) ProtoMessage ¶
func (*Unary) ProtoMessage()
func (*Unary) ProtoReflect ¶
func (x *Unary) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.