Versions in this module Expand all Collapse all v0 v0.1.0 Mar 17, 2023 Changes in this version + var File_ssql_proto protoreflect.FileDescriptor + var Function_Func_name = map[int32]string + var Function_Func_value = map[string]int32 + var Operator_name = map[int32]string + var Operator_value = map[string]int32 + var OrderBy_Direction_name = map[int32]string + var OrderBy_Direction_value = map[string]int32 + var Timestamp_TimeUnit_name = map[int32]string + var Timestamp_TimeUnit_value = map[string]int32 + var Type_name = map[int32]string + var Type_value = map[string]int32 + func Parse(query string) (*Statement, []Error) + type Attribute struct + Arrow *Field + Func *Function + Group bool + Name string + TupleId uint32 + func (*Attribute) Descriptor() ([]byte, []int) + func (*Attribute) ProtoMessage() + 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 (x *Attribute) ProtoReflect() protoreflect.Message + func (x *Attribute) Reset() + func (x *Attribute) String() string + type Aux struct + AggregateAttributes []uint32 + GroupAttributes []uint32 + LocalOnly bool + TupleCount uint32 + func (*Aux) Descriptor() ([]byte, []int) + func (*Aux) ProtoMessage() + func (x *Aux) GetAggregateAttributes() []uint32 + func (x *Aux) GetGroupAttributes() []uint32 + func (x *Aux) GetLocalOnly() bool + func (x *Aux) GetTupleCount() uint32 + func (x *Aux) ProtoReflect() protoreflect.Message + func (x *Aux) Reset() + func (x *Aux) String() string + type Binary struct + First *Operand + Second *Operand + func (*Binary) Descriptor() ([]byte, []int) + func (*Binary) ProtoMessage() + func (x *Binary) GetFirst() *Operand + func (x *Binary) GetSecond() *Operand + func (x *Binary) ProtoReflect() protoreflect.Message + func (x *Binary) Reset() + func (x *Binary) String() string + type Error struct + Column int + Line int + Message string + type Expr struct + Field isExpr_Field + func (*Expr) Descriptor() ([]byte, []int) + func (*Expr) ProtoMessage() + func (m *Expr) GetField() isExpr_Field + func (x *Expr) GetOr() *OR + func (x *Expr) GetTuple() *Tuple + func (x *Expr) ProtoReflect() protoreflect.Message + func (x *Expr) Reset() + func (x *Expr) String() string + type Expr_Or struct + Or *OR + type Expr_Tuple struct + Tuple *Tuple + type Field struct + Name string + Nested isField_Nested + Timestamp *Timestamp + Type Type + Unicode uint32 + func (*Field) Descriptor() ([]byte, []int) + func (*Field) ProtoMessage() + func (m *Field) GetNested() isField_Nested + func (x *Field) GetList() *Field + func (x *Field) GetName() string + func (x *Field) GetStruct() *Field_Struct + func (x *Field) GetTimestamp() *Timestamp + func (x *Field) GetType() Type + func (x *Field) GetUnicode() uint32 + func (x *Field) ProtoReflect() protoreflect.Message + func (x *Field) Reset() + func (x *Field) String() string + type Field_List struct + List *Field + type Field_Struct struct + Fields []*Field + func (*Field_Struct) Descriptor() ([]byte, []int) + func (*Field_Struct) ProtoMessage() + func (x *Field_Struct) GetFields() []*Field + func (x *Field_Struct) ProtoReflect() protoreflect.Message + func (x *Field_Struct) Reset() + func (x *Field_Struct) String() string + type Field_Struct_ struct + Struct *Field_Struct + type Function struct + Name Function_Func + Parameter []*Parameter + func (*Function) Descriptor() ([]byte, []int) + func (*Function) ProtoMessage() + func (x *Function) GetName() Function_Func + func (x *Function) GetParameter() []*Parameter + func (x *Function) ProtoReflect() protoreflect.Message + func (x *Function) Reset() + func (x *Function) String() string + type Function_Func int32 + const Function_AVG + const Function_COUNT + const Function_MAX + const Function_MIN + const Function_PARTITION + const Function_PERCENTILE + const Function_SUM + func (Function_Func) Descriptor() protoreflect.EnumDescriptor + func (Function_Func) EnumDescriptor() ([]byte, []int) + func (Function_Func) Type() protoreflect.EnumType + func (x Function_Func) Enum() *Function_Func + func (x Function_Func) Number() protoreflect.EnumNumber + func (x Function_Func) String() string + type List struct + Operands []*Operand + Type Type + func (*List) Descriptor() ([]byte, []int) + func (*List) ProtoMessage() + func (x *List) GetOperands() []*Operand + func (x *List) GetType() Type + func (x *List) ProtoReflect() protoreflect.Message + func (x *List) Reset() + func (x *List) String() string + type Nested struct + Expr []*Expr + func (*Nested) Descriptor() ([]byte, []int) + func (*Nested) ProtoMessage() + func (x *Nested) GetExpr() []*Expr + func (x *Nested) ProtoReflect() protoreflect.Message + func (x *Nested) Reset() + func (x *Nested) String() string + type OR struct + Expr []*Expr + func (*OR) Descriptor() ([]byte, []int) + func (*OR) ProtoMessage() + func (x *OR) GetExpr() []*Expr + func (x *OR) ProtoReflect() protoreflect.Message + func (x *OR) Reset() + func (x *OR) String() string + type Operand struct + Content string + Value isOperand_Value + func (*Operand) Descriptor() ([]byte, []int) + func (*Operand) ProtoMessage() + func (m *Operand) GetValue() isOperand_Value + 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 (x *Operand) ProtoReflect() protoreflect.Message + func (x *Operand) Reset() + func (x *Operand) String() string + type Operand_Bool struct + Bool bool + type Operand_Date32 struct + Date32 int32 + type Operand_Date64 struct + Date64 int64 + type Operand_Float32 struct + Float32 float32 + type Operand_Float64 struct + Float64 float64 + type Operand_Int16 struct + Int16 int32 + type Operand_Int32 struct + Int32 int32 + type Operand_Int64 struct + Int64 int64 + type Operand_Int8 struct + Int8 int32 + type Operand_Null struct + Null bool + type Operand_Text struct + Text bool + type Operand_Uint16 struct + Uint16 uint32 + type Operand_Uint32 struct + Uint32 uint32 + type Operand_Uint64 struct + Uint64 uint64 + type Operand_Uint8 struct + Uint8 uint32 + type Operator int32 + const Operator_BETWEEN + const Operator_CONTAIN + const Operator_EQ + const Operator_EXIST + const Operator_GE + const Operator_GT + const Operator_ISNULL + const Operator_LE + const Operator_LT + const Operator_NEQ + func (Operator) Descriptor() protoreflect.EnumDescriptor + func (Operator) EnumDescriptor() ([]byte, []int) + func (Operator) Type() protoreflect.EnumType + func (x Operator) Enum() *Operator + func (x Operator) Number() protoreflect.EnumNumber + func (x Operator) String() string + type OrderBy struct + Direction OrderBy_Direction + Name string + func (*OrderBy) Descriptor() ([]byte, []int) + func (*OrderBy) ProtoMessage() + func (x *OrderBy) GetDirection() OrderBy_Direction + func (x *OrderBy) GetName() string + func (x *OrderBy) ProtoReflect() protoreflect.Message + func (x *OrderBy) Reset() + func (x *OrderBy) String() string + type OrderBy_Direction int32 + const OrderBy_ASC + const OrderBy_DESC + func (OrderBy_Direction) Descriptor() protoreflect.EnumDescriptor + func (OrderBy_Direction) EnumDescriptor() ([]byte, []int) + func (OrderBy_Direction) Type() protoreflect.EnumType + func (x OrderBy_Direction) Enum() *OrderBy_Direction + func (x OrderBy_Direction) Number() protoreflect.EnumNumber + func (x OrderBy_Direction) String() string + type Parameter struct + Value isParameter_Value + func (*Parameter) Descriptor() ([]byte, []int) + func (*Parameter) ProtoMessage() + func (m *Parameter) GetValue() isParameter_Value + func (x *Parameter) GetDouble() float64 + func (x *Parameter) GetInt() int64 + func (x *Parameter) ProtoReflect() protoreflect.Message + func (x *Parameter) Reset() + func (x *Parameter) String() string + type Parameter_Double struct + Double float64 + type Parameter_Int struct + Int int64 + type Statement struct + Aux *Aux + Find []*Attribute + From string + Limit uint32 + OrderBy []*OrderBy + Where []*Expr + func (*Statement) Descriptor() ([]byte, []int) + func (*Statement) ProtoMessage() + 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 (x *Statement) ProtoReflect() protoreflect.Message + func (x *Statement) Reset() + func (x *Statement) String() string + type Timestamp struct + Timeunit Timestamp_TimeUnit + Tz string + func (*Timestamp) Descriptor() ([]byte, []int) + func (*Timestamp) ProtoMessage() + func (x *Timestamp) GetTimeunit() Timestamp_TimeUnit + func (x *Timestamp) GetTz() string + func (x *Timestamp) ProtoReflect() protoreflect.Message + func (x *Timestamp) Reset() + func (x *Timestamp) String() string + type Timestamp_TimeUnit int32 + const Timestamp_Microsecond + const Timestamp_Millisecond + const Timestamp_Nanosecond + const Timestamp_Second + func (Timestamp_TimeUnit) Descriptor() protoreflect.EnumDescriptor + func (Timestamp_TimeUnit) EnumDescriptor() ([]byte, []int) + func (Timestamp_TimeUnit) Type() protoreflect.EnumType + func (x Timestamp_TimeUnit) Enum() *Timestamp_TimeUnit + func (x Timestamp_TimeUnit) Number() protoreflect.EnumNumber + func (x Timestamp_TimeUnit) String() string + type Tuple struct + Id uint32 + Name string + Path string + Predicate isTuple_Predicate + Unicode uint32 + func (*Tuple) Descriptor() ([]byte, []int) + func (*Tuple) ProtoMessage() + func (m *Tuple) GetPredicate() isTuple_Predicate + 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 (x *Tuple) GetSelectOnly() Type + func (x *Tuple) GetUnary() *Unary + func (x *Tuple) GetUnicode() uint32 + func (x *Tuple) ProtoReflect() protoreflect.Message + func (x *Tuple) Reset() + func (x *Tuple) String() string + type Tuple_Binary struct + Binary *Binary + type Tuple_List struct + List *List + type Tuple_Nested struct + Nested *Nested + type Tuple_SelectOnly struct + SelectOnly Type + type Tuple_Unary struct + Unary *Unary + type Type int32 + const Type_bool + const Type_date32 + const Type_date64 + const Type_float32 + const Type_float64 + const Type_int16 + const Type_int32 + const Type_int64 + const Type_int8 + const Type_list + const Type_null + const Type_struct + const Type_text + const Type_uint16 + const Type_uint32 + const Type_uint64 + const Type_uint8 + func (Type) Descriptor() protoreflect.EnumDescriptor + func (Type) EnumDescriptor() ([]byte, []int) + func (Type) Type() protoreflect.EnumType + func (x Type) Enum() *Type + func (x Type) Number() protoreflect.EnumNumber + func (x Type) String() string + type Unary struct + Op Operator + Operand *Operand + func (*Unary) Descriptor() ([]byte, []int) + func (*Unary) ProtoMessage() + func (x *Unary) GetOp() Operator + func (x *Unary) GetOperand() *Operand + func (x *Unary) ProtoReflect() protoreflect.Message + func (x *Unary) Reset() + func (x *Unary) String() string