Documentation
¶
Index ¶
- Variables
- type AggFunction
- func (*AggFunction) Descriptor() ([]byte, []int)deprecated
- func (x *AggFunction) GetFrom() *Pos
- func (x *AggFunction) GetRestArgs() []*CompoundIdent
- func (x *AggFunction) GetTo() *Pos
- func (x *AggFunction) GetTypeName() AggType
- func (*AggFunction) ProtoMessage()
- func (x *AggFunction) ProtoReflect() protoreflect.Message
- func (x *AggFunction) Reset()
- func (x *AggFunction) String() string
- type AggType
- type CompoundIdent
- type DoubleUnit
- func (*DoubleUnit) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleUnit) GetFrom() *Pos
- func (x *DoubleUnit) GetTo() *Pos
- func (x *DoubleUnit) GetValue() float64
- func (*DoubleUnit) ProtoMessage()
- func (x *DoubleUnit) ProtoReflect() protoreflect.Message
- func (x *DoubleUnit) Reset()
- func (x *DoubleUnit) String() string
- type Ident
- type JoinType
- func (*JoinType) Descriptor() ([]byte, []int)deprecated
- func (x *JoinType) GetCondition() JoinTypeCondition
- func (x *JoinType) GetFrom() *Pos
- func (x *JoinType) GetTo() *Pos
- func (*JoinType) ProtoMessage()
- func (x *JoinType) ProtoReflect() protoreflect.Message
- func (x *JoinType) Reset()
- func (x *JoinType) String() string
- type JoinTypeCondition
- func (JoinTypeCondition) Descriptor() protoreflect.EnumDescriptor
- func (x JoinTypeCondition) Enum() *JoinTypeCondition
- func (JoinTypeCondition) EnumDescriptor() ([]byte, []int)deprecated
- func (x JoinTypeCondition) Number() protoreflect.EnumNumber
- func (x JoinTypeCondition) String() string
- func (JoinTypeCondition) Type() protoreflect.EnumType
- type LongUnit
- func (*LongUnit) Descriptor() ([]byte, []int)deprecated
- func (x *LongUnit) GetFrom() *Pos
- func (x *LongUnit) GetTo() *Pos
- func (x *LongUnit) GetValue() int64
- func (*LongUnit) ProtoMessage()
- func (x *LongUnit) ProtoReflect() protoreflect.Message
- func (x *LongUnit) Reset()
- func (x *LongUnit) String() string
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)deprecated
- func (x *Operator) GetFrom() *Pos
- func (x *Operator) GetTo() *Pos
- func (x *Operator) GetType() OperatorType
- func (*Operator) ProtoMessage()
- func (x *Operator) ProtoReflect() protoreflect.Message
- func (x *Operator) Reset()
- func (x *Operator) String() string
- type OperatorType
- func (OperatorType) Descriptor() protoreflect.EnumDescriptor
- func (x OperatorType) Enum() *OperatorType
- func (OperatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperatorType) Number() protoreflect.EnumNumber
- func (x OperatorType) String() string
- func (OperatorType) Type() protoreflect.EnumType
- type Pos
- type QueryStmt
- func (*QueryStmt) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt) GetBody() *QueryStmt_SetOperationExpr
- func (x *QueryStmt) GetCTEs() []*QueryStmt_CTE
- func (x *QueryStmt) GetLimitExpression() *QueryStmt_LimitExpr
- func (x *QueryStmt) GetOrderBy() []*QueryStmt_OrderByExpr
- func (x *QueryStmt) GetWith() *Pos
- func (*QueryStmt) ProtoMessage()
- func (x *QueryStmt) ProtoReflect() protoreflect.Message
- func (x *QueryStmt) Reset()
- func (x *QueryStmt) String() string
- type QueryStmt_BinaryExpr
- func (*QueryStmt_BinaryExpr) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_BinaryExpr) GetDoubleValue() *DoubleUnit
- func (x *QueryStmt_BinaryExpr) GetLeftBinary() *QueryStmt_BinaryExpr
- func (x *QueryStmt_BinaryExpr) GetLeftIdents() *CompoundIdent
- func (m *QueryStmt_BinaryExpr) GetLeftOneOf() isQueryStmt_BinaryExpr_LeftOneOf
- func (x *QueryStmt_BinaryExpr) GetLongValue() *LongUnit
- func (x *QueryStmt_BinaryExpr) GetOp() *Operator
- func (x *QueryStmt_BinaryExpr) GetQueryValue() *QueryStmt_InSubQuery
- func (x *QueryStmt_BinaryExpr) GetRightBinary() *QueryStmt_BinaryExpr
- func (x *QueryStmt_BinaryExpr) GetRightIdents() *CompoundIdent
- func (m *QueryStmt_BinaryExpr) GetRightOneOf() isQueryStmt_BinaryExpr_RightOneOf
- func (x *QueryStmt_BinaryExpr) GetSingleQuotedString() *StringUnit
- func (*QueryStmt_BinaryExpr) ProtoMessage()
- func (x *QueryStmt_BinaryExpr) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_BinaryExpr) Reset()
- func (x *QueryStmt_BinaryExpr) String() string
- type QueryStmt_BinaryExpr_DoubleValue
- type QueryStmt_BinaryExpr_LeftBinary
- type QueryStmt_BinaryExpr_LeftIdents
- type QueryStmt_BinaryExpr_LongValue
- type QueryStmt_BinaryExpr_QueryValue
- type QueryStmt_BinaryExpr_RightBinary
- type QueryStmt_BinaryExpr_RightIdents
- type QueryStmt_BinaryExpr_SingleQuotedString
- type QueryStmt_CTE
- func (*QueryStmt_CTE) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_CTE) GetAliasName() *Ident
- func (x *QueryStmt_CTE) GetQuery() *QueryStmt
- func (x *QueryStmt_CTE) GetRParen() *Pos
- func (*QueryStmt_CTE) ProtoMessage()
- func (x *QueryStmt_CTE) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_CTE) Reset()
- func (x *QueryStmt_CTE) String() string
- type QueryStmt_InSubQuery
- func (*QueryStmt_InSubQuery) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_InSubQuery) GetExpr() *CompoundIdent
- func (x *QueryStmt_InSubQuery) GetNegated() bool
- func (x *QueryStmt_InSubQuery) GetRParen() *Pos
- func (x *QueryStmt_InSubQuery) GetSubQuery() *QueryStmt
- func (*QueryStmt_InSubQuery) ProtoMessage()
- func (x *QueryStmt_InSubQuery) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_InSubQuery) Reset()
- func (x *QueryStmt_InSubQuery) String() string
- type QueryStmt_LimitExpr
- func (*QueryStmt_LimitExpr) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_LimitExpr) GetAllBool() bool
- func (x *QueryStmt_LimitExpr) GetAllPos() *Pos
- func (x *QueryStmt_LimitExpr) GetLimit() *Pos
- func (x *QueryStmt_LimitExpr) GetLimitValue() *LongUnit
- func (x *QueryStmt_LimitExpr) GetOffsetValue() *LongUnit
- func (*QueryStmt_LimitExpr) ProtoMessage()
- func (x *QueryStmt_LimitExpr) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_LimitExpr) Reset()
- func (x *QueryStmt_LimitExpr) String() string
- type QueryStmt_OrderByExpr
- func (*QueryStmt_OrderByExpr) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_OrderByExpr) GetASCBool() bool
- func (x *QueryStmt_OrderByExpr) GetExpr() *CompoundIdent
- func (x *QueryStmt_OrderByExpr) GetOrderingPos() *Pos
- func (*QueryStmt_OrderByExpr) ProtoMessage()
- func (x *QueryStmt_OrderByExpr) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_OrderByExpr) Reset()
- func (x *QueryStmt_OrderByExpr) String() string
- type QueryStmt_SQLSelect
- func (*QueryStmt_SQLSelect) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SQLSelect) GetBinExpr() *QueryStmt_BinaryExpr
- func (x *QueryStmt_SQLSelect) GetDistinctBool() bool
- func (x *QueryStmt_SQLSelect) GetFromClause() []*QueryStmt_SQLSelect_QualifiedJoin
- func (x *QueryStmt_SQLSelect) GetGroupByClause() []*CompoundIdent
- func (x *QueryStmt_SQLSelect) GetHavingClause() *QueryStmt_BinaryExpr
- func (x *QueryStmt_SQLSelect) GetInQuery() *QueryStmt_InSubQuery
- func (x *QueryStmt_SQLSelect) GetProjection() []*QueryStmt_SQLSelect_SQLSelectItem
- func (x *QueryStmt_SQLSelect) GetSelect() *Pos
- func (m *QueryStmt_SQLSelect) GetWhereClause() isQueryStmt_SQLSelect_WhereClause
- func (*QueryStmt_SQLSelect) ProtoMessage()
- func (x *QueryStmt_SQLSelect) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_SQLSelect) Reset()
- func (x *QueryStmt_SQLSelect) String() string
- type QueryStmt_SQLSelect_BinExpr
- type QueryStmt_SQLSelect_InQuery
- type QueryStmt_SQLSelect_QualifiedJoin
- func (*QueryStmt_SQLSelect_QualifiedJoin) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetAliasName() *Ident
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetLeftElement() *QueryStmt_SQLSelect_QualifiedJoin
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetName() *CompoundIdent
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetSpec() *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition() *JoinType
- func (*QueryStmt_SQLSelect_QualifiedJoin) ProtoMessage()
- func (x *QueryStmt_SQLSelect_QualifiedJoin) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_SQLSelect_QualifiedJoin) Reset()
- func (x *QueryStmt_SQLSelect_QualifiedJoin) String() string
- type QueryStmt_SQLSelect_QualifiedJoin_JoinCondition
- func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetOn() *Pos
- func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetSearchCondition() *QueryStmt_BinaryExpr
- func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoMessage()
- func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Reset()
- func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) String() string
- type QueryStmt_SQLSelect_SQLSelectItem
- func (*QueryStmt_SQLSelect_SQLSelectItem) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SQLSelect_SQLSelectItem) GetAliasName() *Ident
- func (x *QueryStmt_SQLSelect_SQLSelectItem) GetFieldFunction() *AggFunction
- func (x *QueryStmt_SQLSelect_SQLSelectItem) GetFieldIdents() *CompoundIdent
- func (*QueryStmt_SQLSelect_SQLSelectItem) ProtoMessage()
- func (x *QueryStmt_SQLSelect_SQLSelectItem) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_SQLSelect_SQLSelectItem) Reset()
- func (x *QueryStmt_SQLSelect_SQLSelectItem) String() string
- type QueryStmt_SetOperationExpr
- func (*QueryStmt_SetOperationExpr) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SetOperationExpr) GetAllBool() bool
- func (x *QueryStmt_SetOperationExpr) GetLeftSide() *QueryStmt_SQLSelect
- func (x *QueryStmt_SetOperationExpr) GetOp() *SetOperator
- func (x *QueryStmt_SetOperationExpr) GetRightSide() *QueryStmt_SetOperationExpr
- func (*QueryStmt_SetOperationExpr) ProtoMessage()
- func (x *QueryStmt_SetOperationExpr) ProtoReflect() protoreflect.Message
- func (x *QueryStmt_SetOperationExpr) Reset()
- func (x *QueryStmt_SetOperationExpr) String() string
- type SetOperator
- func (*SetOperator) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperator) GetFrom() *Pos
- func (x *SetOperator) GetTo() *Pos
- func (x *SetOperator) GetType() SetOperatorType
- func (*SetOperator) ProtoMessage()
- func (x *SetOperator) ProtoReflect() protoreflect.Message
- func (x *SetOperator) Reset()
- func (x *SetOperator) String() string
- type SetOperatorType
- func (SetOperatorType) Descriptor() protoreflect.EnumDescriptor
- func (x SetOperatorType) Enum() *SetOperatorType
- func (SetOperatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetOperatorType) Number() protoreflect.EnumNumber
- func (x SetOperatorType) String() string
- func (SetOperatorType) Type() protoreflect.EnumType
- type StringUnit
- func (*StringUnit) Descriptor() ([]byte, []int)deprecated
- func (x *StringUnit) GetFrom() *Pos
- func (x *StringUnit) GetTo() *Pos
- func (x *StringUnit) GetValue() string
- func (*StringUnit) ProtoMessage()
- func (x *StringUnit) ProtoReflect() protoreflect.Message
- func (x *StringUnit) Reset()
- func (x *StringUnit) String() string
Constants ¶
This section is empty.
Variables ¶
var ( OperatorType_name = map[int32]string{ 0: "Plus", 1: "Minus", 2: "Multiply", 3: "Divide", 4: "Modulus", 5: "Gt", 6: "Lt", 7: "GtEq", 8: "LtEq", 9: "Eq", 10: "NotEq", 11: "And", 12: "Or", 13: "Not", 14: "Like", 15: "NotLike", 16: "None", } OperatorType_value = map[string]int32{ "Plus": 0, "Minus": 1, "Multiply": 2, "Divide": 3, "Modulus": 4, "Gt": 5, "Lt": 6, "GtEq": 7, "LtEq": 8, "Eq": 9, "NotEq": 10, "And": 11, "Or": 12, "Not": 13, "Like": 14, "NotLike": 15, "None": 16, } )
Enum value maps for OperatorType.
var ( AggType_name = map[int32]string{ 0: "UnknownAgg", 1: "MAX", 2: "MIN", 3: "COUNT", 4: "SUM", 5: "AVG", } AggType_value = map[string]int32{ "UnknownAgg": 0, "MAX": 1, "MIN": 2, "COUNT": 3, "SUM": 4, "AVG": 5, } )
Enum value maps for AggType.
var ( SetOperatorType_name = map[int32]string{ 0: "Union", 1: "Intersect", 2: "Except", } SetOperatorType_value = map[string]int32{ "Union": 0, "Intersect": 1, "Except": 2, } )
Enum value maps for SetOperatorType.
var ( JoinTypeCondition_name = map[int32]string{ 0: "INNER", 1: "LEFT", 2: "RIGHT", 3: "FULL", 4: "LEFTOUTER", 5: "RIGHTOUTER", 6: "FULLOUTER", 7: "IMPLICIT", } JoinTypeCondition_value = map[string]int32{ "INNER": 0, "LEFT": 1, "RIGHT": 2, "FULL": 3, "LEFTOUTER": 4, "RIGHTOUTER": 5, "FULLOUTER": 6, "IMPLICIT": 7, } )
Enum value maps for JoinTypeCondition.
var File_proto_sqlast_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AggFunction ¶
type AggFunction struct {
TypeName AggType `protobuf:"varint,1,opt,name=TypeName,proto3,enum=sqlast.AggType" json:"TypeName,omitempty"`
// starting from the second args. The first one is in FunctionField below
RestArgs []*CompoundIdent `protobuf:"bytes,2,rep,name=RestArgs,proto3" json:"RestArgs,omitempty"`
From *Pos `protobuf:"bytes,3,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,4,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*AggFunction) Descriptor
deprecated
func (*AggFunction) Descriptor() ([]byte, []int)
Deprecated: Use AggFunction.ProtoReflect.Descriptor instead.
func (*AggFunction) GetFrom ¶
func (x *AggFunction) GetFrom() *Pos
func (*AggFunction) GetRestArgs ¶
func (x *AggFunction) GetRestArgs() []*CompoundIdent
func (*AggFunction) GetTo ¶
func (x *AggFunction) GetTo() *Pos
func (*AggFunction) GetTypeName ¶
func (x *AggFunction) GetTypeName() AggType
func (*AggFunction) ProtoMessage ¶
func (*AggFunction) ProtoMessage()
func (*AggFunction) ProtoReflect ¶
func (x *AggFunction) ProtoReflect() protoreflect.Message
func (*AggFunction) Reset ¶
func (x *AggFunction) Reset()
func (*AggFunction) String ¶
func (x *AggFunction) String() string
type AggType ¶
type AggType int32
func (AggType) Descriptor ¶
func (AggType) Descriptor() protoreflect.EnumDescriptor
func (AggType) EnumDescriptor
deprecated
func (AggType) Number ¶
func (x AggType) Number() protoreflect.EnumNumber
func (AggType) Type ¶
func (AggType) Type() protoreflect.EnumType
type CompoundIdent ¶
type CompoundIdent struct {
Idents []*Ident `protobuf:"bytes,1,rep,name=Idents,proto3" json:"Idents,omitempty"`
// contains filtered or unexported fields
}
func (*CompoundIdent) Descriptor
deprecated
func (*CompoundIdent) Descriptor() ([]byte, []int)
Deprecated: Use CompoundIdent.ProtoReflect.Descriptor instead.
func (*CompoundIdent) GetIdents ¶
func (x *CompoundIdent) GetIdents() []*Ident
func (*CompoundIdent) ProtoMessage ¶
func (*CompoundIdent) ProtoMessage()
func (*CompoundIdent) ProtoReflect ¶
func (x *CompoundIdent) ProtoReflect() protoreflect.Message
func (*CompoundIdent) Reset ¶
func (x *CompoundIdent) Reset()
func (*CompoundIdent) String ¶
func (x *CompoundIdent) String() string
type DoubleUnit ¶
type DoubleUnit struct {
Value float64 `protobuf:"fixed64,1,opt,name=Value,proto3" json:"Value,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*DoubleUnit) Descriptor
deprecated
func (*DoubleUnit) Descriptor() ([]byte, []int)
Deprecated: Use DoubleUnit.ProtoReflect.Descriptor instead.
func (*DoubleUnit) GetFrom ¶
func (x *DoubleUnit) GetFrom() *Pos
func (*DoubleUnit) GetTo ¶
func (x *DoubleUnit) GetTo() *Pos
func (*DoubleUnit) GetValue ¶
func (x *DoubleUnit) GetValue() float64
func (*DoubleUnit) ProtoMessage ¶
func (*DoubleUnit) ProtoMessage()
func (*DoubleUnit) ProtoReflect ¶
func (x *DoubleUnit) ProtoReflect() protoreflect.Message
func (*DoubleUnit) Reset ¶
func (x *DoubleUnit) Reset()
func (*DoubleUnit) String ¶
func (x *DoubleUnit) String() string
type Ident ¶
type Ident struct {
Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Ident) Descriptor
deprecated
func (*Ident) ProtoMessage ¶
func (*Ident) ProtoMessage()
func (*Ident) ProtoReflect ¶
func (x *Ident) ProtoReflect() protoreflect.Message
type JoinType ¶
type JoinType struct {
Condition JoinTypeCondition `protobuf:"varint,1,opt,name=Condition,proto3,enum=sqlast.JoinTypeCondition" json:"Condition,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*JoinType) Descriptor
deprecated
func (*JoinType) GetCondition ¶
func (x *JoinType) GetCondition() JoinTypeCondition
func (*JoinType) ProtoMessage ¶
func (*JoinType) ProtoMessage()
func (*JoinType) ProtoReflect ¶
func (x *JoinType) ProtoReflect() protoreflect.Message
type JoinTypeCondition ¶
type JoinTypeCondition int32
const ( JoinTypeCondition_INNER JoinTypeCondition = 0 JoinTypeCondition_LEFT JoinTypeCondition = 1 JoinTypeCondition_RIGHT JoinTypeCondition = 2 JoinTypeCondition_FULL JoinTypeCondition = 3 JoinTypeCondition_LEFTOUTER JoinTypeCondition = 4 JoinTypeCondition_RIGHTOUTER JoinTypeCondition = 5 JoinTypeCondition_FULLOUTER JoinTypeCondition = 6 JoinTypeCondition_IMPLICIT JoinTypeCondition = 7 )
func (JoinTypeCondition) Descriptor ¶
func (JoinTypeCondition) Descriptor() protoreflect.EnumDescriptor
func (JoinTypeCondition) Enum ¶
func (x JoinTypeCondition) Enum() *JoinTypeCondition
func (JoinTypeCondition) EnumDescriptor
deprecated
func (JoinTypeCondition) EnumDescriptor() ([]byte, []int)
Deprecated: Use JoinTypeCondition.Descriptor instead.
func (JoinTypeCondition) Number ¶
func (x JoinTypeCondition) Number() protoreflect.EnumNumber
func (JoinTypeCondition) String ¶
func (x JoinTypeCondition) String() string
func (JoinTypeCondition) Type ¶
func (JoinTypeCondition) Type() protoreflect.EnumType
type LongUnit ¶
type LongUnit struct {
Value int64 `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*LongUnit) Descriptor
deprecated
func (*LongUnit) ProtoMessage ¶
func (*LongUnit) ProtoMessage()
func (*LongUnit) ProtoReflect ¶
func (x *LongUnit) ProtoReflect() protoreflect.Message
type Operator ¶
type Operator struct {
Type OperatorType `protobuf:"varint,1,opt,name=Type,proto3,enum=sqlast.OperatorType" json:"Type,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Operator) Descriptor
deprecated
func (*Operator) GetType ¶
func (x *Operator) GetType() OperatorType
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
type OperatorType ¶
type OperatorType int32
const ( OperatorType_Plus OperatorType = 0 OperatorType_Minus OperatorType = 1 OperatorType_Multiply OperatorType = 2 OperatorType_Divide OperatorType = 3 OperatorType_Modulus OperatorType = 4 OperatorType_Gt OperatorType = 5 OperatorType_Lt OperatorType = 6 OperatorType_GtEq OperatorType = 7 OperatorType_LtEq OperatorType = 8 OperatorType_Eq OperatorType = 9 OperatorType_NotEq OperatorType = 10 OperatorType_And OperatorType = 11 OperatorType_Or OperatorType = 12 OperatorType_Not OperatorType = 13 OperatorType_Like OperatorType = 14 OperatorType_NotLike OperatorType = 15 OperatorType_None OperatorType = 16 )
func (OperatorType) Descriptor ¶
func (OperatorType) Descriptor() protoreflect.EnumDescriptor
func (OperatorType) Enum ¶
func (x OperatorType) Enum() *OperatorType
func (OperatorType) EnumDescriptor
deprecated
func (OperatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperatorType.Descriptor instead.
func (OperatorType) Number ¶
func (x OperatorType) Number() protoreflect.EnumNumber
func (OperatorType) String ¶
func (x OperatorType) String() string
func (OperatorType) Type ¶
func (OperatorType) Type() protoreflect.EnumType
type Pos ¶
type Pos struct {
Line int32 `protobuf:"varint,1,opt,name=Line,proto3" json:"Line,omitempty"`
Col int32 `protobuf:"varint,2,opt,name=Col,proto3" json:"Col,omitempty"`
// contains filtered or unexported fields
}
func (*Pos) Descriptor
deprecated
func (*Pos) ProtoMessage ¶
func (*Pos) ProtoMessage()
func (*Pos) ProtoReflect ¶
func (x *Pos) ProtoReflect() protoreflect.Message
type QueryStmt ¶
type QueryStmt struct {
With *Pos `protobuf:"bytes,1,opt,name=With,proto3" json:"With,omitempty"`
CTEs []*QueryStmt_CTE `protobuf:"bytes,2,rep,name=CTEs,proto3" json:"CTEs,omitempty"`
Body *QueryStmt_SetOperationExpr `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`
OrderBy []*QueryStmt_OrderByExpr `protobuf:"bytes,5,rep,name=OrderBy,proto3" json:"OrderBy,omitempty"`
LimitExpression *QueryStmt_LimitExpr `protobuf:"bytes,6,opt,name=LimitExpression,proto3" json:"LimitExpression,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt) Descriptor
deprecated
func (*QueryStmt) GetBody ¶
func (x *QueryStmt) GetBody() *QueryStmt_SetOperationExpr
func (*QueryStmt) GetCTEs ¶
func (x *QueryStmt) GetCTEs() []*QueryStmt_CTE
func (*QueryStmt) GetLimitExpression ¶
func (x *QueryStmt) GetLimitExpression() *QueryStmt_LimitExpr
func (*QueryStmt) GetOrderBy ¶
func (x *QueryStmt) GetOrderBy() []*QueryStmt_OrderByExpr
func (*QueryStmt) ProtoMessage ¶
func (*QueryStmt) ProtoMessage()
func (*QueryStmt) ProtoReflect ¶
func (x *QueryStmt) ProtoReflect() protoreflect.Message
type QueryStmt_BinaryExpr ¶
type QueryStmt_BinaryExpr struct {
// Types that are assignable to LeftOneOf:
// *QueryStmt_BinaryExpr_LeftIdents
// *QueryStmt_BinaryExpr_LeftBinary
LeftOneOf isQueryStmt_BinaryExpr_LeftOneOf `protobuf_oneof:"LeftOneOf"`
Op *Operator `protobuf:"bytes,3,opt,name=Op,proto3" json:"Op,omitempty"`
// Types that are assignable to RightOneOf:
// *QueryStmt_BinaryExpr_RightIdents
// *QueryStmt_BinaryExpr_RightBinary
// *QueryStmt_BinaryExpr_QueryValue
// *QueryStmt_BinaryExpr_SingleQuotedString
// *QueryStmt_BinaryExpr_DoubleValue
// *QueryStmt_BinaryExpr_LongValue
RightOneOf isQueryStmt_BinaryExpr_RightOneOf `protobuf_oneof:"RightOneOf"`
// contains filtered or unexported fields
}
func (*QueryStmt_BinaryExpr) Descriptor
deprecated
func (*QueryStmt_BinaryExpr) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_BinaryExpr.ProtoReflect.Descriptor instead.
func (*QueryStmt_BinaryExpr) GetDoubleValue ¶
func (x *QueryStmt_BinaryExpr) GetDoubleValue() *DoubleUnit
func (*QueryStmt_BinaryExpr) GetLeftBinary ¶
func (x *QueryStmt_BinaryExpr) GetLeftBinary() *QueryStmt_BinaryExpr
func (*QueryStmt_BinaryExpr) GetLeftIdents ¶
func (x *QueryStmt_BinaryExpr) GetLeftIdents() *CompoundIdent
func (*QueryStmt_BinaryExpr) GetLeftOneOf ¶
func (m *QueryStmt_BinaryExpr) GetLeftOneOf() isQueryStmt_BinaryExpr_LeftOneOf
func (*QueryStmt_BinaryExpr) GetLongValue ¶
func (x *QueryStmt_BinaryExpr) GetLongValue() *LongUnit
func (*QueryStmt_BinaryExpr) GetOp ¶
func (x *QueryStmt_BinaryExpr) GetOp() *Operator
func (*QueryStmt_BinaryExpr) GetQueryValue ¶
func (x *QueryStmt_BinaryExpr) GetQueryValue() *QueryStmt_InSubQuery
func (*QueryStmt_BinaryExpr) GetRightBinary ¶
func (x *QueryStmt_BinaryExpr) GetRightBinary() *QueryStmt_BinaryExpr
func (*QueryStmt_BinaryExpr) GetRightIdents ¶
func (x *QueryStmt_BinaryExpr) GetRightIdents() *CompoundIdent
func (*QueryStmt_BinaryExpr) GetRightOneOf ¶
func (m *QueryStmt_BinaryExpr) GetRightOneOf() isQueryStmt_BinaryExpr_RightOneOf
func (*QueryStmt_BinaryExpr) GetSingleQuotedString ¶
func (x *QueryStmt_BinaryExpr) GetSingleQuotedString() *StringUnit
func (*QueryStmt_BinaryExpr) ProtoMessage ¶
func (*QueryStmt_BinaryExpr) ProtoMessage()
func (*QueryStmt_BinaryExpr) ProtoReflect ¶
func (x *QueryStmt_BinaryExpr) ProtoReflect() protoreflect.Message
func (*QueryStmt_BinaryExpr) Reset ¶
func (x *QueryStmt_BinaryExpr) Reset()
func (*QueryStmt_BinaryExpr) String ¶
func (x *QueryStmt_BinaryExpr) String() string
type QueryStmt_BinaryExpr_DoubleValue ¶
type QueryStmt_BinaryExpr_DoubleValue struct {
DoubleValue *DoubleUnit `protobuf:"bytes,8,opt,name=DoubleValue,proto3,oneof"`
}
type QueryStmt_BinaryExpr_LeftBinary ¶
type QueryStmt_BinaryExpr_LeftBinary struct {
LeftBinary *QueryStmt_BinaryExpr `protobuf:"bytes,2,opt,name=LeftBinary,proto3,oneof"`
}
type QueryStmt_BinaryExpr_LeftIdents ¶
type QueryStmt_BinaryExpr_LeftIdents struct {
LeftIdents *CompoundIdent `protobuf:"bytes,1,opt,name=LeftIdents,proto3,oneof"`
}
type QueryStmt_BinaryExpr_LongValue ¶
type QueryStmt_BinaryExpr_LongValue struct {
LongValue *LongUnit `protobuf:"bytes,9,opt,name=LongValue,proto3,oneof"`
}
type QueryStmt_BinaryExpr_QueryValue ¶
type QueryStmt_BinaryExpr_QueryValue struct {
QueryValue *QueryStmt_InSubQuery `protobuf:"bytes,6,opt,name=QueryValue,proto3,oneof"`
}
type QueryStmt_BinaryExpr_RightBinary ¶
type QueryStmt_BinaryExpr_RightBinary struct {
RightBinary *QueryStmt_BinaryExpr `protobuf:"bytes,5,opt,name=RightBinary,proto3,oneof"`
}
type QueryStmt_BinaryExpr_RightIdents ¶
type QueryStmt_BinaryExpr_RightIdents struct {
RightIdents *CompoundIdent `protobuf:"bytes,4,opt,name=RightIdents,proto3,oneof"`
}
type QueryStmt_BinaryExpr_SingleQuotedString ¶
type QueryStmt_BinaryExpr_SingleQuotedString struct {
SingleQuotedString *StringUnit `protobuf:"bytes,7,opt,name=SingleQuotedString,proto3,oneof"`
}
type QueryStmt_CTE ¶
type QueryStmt_CTE struct {
AliasName *Ident `protobuf:"bytes,1,opt,name=AliasName,proto3" json:"AliasName,omitempty"`
Query *QueryStmt `protobuf:"bytes,2,opt,name=Query,proto3" json:"Query,omitempty"`
RParen *Pos `protobuf:"bytes,3,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_CTE) Descriptor
deprecated
func (*QueryStmt_CTE) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_CTE.ProtoReflect.Descriptor instead.
func (*QueryStmt_CTE) GetAliasName ¶
func (x *QueryStmt_CTE) GetAliasName() *Ident
func (*QueryStmt_CTE) GetQuery ¶
func (x *QueryStmt_CTE) GetQuery() *QueryStmt
func (*QueryStmt_CTE) GetRParen ¶
func (x *QueryStmt_CTE) GetRParen() *Pos
func (*QueryStmt_CTE) ProtoMessage ¶
func (*QueryStmt_CTE) ProtoMessage()
func (*QueryStmt_CTE) ProtoReflect ¶
func (x *QueryStmt_CTE) ProtoReflect() protoreflect.Message
func (*QueryStmt_CTE) Reset ¶
func (x *QueryStmt_CTE) Reset()
func (*QueryStmt_CTE) String ¶
func (x *QueryStmt_CTE) String() string
type QueryStmt_InSubQuery ¶
type QueryStmt_InSubQuery struct {
Expr *CompoundIdent `protobuf:"bytes,1,opt,name=Expr,proto3" json:"Expr,omitempty"`
SubQuery *QueryStmt `protobuf:"bytes,2,opt,name=SubQuery,proto3" json:"SubQuery,omitempty"`
Negated bool `protobuf:"varint,3,opt,name=Negated,proto3" json:"Negated,omitempty"`
RParen *Pos `protobuf:"bytes,4,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_InSubQuery) Descriptor
deprecated
func (*QueryStmt_InSubQuery) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_InSubQuery.ProtoReflect.Descriptor instead.
func (*QueryStmt_InSubQuery) GetExpr ¶
func (x *QueryStmt_InSubQuery) GetExpr() *CompoundIdent
func (*QueryStmt_InSubQuery) GetNegated ¶
func (x *QueryStmt_InSubQuery) GetNegated() bool
func (*QueryStmt_InSubQuery) GetRParen ¶
func (x *QueryStmt_InSubQuery) GetRParen() *Pos
func (*QueryStmt_InSubQuery) GetSubQuery ¶
func (x *QueryStmt_InSubQuery) GetSubQuery() *QueryStmt
func (*QueryStmt_InSubQuery) ProtoMessage ¶
func (*QueryStmt_InSubQuery) ProtoMessage()
func (*QueryStmt_InSubQuery) ProtoReflect ¶
func (x *QueryStmt_InSubQuery) ProtoReflect() protoreflect.Message
func (*QueryStmt_InSubQuery) Reset ¶
func (x *QueryStmt_InSubQuery) Reset()
func (*QueryStmt_InSubQuery) String ¶
func (x *QueryStmt_InSubQuery) String() string
type QueryStmt_LimitExpr ¶
type QueryStmt_LimitExpr struct {
AllBool bool `protobuf:"varint,1,opt,name=AllBool,proto3" json:"AllBool,omitempty"`
AllPos *Pos `protobuf:"bytes,2,opt,name=AllPos,proto3" json:"AllPos,omitempty"`
Limit *Pos `protobuf:"bytes,3,opt,name=Limit,proto3" json:"Limit,omitempty"`
LimitValue *LongUnit `protobuf:"bytes,4,opt,name=LimitValue,proto3" json:"LimitValue,omitempty"`
OffsetValue *LongUnit `protobuf:"bytes,5,opt,name=OffsetValue,proto3" json:"OffsetValue,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_LimitExpr) Descriptor
deprecated
func (*QueryStmt_LimitExpr) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_LimitExpr.ProtoReflect.Descriptor instead.
func (*QueryStmt_LimitExpr) GetAllBool ¶
func (x *QueryStmt_LimitExpr) GetAllBool() bool
func (*QueryStmt_LimitExpr) GetAllPos ¶
func (x *QueryStmt_LimitExpr) GetAllPos() *Pos
func (*QueryStmt_LimitExpr) GetLimit ¶
func (x *QueryStmt_LimitExpr) GetLimit() *Pos
func (*QueryStmt_LimitExpr) GetLimitValue ¶
func (x *QueryStmt_LimitExpr) GetLimitValue() *LongUnit
func (*QueryStmt_LimitExpr) GetOffsetValue ¶
func (x *QueryStmt_LimitExpr) GetOffsetValue() *LongUnit
func (*QueryStmt_LimitExpr) ProtoMessage ¶
func (*QueryStmt_LimitExpr) ProtoMessage()
func (*QueryStmt_LimitExpr) ProtoReflect ¶
func (x *QueryStmt_LimitExpr) ProtoReflect() protoreflect.Message
func (*QueryStmt_LimitExpr) Reset ¶
func (x *QueryStmt_LimitExpr) Reset()
func (*QueryStmt_LimitExpr) String ¶
func (x *QueryStmt_LimitExpr) String() string
type QueryStmt_OrderByExpr ¶
type QueryStmt_OrderByExpr struct {
Expr *CompoundIdent `protobuf:"bytes,1,opt,name=Expr,proto3" json:"Expr,omitempty"`
OrderingPos *Pos `protobuf:"bytes,2,opt,name=OrderingPos,proto3" json:"OrderingPos,omitempty"`
ASCBool bool `protobuf:"varint,3,opt,name=ASCBool,proto3" json:"ASCBool,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_OrderByExpr) Descriptor
deprecated
func (*QueryStmt_OrderByExpr) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_OrderByExpr.ProtoReflect.Descriptor instead.
func (*QueryStmt_OrderByExpr) GetASCBool ¶
func (x *QueryStmt_OrderByExpr) GetASCBool() bool
func (*QueryStmt_OrderByExpr) GetExpr ¶
func (x *QueryStmt_OrderByExpr) GetExpr() *CompoundIdent
func (*QueryStmt_OrderByExpr) GetOrderingPos ¶
func (x *QueryStmt_OrderByExpr) GetOrderingPos() *Pos
func (*QueryStmt_OrderByExpr) ProtoMessage ¶
func (*QueryStmt_OrderByExpr) ProtoMessage()
func (*QueryStmt_OrderByExpr) ProtoReflect ¶
func (x *QueryStmt_OrderByExpr) ProtoReflect() protoreflect.Message
func (*QueryStmt_OrderByExpr) Reset ¶
func (x *QueryStmt_OrderByExpr) Reset()
func (*QueryStmt_OrderByExpr) String ¶
func (x *QueryStmt_OrderByExpr) String() string
type QueryStmt_SQLSelect ¶
type QueryStmt_SQLSelect struct {
DistinctBool bool `protobuf:"varint,1,opt,name=DistinctBool,proto3" json:"DistinctBool,omitempty"`
Projection []*QueryStmt_SQLSelect_SQLSelectItem `protobuf:"bytes,2,rep,name=Projection,proto3" json:"Projection,omitempty"`
FromClause []*QueryStmt_SQLSelect_QualifiedJoin `protobuf:"bytes,3,rep,name=FromClause,proto3" json:"FromClause,omitempty"`
// Types that are assignable to WhereClause:
// *QueryStmt_SQLSelect_InQuery
// *QueryStmt_SQLSelect_BinExpr
WhereClause isQueryStmt_SQLSelect_WhereClause `protobuf_oneof:"WhereClause"`
GroupByClause []*CompoundIdent `protobuf:"bytes,8,rep,name=GroupByClause,proto3" json:"GroupByClause,omitempty"`
HavingClause *QueryStmt_BinaryExpr `protobuf:"bytes,9,opt,name=HavingClause,proto3" json:"HavingClause,omitempty"`
Select *Pos `protobuf:"bytes,10,opt,name=Select,proto3" json:"Select,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_SQLSelect) Descriptor
deprecated
func (*QueryStmt_SQLSelect) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_SQLSelect.ProtoReflect.Descriptor instead.
func (*QueryStmt_SQLSelect) GetBinExpr ¶
func (x *QueryStmt_SQLSelect) GetBinExpr() *QueryStmt_BinaryExpr
func (*QueryStmt_SQLSelect) GetDistinctBool ¶
func (x *QueryStmt_SQLSelect) GetDistinctBool() bool
func (*QueryStmt_SQLSelect) GetFromClause ¶
func (x *QueryStmt_SQLSelect) GetFromClause() []*QueryStmt_SQLSelect_QualifiedJoin
func (*QueryStmt_SQLSelect) GetGroupByClause ¶
func (x *QueryStmt_SQLSelect) GetGroupByClause() []*CompoundIdent
func (*QueryStmt_SQLSelect) GetHavingClause ¶
func (x *QueryStmt_SQLSelect) GetHavingClause() *QueryStmt_BinaryExpr
func (*QueryStmt_SQLSelect) GetInQuery ¶
func (x *QueryStmt_SQLSelect) GetInQuery() *QueryStmt_InSubQuery
func (*QueryStmt_SQLSelect) GetProjection ¶
func (x *QueryStmt_SQLSelect) GetProjection() []*QueryStmt_SQLSelect_SQLSelectItem
func (*QueryStmt_SQLSelect) GetSelect ¶
func (x *QueryStmt_SQLSelect) GetSelect() *Pos
func (*QueryStmt_SQLSelect) GetWhereClause ¶
func (m *QueryStmt_SQLSelect) GetWhereClause() isQueryStmt_SQLSelect_WhereClause
func (*QueryStmt_SQLSelect) ProtoMessage ¶
func (*QueryStmt_SQLSelect) ProtoMessage()
func (*QueryStmt_SQLSelect) ProtoReflect ¶
func (x *QueryStmt_SQLSelect) ProtoReflect() protoreflect.Message
func (*QueryStmt_SQLSelect) Reset ¶
func (x *QueryStmt_SQLSelect) Reset()
func (*QueryStmt_SQLSelect) String ¶
func (x *QueryStmt_SQLSelect) String() string
type QueryStmt_SQLSelect_BinExpr ¶
type QueryStmt_SQLSelect_BinExpr struct {
BinExpr *QueryStmt_BinaryExpr `protobuf:"bytes,5,opt,name=BinExpr,proto3,oneof"`
}
type QueryStmt_SQLSelect_InQuery ¶
type QueryStmt_SQLSelect_InQuery struct {
InQuery *QueryStmt_InSubQuery `protobuf:"bytes,4,opt,name=InQuery,proto3,oneof"`
}
type QueryStmt_SQLSelect_QualifiedJoin ¶
type QueryStmt_SQLSelect_QualifiedJoin struct {
Name *CompoundIdent `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
AliasName *Ident `protobuf:"bytes,2,opt,name=AliasName,proto3" json:"AliasName,omitempty"`
LeftElement *QueryStmt_SQLSelect_QualifiedJoin `protobuf:"bytes,3,opt,name=LeftElement,proto3" json:"LeftElement,omitempty"`
TypeCondition *JoinType `protobuf:"bytes,4,opt,name=TypeCondition,proto3" json:"TypeCondition,omitempty"`
Spec *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition `protobuf:"bytes,5,opt,name=Spec,proto3" json:"Spec,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_SQLSelect_QualifiedJoin) Descriptor
deprecated
func (*QueryStmt_SQLSelect_QualifiedJoin) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_SQLSelect_QualifiedJoin.ProtoReflect.Descriptor instead.
func (*QueryStmt_SQLSelect_QualifiedJoin) GetAliasName ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetAliasName() *Ident
func (*QueryStmt_SQLSelect_QualifiedJoin) GetLeftElement ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetLeftElement() *QueryStmt_SQLSelect_QualifiedJoin
func (*QueryStmt_SQLSelect_QualifiedJoin) GetName ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetName() *CompoundIdent
func (*QueryStmt_SQLSelect_QualifiedJoin) GetSpec ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetSpec() *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition
func (*QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition() *JoinType
func (*QueryStmt_SQLSelect_QualifiedJoin) ProtoMessage ¶
func (*QueryStmt_SQLSelect_QualifiedJoin) ProtoMessage()
func (*QueryStmt_SQLSelect_QualifiedJoin) ProtoReflect ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) ProtoReflect() protoreflect.Message
func (*QueryStmt_SQLSelect_QualifiedJoin) Reset ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) Reset()
func (*QueryStmt_SQLSelect_QualifiedJoin) String ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) String() string
type QueryStmt_SQLSelect_QualifiedJoin_JoinCondition ¶
type QueryStmt_SQLSelect_QualifiedJoin_JoinCondition struct {
SearchCondition *QueryStmt_BinaryExpr `protobuf:"bytes,1,opt,name=SearchCondition,proto3" json:"SearchCondition,omitempty"`
On *Pos `protobuf:"bytes,2,opt,name=On,proto3" json:"On,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Descriptor
deprecated
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_SQLSelect_QualifiedJoin_JoinCondition.ProtoReflect.Descriptor instead.
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetOn ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetOn() *Pos
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetSearchCondition ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) GetSearchCondition() *QueryStmt_BinaryExpr
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoMessage ¶
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoMessage()
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoReflect ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) ProtoReflect() protoreflect.Message
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Reset ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) Reset()
func (*QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) String ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin_JoinCondition) String() string
type QueryStmt_SQLSelect_SQLSelectItem ¶
type QueryStmt_SQLSelect_SQLSelectItem struct {
FieldFunction *AggFunction `protobuf:"bytes,1,opt,name=FieldFunction,proto3" json:"FieldFunction,omitempty"`
FieldIdents *CompoundIdent `protobuf:"bytes,2,opt,name=FieldIdents,proto3" json:"FieldIdents,omitempty"`
AliasName *Ident `protobuf:"bytes,3,opt,name=AliasName,proto3" json:"AliasName,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_SQLSelect_SQLSelectItem) Descriptor
deprecated
func (*QueryStmt_SQLSelect_SQLSelectItem) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_SQLSelect_SQLSelectItem.ProtoReflect.Descriptor instead.
func (*QueryStmt_SQLSelect_SQLSelectItem) GetAliasName ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) GetAliasName() *Ident
func (*QueryStmt_SQLSelect_SQLSelectItem) GetFieldFunction ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) GetFieldFunction() *AggFunction
func (*QueryStmt_SQLSelect_SQLSelectItem) GetFieldIdents ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) GetFieldIdents() *CompoundIdent
func (*QueryStmt_SQLSelect_SQLSelectItem) ProtoMessage ¶
func (*QueryStmt_SQLSelect_SQLSelectItem) ProtoMessage()
func (*QueryStmt_SQLSelect_SQLSelectItem) ProtoReflect ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) ProtoReflect() protoreflect.Message
func (*QueryStmt_SQLSelect_SQLSelectItem) Reset ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) Reset()
func (*QueryStmt_SQLSelect_SQLSelectItem) String ¶
func (x *QueryStmt_SQLSelect_SQLSelectItem) String() string
type QueryStmt_SetOperationExpr ¶
type QueryStmt_SetOperationExpr struct {
LeftSide *QueryStmt_SQLSelect `protobuf:"bytes,1,opt,name=LeftSide,proto3" json:"LeftSide,omitempty"`
AllBool bool `protobuf:"varint,2,opt,name=AllBool,proto3" json:"AllBool,omitempty"`
Op *SetOperator `protobuf:"bytes,3,opt,name=Op,proto3" json:"Op,omitempty"`
RightSide *QueryStmt_SetOperationExpr `protobuf:"bytes,4,opt,name=RightSide,proto3" json:"RightSide,omitempty"`
// contains filtered or unexported fields
}
func (*QueryStmt_SetOperationExpr) Descriptor
deprecated
func (*QueryStmt_SetOperationExpr) Descriptor() ([]byte, []int)
Deprecated: Use QueryStmt_SetOperationExpr.ProtoReflect.Descriptor instead.
func (*QueryStmt_SetOperationExpr) GetAllBool ¶
func (x *QueryStmt_SetOperationExpr) GetAllBool() bool
func (*QueryStmt_SetOperationExpr) GetLeftSide ¶
func (x *QueryStmt_SetOperationExpr) GetLeftSide() *QueryStmt_SQLSelect
func (*QueryStmt_SetOperationExpr) GetOp ¶
func (x *QueryStmt_SetOperationExpr) GetOp() *SetOperator
func (*QueryStmt_SetOperationExpr) GetRightSide ¶
func (x *QueryStmt_SetOperationExpr) GetRightSide() *QueryStmt_SetOperationExpr
func (*QueryStmt_SetOperationExpr) ProtoMessage ¶
func (*QueryStmt_SetOperationExpr) ProtoMessage()
func (*QueryStmt_SetOperationExpr) ProtoReflect ¶
func (x *QueryStmt_SetOperationExpr) ProtoReflect() protoreflect.Message
func (*QueryStmt_SetOperationExpr) Reset ¶
func (x *QueryStmt_SetOperationExpr) Reset()
func (*QueryStmt_SetOperationExpr) String ¶
func (x *QueryStmt_SetOperationExpr) String() string
type SetOperator ¶
type SetOperator struct {
Type SetOperatorType `protobuf:"varint,1,opt,name=Type,proto3,enum=sqlast.SetOperatorType" json:"Type,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*SetOperator) Descriptor
deprecated
func (*SetOperator) Descriptor() ([]byte, []int)
Deprecated: Use SetOperator.ProtoReflect.Descriptor instead.
func (*SetOperator) GetFrom ¶
func (x *SetOperator) GetFrom() *Pos
func (*SetOperator) GetTo ¶
func (x *SetOperator) GetTo() *Pos
func (*SetOperator) GetType ¶
func (x *SetOperator) GetType() SetOperatorType
func (*SetOperator) ProtoMessage ¶
func (*SetOperator) ProtoMessage()
func (*SetOperator) ProtoReflect ¶
func (x *SetOperator) ProtoReflect() protoreflect.Message
func (*SetOperator) Reset ¶
func (x *SetOperator) Reset()
func (*SetOperator) String ¶
func (x *SetOperator) String() string
type SetOperatorType ¶
type SetOperatorType int32
const ( SetOperatorType_Union SetOperatorType = 0 SetOperatorType_Intersect SetOperatorType = 1 SetOperatorType_Except SetOperatorType = 2 )
func (SetOperatorType) Descriptor ¶
func (SetOperatorType) Descriptor() protoreflect.EnumDescriptor
func (SetOperatorType) Enum ¶
func (x SetOperatorType) Enum() *SetOperatorType
func (SetOperatorType) EnumDescriptor
deprecated
func (SetOperatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetOperatorType.Descriptor instead.
func (SetOperatorType) Number ¶
func (x SetOperatorType) Number() protoreflect.EnumNumber
func (SetOperatorType) String ¶
func (x SetOperatorType) String() string
func (SetOperatorType) Type ¶
func (SetOperatorType) Type() protoreflect.EnumType
type StringUnit ¶
type StringUnit struct {
Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
From *Pos `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*StringUnit) Descriptor
deprecated
func (*StringUnit) Descriptor() ([]byte, []int)
Deprecated: Use StringUnit.ProtoReflect.Descriptor instead.
func (*StringUnit) GetFrom ¶
func (x *StringUnit) GetFrom() *Pos
func (*StringUnit) GetTo ¶
func (x *StringUnit) GetTo() *Pos
func (*StringUnit) GetValue ¶
func (x *StringUnit) GetValue() string
func (*StringUnit) ProtoMessage ¶
func (*StringUnit) ProtoMessage()
func (*StringUnit) ProtoReflect ¶
func (x *StringUnit) ProtoReflect() protoreflect.Message
func (*StringUnit) Reset ¶
func (x *StringUnit) Reset()
func (*StringUnit) String ¶
func (x *StringUnit) String() string