Documentation ¶
Index ¶
- Variables
- func Parse(query string) (*Statement, []Error)
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetArrow() *Field
- func (x *Attribute) GetFunc() *Function
- func (x *Attribute) GetGroup() bool
- func (x *Attribute) GetName() string
- func (x *Attribute) GetTupleId() uint32
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type Aux
- func (*Aux) Descriptor() ([]byte, []int)deprecated
- func (x *Aux) GetAggregateAttributes() []uint32
- func (x *Aux) GetGroupAttributes() []uint32
- func (x *Aux) GetLocalOnly() bool
- func (x *Aux) GetTupleCount() uint32
- func (*Aux) ProtoMessage()
- func (x *Aux) ProtoReflect() protoreflect.Message
- func (x *Aux) Reset()
- func (x *Aux) String() string
- type Binary
- type Error
- type Expr
- type Expr_Or
- type Expr_Tuple
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetList() *Field
- func (x *Field) GetName() string
- func (m *Field) GetNested() isField_Nested
- func (x *Field) GetStruct() *Field_Struct
- func (x *Field) GetTimestamp() *Timestamp
- func (x *Field) GetType() Type
- func (x *Field) GetUnicode() uint32
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type Field_List
- type Field_Struct
- type Field_Struct_
- type Function
- 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 List
- type Nested
- type OR
- type Operand
- func (*Operand) Descriptor() ([]byte, []int)deprecated
- func (x *Operand) GetBool() bool
- func (x *Operand) GetContent() string
- func (x *Operand) GetDate32() int32
- func (x *Operand) GetDate64() int64
- func (x *Operand) GetFloat32() float32
- func (x *Operand) GetFloat64() float64
- func (x *Operand) GetInt16() int32
- func (x *Operand) GetInt32() int32
- func (x *Operand) GetInt64() int64
- func (x *Operand) GetInt8() int32
- func (x *Operand) GetNull() bool
- func (x *Operand) GetText() bool
- func (x *Operand) GetUint16() uint32
- func (x *Operand) GetUint32() uint32
- func (x *Operand) GetUint64() uint64
- func (x *Operand) GetUint8() uint32
- 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_Bool
- type Operand_Date32
- type Operand_Date64
- type Operand_Float32
- type Operand_Float64
- type Operand_Int16
- type Operand_Int32
- type Operand_Int64
- type Operand_Int8
- type Operand_Null
- type Operand_Text
- type Operand_Uint16
- type Operand_Uint32
- type Operand_Uint64
- type Operand_Uint8
- type Operator
- 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 Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetDouble() float64
- func (x *Parameter) GetInt() int64
- func (m *Parameter) GetValue() isParameter_Value
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (x *Parameter) String() string
- type Parameter_Double
- type Parameter_Int
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Statement) GetAux() *Aux
- func (x *Statement) GetFind() []*Attribute
- func (x *Statement) GetFrom() string
- func (x *Statement) GetLimit() uint32
- func (x *Statement) GetOrderBy() []*OrderBy
- func (x *Statement) GetWhere() []*Expr
- func (*Statement) ProtoMessage()
- func (x *Statement) ProtoReflect() protoreflect.Message
- func (x *Statement) Reset()
- func (x *Statement) String() string
- type Timestamp
- type Timestamp_TimeUnit
- func (Timestamp_TimeUnit) Descriptor() protoreflect.EnumDescriptor
- func (x Timestamp_TimeUnit) Enum() *Timestamp_TimeUnit
- func (Timestamp_TimeUnit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Timestamp_TimeUnit) Number() protoreflect.EnumNumber
- func (x Timestamp_TimeUnit) String() string
- func (Timestamp_TimeUnit) Type() protoreflect.EnumType
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetBinary() *Binary
- func (x *Tuple) GetId() uint32
- func (x *Tuple) GetList() *List
- func (x *Tuple) GetName() string
- func (x *Tuple) GetNested() *Nested
- func (x *Tuple) GetPath() string
- func (m *Tuple) GetPredicate() isTuple_Predicate
- func (x *Tuple) GetSelectOnly() Type
- func (x *Tuple) GetUnary() *Unary
- func (x *Tuple) GetUnicode() uint32
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- type Tuple_Binary
- type Tuple_List
- type Tuple_Nested
- type Tuple_SelectOnly
- type Tuple_Unary
- type Type
- type Unary
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "list", 1: "struct", 2: "int8", 3: "uint8", 4: "int16", 5: "uint16", 6: "int32", 7: "uint32", 8: "date32", 9: "float32", 10: "int64", 11: "uint64", 12: "date64", 13: "float64", 14: "bool", 15: "text", 16: "null", } Type_value = map[string]int32{ "list": 0, "struct": 1, "int8": 2, "uint8": 3, "int16": 4, "uint16": 5, "int32": 6, "uint32": 7, "date32": 8, "float32": 9, "int64": 10, "uint64": 11, "date64": 12, "float64": 13, "bool": 14, "text": 15, "null": 16, } )
Enum value maps for Type.
View Source
var ( Operator_name = map[int32]string{ 0: "EQ", 1: "NEQ", 2: "GT", 3: "GE", 4: "LT", 5: "LE", 6: "BETWEEN", 7: "CONTAIN", 8: "EXIST", 9: "ISNULL", } Operator_value = map[string]int32{ "EQ": 0, "NEQ": 1, "GT": 2, "GE": 3, "LT": 4, "LE": 5, "BETWEEN": 6, "CONTAIN": 7, "EXIST": 8, "ISNULL": 9, } )
Enum value maps for Operator.
View Source
var ( Function_Func_name = map[int32]string{ 0: "AVG", 1: "SUM", 2: "MIN", 3: "MAX", 4: "COUNT", 5: "PERCENTILE", 6: "PARTITION", } Function_Func_value = map[string]int32{ "AVG": 0, "SUM": 1, "MIN": 2, "MAX": 3, "COUNT": 4, "PERCENTILE": 5, "PARTITION": 6, } )
Enum value maps for Function_Func.
View Source
var ( Timestamp_TimeUnit_name = map[int32]string{ 0: "Second", 1: "Millisecond", 2: "Microsecond", 3: "Nanosecond", } Timestamp_TimeUnit_value = map[string]int32{ "Second": 0, "Millisecond": 1, "Microsecond": 2, "Nanosecond": 3, } )
Enum value maps for Timestamp_TimeUnit.
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_ssql_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Attribute ¶
type Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Group bool `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"` Func *Function `protobuf:"bytes,3,opt,name=func,proto3" json:"func,omitempty"` //Type type = 4; Arrow *Field `protobuf:"bytes,4,opt,name=arrow,proto3" json:"arrow,omitempty"` TupleId uint32 `protobuf:"varint,5,opt,name=tuple_id,json=tupleId,proto3" json:"tuple_id,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetTupleId ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type Aux ¶
type Aux struct { LocalOnly bool `protobuf:"varint,1,opt,name=local_only,json=localOnly,proto3" json:"local_only,omitempty"` TupleCount uint32 `protobuf:"varint,2,opt,name=tuple_count,json=tupleCount,proto3" json:"tuple_count,omitempty"` AggregateAttributes []uint32 `` /* 126-byte string literal not displayed */ GroupAttributes []uint32 `protobuf:"varint,4,rep,packed,name=group_attributes,json=groupAttributes,proto3" json:"group_attributes,omitempty"` // contains filtered or unexported fields }
func (*Aux) Descriptor
deprecated
func (*Aux) GetAggregateAttributes ¶
func (*Aux) GetGroupAttributes ¶
func (*Aux) GetLocalOnly ¶
func (*Aux) GetTupleCount ¶
func (*Aux) ProtoMessage ¶
func (*Aux) ProtoMessage()
func (*Aux) ProtoReflect ¶
func (x *Aux) ProtoReflect() protoreflect.Message
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 Field ¶
type Field struct { Unicode uint32 `protobuf:"varint,1,opt,name=unicode,proto3" json:"unicode,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=Type" json:"type,omitempty"` Timestamp *Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Types that are assignable to Nested: // *Field_Struct_ // *Field_List Nested isField_Nested `protobuf_oneof:"nested"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetStruct ¶
func (x *Field) GetStruct() *Field_Struct
func (*Field) GetTimestamp ¶
func (*Field) GetUnicode ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Field_List ¶
type Field_List struct {
List *Field `protobuf:"bytes,6,opt,name=list,proto3,oneof"`
}
type Field_Struct ¶
type Field_Struct struct { Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Field_Struct) Descriptor
deprecated
func (*Field_Struct) Descriptor() ([]byte, []int)
Deprecated: Use Field_Struct.ProtoReflect.Descriptor instead.
func (*Field_Struct) GetFields ¶
func (x *Field_Struct) GetFields() []*Field
func (*Field_Struct) ProtoMessage ¶
func (*Field_Struct) ProtoMessage()
func (*Field_Struct) ProtoReflect ¶
func (x *Field_Struct) ProtoReflect() protoreflect.Message
func (*Field_Struct) Reset ¶
func (x *Field_Struct) Reset()
func (*Field_Struct) String ¶
func (x *Field_Struct) String() string
type Field_Struct_ ¶
type Field_Struct_ struct {
Struct *Field_Struct `protobuf:"bytes,5,opt,name=struct,proto3,oneof"`
}
type Function ¶
type Function struct { Name Function_Func `protobuf:"varint,1,opt,name=name,proto3,enum=Function_Func" json:"name,omitempty"` Parameter []*Parameter `protobuf:"bytes,2,rep,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
func (*Function) Descriptor
deprecated
func (*Function) GetName ¶
func (x *Function) GetName() Function_Func
func (*Function) GetParameter ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
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_PERCENTILE Function_Func = 5 Function_PARTITION 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 List ¶
type List struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=Type" json:"type,omitempty"` Operands []*Operand `protobuf:"bytes,2,rep,name=operands,proto3" json:"operands,omitempty"` // contains filtered or unexported fields }
func (*List) Descriptor
deprecated
func (*List) GetOperands ¶
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 { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // Types that are assignable to Value: // *Operand_Int8 // *Operand_Uint8 // *Operand_Int16 // *Operand_Uint16 // *Operand_Int32 // *Operand_Date32 // *Operand_Uint32 // *Operand_Float32 // *Operand_Int64 // *Operand_Date64 // *Operand_Uint64 // *Operand_Float64 // *Operand_Bool // *Operand_Text // *Operand_Null Value isOperand_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Operand) Descriptor
deprecated
func (*Operand) GetContent ¶
func (*Operand) GetFloat32 ¶
func (*Operand) GetFloat64 ¶
func (*Operand) ProtoMessage ¶
func (*Operand) ProtoMessage()
func (*Operand) ProtoReflect ¶
func (x *Operand) ProtoReflect() protoreflect.Message
type Operand_Bool ¶
type Operand_Bool struct {
Bool bool `protobuf:"varint,14,opt,name=bool,proto3,oneof"`
}
type Operand_Date32 ¶
type Operand_Date32 struct {
Date32 int32 `protobuf:"varint,7,opt,name=date32,proto3,oneof"`
}
type Operand_Date64 ¶
type Operand_Date64 struct {
Date64 int64 `protobuf:"varint,11,opt,name=date64,proto3,oneof"`
}
type Operand_Float32 ¶
type Operand_Float32 struct {
Float32 float32 `protobuf:"fixed32,9,opt,name=float32,proto3,oneof"`
}
type Operand_Float64 ¶
type Operand_Float64 struct {
Float64 float64 `protobuf:"fixed64,13,opt,name=float64,proto3,oneof"`
}
type Operand_Int16 ¶
type Operand_Int16 struct {
Int16 int32 `protobuf:"varint,4,opt,name=int16,proto3,oneof"`
}
type Operand_Int32 ¶
type Operand_Int32 struct {
Int32 int32 `protobuf:"varint,6,opt,name=int32,proto3,oneof"`
}
type Operand_Int64 ¶
type Operand_Int64 struct {
Int64 int64 `protobuf:"varint,10,opt,name=int64,proto3,oneof"`
}
type Operand_Int8 ¶
type Operand_Int8 struct {
Int8 int32 `protobuf:"varint,2,opt,name=int8,proto3,oneof"`
}
type Operand_Null ¶
type Operand_Null struct {
Null bool `protobuf:"varint,16,opt,name=null,proto3,oneof"`
}
type Operand_Text ¶
type Operand_Text struct {
Text bool `protobuf:"varint,15,opt,name=text,proto3,oneof"`
}
type Operand_Uint16 ¶
type Operand_Uint16 struct {
Uint16 uint32 `protobuf:"varint,5,opt,name=uint16,proto3,oneof"`
}
type Operand_Uint32 ¶
type Operand_Uint32 struct {
Uint32 uint32 `protobuf:"varint,8,opt,name=uint32,proto3,oneof"`
}
type Operand_Uint64 ¶
type Operand_Uint64 struct {
Uint64 uint64 `protobuf:"varint,12,opt,name=uint64,proto3,oneof"`
}
type Operand_Uint8 ¶
type Operand_Uint8 struct {
Uint8 uint32 `protobuf:"varint,3,opt,name=uint8,proto3,oneof"`
}
type Operator ¶
type Operator int32
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
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 Parameter ¶
type Parameter struct { // Types that are assignable to Value: // *Parameter_Double // *Parameter_Int Value isParameter_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Parameter) Descriptor
deprecated
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type Parameter_Double ¶
type Parameter_Double struct {
Double float64 `protobuf:"fixed64,1,opt,name=double,proto3,oneof"`
}
type Parameter_Int ¶
type Parameter_Int struct {
Int int64 `protobuf:"varint,2,opt,name=int,proto3,oneof"`
}
type Statement ¶
type Statement struct { Find []*Attribute `protobuf:"bytes,1,rep,name=find,proto3" json:"find,omitempty"` From string `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"` Aux *Aux `protobuf:"bytes,6,opt,name=aux,proto3" json:"aux,omitempty"` // 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 Timestamp ¶
type Timestamp struct { Timeunit Timestamp_TimeUnit `protobuf:"varint,1,opt,name=timeunit,proto3,enum=Timestamp_TimeUnit" json:"timeunit,omitempty"` Tz string `protobuf:"bytes,2,opt,name=tz,proto3" json:"tz,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetTimeunit ¶
func (x *Timestamp) GetTimeunit() Timestamp_TimeUnit
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type Timestamp_TimeUnit ¶
type Timestamp_TimeUnit int32
const ( Timestamp_Second Timestamp_TimeUnit = 0 Timestamp_Millisecond Timestamp_TimeUnit = 1 Timestamp_Microsecond Timestamp_TimeUnit = 2 Timestamp_Nanosecond Timestamp_TimeUnit = 3 )
func (Timestamp_TimeUnit) Descriptor ¶
func (Timestamp_TimeUnit) Descriptor() protoreflect.EnumDescriptor
func (Timestamp_TimeUnit) Enum ¶
func (x Timestamp_TimeUnit) Enum() *Timestamp_TimeUnit
func (Timestamp_TimeUnit) EnumDescriptor
deprecated
func (Timestamp_TimeUnit) EnumDescriptor() ([]byte, []int)
Deprecated: Use Timestamp_TimeUnit.Descriptor instead.
func (Timestamp_TimeUnit) Number ¶
func (x Timestamp_TimeUnit) Number() protoreflect.EnumNumber
func (Timestamp_TimeUnit) String ¶
func (x Timestamp_TimeUnit) String() string
func (Timestamp_TimeUnit) Type ¶
func (Timestamp_TimeUnit) Type() protoreflect.EnumType
type Tuple ¶
type Tuple struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Unicode uint32 `protobuf:"varint,4,opt,name=unicode,proto3" json:"unicode,omitempty"` // Types that are assignable to Predicate: // *Tuple_Nested // *Tuple_Binary // *Tuple_Unary // *Tuple_List // *Tuple_SelectOnly Predicate isTuple_Predicate `protobuf_oneof:"predicate"` // contains filtered or unexported fields }
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetPredicate ¶
func (m *Tuple) GetPredicate() isTuple_Predicate
func (*Tuple) GetSelectOnly ¶
func (*Tuple) GetUnicode ¶
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
type Tuple_Binary ¶
type Tuple_Binary struct {
Binary *Binary `protobuf:"bytes,6,opt,name=binary,proto3,oneof"`
}
type Tuple_List ¶
type Tuple_List struct {
List *List `protobuf:"bytes,8,opt,name=list,proto3,oneof"`
}
type Tuple_Nested ¶
type Tuple_Nested struct {
Nested *Nested `protobuf:"bytes,5,opt,name=nested,proto3,oneof"`
}
type Tuple_SelectOnly ¶
type Tuple_SelectOnly struct {
SelectOnly Type `protobuf:"varint,9,opt,name=select_only,json=selectOnly,proto3,enum=Type,oneof"`
}
type Tuple_Unary ¶
type Tuple_Unary struct {
Unary *Unary `protobuf:"bytes,7,opt,name=unary,proto3,oneof"`
}
type Type ¶
type Type int32
note: ssd runtime contains static convert table to arrow2 data type
const ( Type_list Type = 0 Type_struct Type = 1 Type_int8 Type = 2 Type_uint8 Type = 3 Type_int16 Type = 4 Type_uint16 Type = 5 Type_int32 Type = 6 Type_uint32 Type = 7 Type_date32 Type = 8 Type_float32 Type = 9 Type_int64 Type = 10 Type_uint64 Type = 11 Type_date64 Type = 12 Type_float64 Type = 13 Type_bool Type = 14 Type_text Type = 15 Type_null Type = 16 )
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type Unary ¶
type Unary struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=Operator" json:"op,omitempty"` Operand *Operand `protobuf:"bytes,2,opt,name=operand,proto3" json:"operand,omitempty"` // contains filtered or unexported fields }
func (*Unary) Descriptor
deprecated
func (*Unary) GetOperand ¶
func (*Unary) ProtoMessage ¶
func (*Unary) ProtoMessage()
func (*Unary) ProtoReflect ¶
func (x *Unary) ProtoReflect() protoreflect.Message
Source Files ¶
Click to show internal directories.
Click to hide internal directories.