Documentation
¶
Index ¶
- Variables
- type AggFunction
- func (*AggFunction) Descriptor() ([]byte, []int)deprecated
- func (x *AggFunction) GetRestArgs() []*CompoundIdent
- 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 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 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 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 (*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() float64
- 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() int64
- func (x *QueryStmt_BinaryExpr) GetOp() OperatorType
- 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() string
- 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() string
- func (x *QueryStmt_CTE) GetQuery() *QueryStmt
- 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) 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) GetLimitValue() int64
- func (x *QueryStmt_LimitExpr) GetOffsetValue() int64
- 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 (*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 (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() string
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetLeftElement() *QueryStmt_SQLSelect_QualifiedJoin
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetName() *CompoundIdent
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetSpec() *QueryStmt_BinaryExpr
- func (x *QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition() JoinTypeCondition
- 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_SQLSelectItem
- func (*QueryStmt_SQLSelect_SQLSelectItem) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt_SQLSelect_SQLSelectItem) GetAliasName() string
- 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() SetOperatorType
- 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 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
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_sqlight_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AggFunction ¶
type AggFunction struct {
TypeName AggType `protobuf:"varint,1,opt,name=typeName,proto3,enum=sqlight.AggType" json:"typeName,omitempty"`
RestArgs []*CompoundIdent `protobuf:"bytes,2,rep,name=restArgs,proto3" json:"restArgs,omitempty"`
// contains filtered or unexported fields
}
func (*AggFunction) Descriptor
deprecated
func (*AggFunction) Descriptor() ([]byte, []int)
Deprecated: Use AggFunction.ProtoReflect.Descriptor instead.
func (*AggFunction) GetRestArgs ¶
func (x *AggFunction) GetRestArgs() []*CompoundIdent
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 []string `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() []string
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 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 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 QueryStmt ¶
type QueryStmt struct {
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 OperatorType `protobuf:"varint,3,opt,name=op,proto3,enum=sqlight.OperatorType" 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() float64
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() int64
func (*QueryStmt_BinaryExpr) GetOp ¶
func (x *QueryStmt_BinaryExpr) GetOp() OperatorType
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() string
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 float64 `protobuf:"fixed64,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 int64 `protobuf:"varint,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 string `protobuf:"bytes,7,opt,name=singleQuotedString,proto3,oneof"`
}
type QueryStmt_CTE ¶
type QueryStmt_CTE struct {
AliasName string `protobuf:"bytes,1,opt,name=aliasName,proto3" json:"aliasName,omitempty"`
Query *QueryStmt `protobuf:"bytes,2,opt,name=query,proto3" json:"query,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() string
func (*QueryStmt_CTE) GetQuery ¶
func (x *QueryStmt_CTE) GetQuery() *QueryStmt
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"`
// 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) 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"`
LimitValue int64 `protobuf:"varint,4,opt,name=limitValue,proto3" json:"limitValue,omitempty"`
OffsetValue int64 `protobuf:"varint,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) GetLimitValue ¶
func (x *QueryStmt_LimitExpr) GetLimitValue() int64
func (*QueryStmt_LimitExpr) GetOffsetValue ¶
func (x *QueryStmt_LimitExpr) GetOffsetValue() int64
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"`
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) 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"`
// 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) 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 string `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 JoinTypeCondition `protobuf:"varint,4,opt,name=typeCondition,proto3,enum=sqlight.JoinTypeCondition" json:"typeCondition,omitempty"`
Spec *QueryStmt_BinaryExpr `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() string
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_BinaryExpr
func (*QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition ¶
func (x *QueryStmt_SQLSelect_QualifiedJoin) GetTypeCondition() JoinTypeCondition
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_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 string `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() string
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 SetOperatorType `protobuf:"varint,3,opt,name=op,proto3,enum=sqlight.SetOperatorType" 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() SetOperatorType
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 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