Documentation
¶
Index ¶
- Variables
- type AggFunction
- func (*AggFunction) Descriptor() ([]byte, []int)deprecated
- func (x *AggFunction) GetFrom() *Pos
- func (x *AggFunction) GetRestArgs() []*AggFunction_ArgsMessage
- 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 AggFunction_ArgsMessage
- func (*AggFunction_ArgsMessage) Descriptor() ([]byte, []int)deprecated
- func (m *AggFunction_ArgsMessage) GetArgsClause() isAggFunction_ArgsMessage_ArgsClause
- func (x *AggFunction_ArgsMessage) GetFieldCase() *CaseExpr
- func (x *AggFunction_ArgsMessage) GetFieldFunction() *AggFunction
- func (x *AggFunction_ArgsMessage) GetFieldIdents() *CompoundIdent
- func (*AggFunction_ArgsMessage) ProtoMessage()
- func (x *AggFunction_ArgsMessage) ProtoReflect() protoreflect.Message
- func (x *AggFunction_ArgsMessage) Reset()
- func (x *AggFunction_ArgsMessage) String() string
- type AggFunction_ArgsMessage_FieldCase
- type AggFunction_ArgsMessage_FieldFunction
- type AggFunction_ArgsMessage_FieldIdents
- type AggType
- type AutoIncrement
- func (*AutoIncrement) Descriptor() ([]byte, []int)deprecated
- func (x *AutoIncrement) GetAuto() *Pos
- func (x *AutoIncrement) GetIncrement() *Pos
- func (*AutoIncrement) ProtoMessage()
- func (x *AutoIncrement) ProtoReflect() protoreflect.Message
- func (x *AutoIncrement) Reset()
- func (x *AutoIncrement) String() string
- type BigInt
- func (*BigInt) Descriptor() ([]byte, []int)deprecated
- func (x *BigInt) GetFrom() *Pos
- func (x *BigInt) GetIsUnsigned() bool
- func (x *BigInt) GetTo() *Pos
- func (x *BigInt) GetUnsigned() *Pos
- func (*BigInt) ProtoMessage()
- func (x *BigInt) ProtoReflect() protoreflect.Message
- func (x *BigInt) Reset()
- func (x *BigInt) String() string
- type BinaryExpr
- func (*BinaryExpr) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryExpr) GetDoubleValue() *DoubleValue
- func (x *BinaryExpr) GetLeftBinary() *BinaryExpr
- func (x *BinaryExpr) GetLeftDouble() *DoubleValue
- func (x *BinaryExpr) GetLeftIdents() *CompoundIdent
- func (x *BinaryExpr) GetLeftLong() *LongValue
- func (m *BinaryExpr) GetLeftOneOf() isBinaryExpr_LeftOneOf
- func (x *BinaryExpr) GetLeftSingleQuoted() *SingleQuotedString
- func (x *BinaryExpr) GetLongValue() *LongValue
- func (x *BinaryExpr) GetOp() *Operator
- func (x *BinaryExpr) GetQueryValue() *InSubQuery
- func (x *BinaryExpr) GetRightBinary() *BinaryExpr
- func (x *BinaryExpr) GetRightIdents() *CompoundIdent
- func (m *BinaryExpr) GetRightOneOf() isBinaryExpr_RightOneOf
- func (x *BinaryExpr) GetSingleQuotedString() *SingleQuotedString
- func (*BinaryExpr) ProtoMessage()
- func (x *BinaryExpr) ProtoReflect() protoreflect.Message
- func (x *BinaryExpr) Reset()
- func (x *BinaryExpr) String() string
- type BinaryExpr_DoubleValue
- type BinaryExpr_LeftBinary
- type BinaryExpr_LeftDouble
- type BinaryExpr_LeftIdents
- type BinaryExpr_LeftLong
- type BinaryExpr_LeftSingleQuoted
- type BinaryExpr_LongValue
- type BinaryExpr_QueryValue
- type BinaryExpr_RightBinary
- type BinaryExpr_RightIdents
- type BinaryExpr_SingleQuotedString
- type Boolean
- type Bytea
- type CaseExpr
- func (*CaseExpr) Descriptor() ([]byte, []int)deprecated
- func (x *CaseExpr) GetCase() *Pos
- func (x *CaseExpr) GetCaseEnd() *Pos
- func (x *CaseExpr) GetConditions() []*BinaryExpr
- func (x *CaseExpr) GetElseResult() *Ident
- func (x *CaseExpr) GetOperand() *Operator
- func (x *CaseExpr) GetResults() []*ResultMessage
- func (*CaseExpr) ProtoMessage()
- func (x *CaseExpr) ProtoReflect() protoreflect.Message
- func (x *CaseExpr) Reset()
- func (x *CaseExpr) String() string
- type CharType
- func (*CharType) Descriptor() ([]byte, []int)deprecated
- func (x *CharType) GetFrom() *Pos
- func (x *CharType) GetSize() uint32
- func (x *CharType) GetTo() *Pos
- func (*CharType) ProtoMessage()
- func (x *CharType) ProtoReflect() protoreflect.Message
- func (x *CharType) Reset()
- func (x *CharType) String() string
- type CheckColumnSpec
- func (*CheckColumnSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CheckColumnSpec) GetCheck() *Pos
- func (x *CheckColumnSpec) GetExpr() *BinaryExpr
- func (x *CheckColumnSpec) GetRParen() *Pos
- func (*CheckColumnSpec) ProtoMessage()
- func (x *CheckColumnSpec) ProtoReflect() protoreflect.Message
- func (x *CheckColumnSpec) Reset()
- func (x *CheckColumnSpec) String() string
- type CheckTableConstraint
- func (*CheckTableConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTableConstraint) GetCheck() *Pos
- func (x *CheckTableConstraint) GetExpr() *BinaryExpr
- func (x *CheckTableConstraint) GetRParen() *Pos
- func (*CheckTableConstraint) ProtoMessage()
- func (x *CheckTableConstraint) ProtoReflect() protoreflect.Message
- func (x *CheckTableConstraint) Reset()
- func (x *CheckTableConstraint) String() string
- type ColumnConstraint
- func (*ColumnConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnConstraint) GetCheckSpec() *CheckColumnSpec
- func (x *ColumnConstraint) GetConstraint() *Pos
- func (x *ColumnConstraint) GetName() *Ident
- func (x *ColumnConstraint) GetNotNullSpec() *NotNullColumnSpec
- func (x *ColumnConstraint) GetReferenceSpec() *ReferencesColumnSpec
- func (m *ColumnConstraint) GetSpec() isColumnConstraint_Spec
- func (x *ColumnConstraint) GetUniqueSpec() *UniqueColumnSpec
- func (*ColumnConstraint) ProtoMessage()
- func (x *ColumnConstraint) ProtoReflect() protoreflect.Message
- func (x *ColumnConstraint) Reset()
- func (x *ColumnConstraint) String() string
- type ColumnConstraint_CheckSpec
- type ColumnConstraint_NotNullSpec
- type ColumnConstraint_ReferenceSpec
- type ColumnConstraint_UniqueSpec
- type ColumnDef
- func (*ColumnDef) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnDef) GetBigIntData() *BigInt
- func (x *ColumnDef) GetCharData() *CharType
- func (x *ColumnDef) GetConstraints() []*ColumnConstraint
- func (m *ColumnDef) GetDataType() isColumnDef_DataType
- func (m *ColumnDef) GetDefault() isColumnDef_Default
- func (x *ColumnDef) GetIdentDefault() *Ident
- func (x *ColumnDef) GetIntData() *Int
- func (x *ColumnDef) GetLongDefault() *LongValue
- func (x *ColumnDef) GetMyDecos() []*MyDataTypeDecoration
- func (x *ColumnDef) GetName() *Ident
- func (x *ColumnDef) GetSmallIntData() *SmallInt
- func (x *ColumnDef) GetStringDefault() *SingleQuotedString
- func (x *ColumnDef) GetTimestampData() *Timestamp
- func (x *ColumnDef) GetUUIDData() *UUID
- func (x *ColumnDef) GetVarcharData() *VarcharType
- func (*ColumnDef) ProtoMessage()
- func (x *ColumnDef) ProtoReflect() protoreflect.Message
- func (x *ColumnDef) Reset()
- func (x *ColumnDef) String() string
- type ColumnDef_BigIntData
- type ColumnDef_CharData
- type ColumnDef_IdentDefault
- type ColumnDef_IntData
- type ColumnDef_LongDefault
- type ColumnDef_SmallIntData
- type ColumnDef_StringDefault
- type ColumnDef_TimestampData
- type ColumnDef_UUIDData
- type ColumnDef_VarcharData
- type CompoundIdent
- type CreateIndexStmt
- func (*CreateIndexStmt) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIndexStmt) GetBinExpr() *BinaryExpr
- func (x *CreateIndexStmt) GetColumnNames() []*Ident
- func (x *CreateIndexStmt) GetCreate() *Pos
- func (x *CreateIndexStmt) GetInQuery() *InSubQuery
- func (x *CreateIndexStmt) GetIndexName() *Ident
- func (x *CreateIndexStmt) GetIsUnique() bool
- func (x *CreateIndexStmt) GetMethodName() *Ident
- func (x *CreateIndexStmt) GetRParen() *Pos
- func (m *CreateIndexStmt) GetSelection() isCreateIndexStmt_Selection
- func (x *CreateIndexStmt) GetTableName() *ObjectName
- func (*CreateIndexStmt) ProtoMessage()
- func (x *CreateIndexStmt) ProtoReflect() protoreflect.Message
- func (x *CreateIndexStmt) Reset()
- func (x *CreateIndexStmt) String() string
- type CreateIndexStmt_BinExpr
- type CreateIndexStmt_InQuery
- type CreateTableStmt
- func (*CreateTableStmt) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTableStmt) GetCreate() *Pos
- func (x *CreateTableStmt) GetElements() []*TableElement
- func (x *CreateTableStmt) GetLocation() string
- func (x *CreateTableStmt) GetName() *ObjectName
- func (x *CreateTableStmt) GetNotExists() bool
- func (x *CreateTableStmt) GetOptions() []*TableOption
- func (*CreateTableStmt) ProtoMessage()
- func (x *CreateTableStmt) ProtoReflect() protoreflect.Message
- func (x *CreateTableStmt) Reset()
- func (x *CreateTableStmt) String() string
- type Custom
- type Date
- type Decimal
- func (*Decimal) Descriptor() ([]byte, []int)deprecated
- func (x *Decimal) GetIsUnsigned() bool
- func (x *Decimal) GetNumeric() *Pos
- func (x *Decimal) GetPrecision() uint32
- func (x *Decimal) GetRParen() *Pos
- func (x *Decimal) GetScale() uint32
- func (x *Decimal) GetUnsigned() *Pos
- func (*Decimal) ProtoMessage()
- func (x *Decimal) ProtoReflect() protoreflect.Message
- func (x *Decimal) Reset()
- func (x *Decimal) String() string
- type Double
- type DoubleValue
- func (*DoubleValue) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleValue) GetFrom() *Pos
- func (x *DoubleValue) GetTo() *Pos
- func (x *DoubleValue) GetValue() float64
- func (*DoubleValue) ProtoMessage()
- func (x *DoubleValue) ProtoReflect() protoreflect.Message
- func (x *DoubleValue) Reset()
- func (x *DoubleValue) String() string
- type Float
- func (*Float) Descriptor() ([]byte, []int)deprecated
- func (x *Float) GetFrom() *Pos
- func (x *Float) GetIsUnsigned() bool
- func (x *Float) GetSize() uint32
- func (x *Float) GetTo() *Pos
- func (x *Float) GetUnsigned() *Pos
- func (*Float) ProtoMessage()
- func (x *Float) ProtoReflect() protoreflect.Message
- func (x *Float) Reset()
- func (x *Float) String() string
- type Ident
- type InSubQuery
- func (*InSubQuery) Descriptor() ([]byte, []int)deprecated
- func (x *InSubQuery) GetExpr() *CompoundIdent
- func (x *InSubQuery) GetNegated() bool
- func (x *InSubQuery) GetRParen() *Pos
- func (x *InSubQuery) GetSubQuery() *QueryStmt
- func (*InSubQuery) ProtoMessage()
- func (x *InSubQuery) ProtoReflect() protoreflect.Message
- func (x *InSubQuery) Reset()
- func (x *InSubQuery) String() string
- type Int
- func (*Int) Descriptor() ([]byte, []int)deprecated
- func (x *Int) GetFrom() *Pos
- func (x *Int) GetIsUnsigned() bool
- func (x *Int) GetTo() *Pos
- func (x *Int) GetUnsigned() *Pos
- func (*Int) ProtoMessage()
- func (x *Int) ProtoReflect() protoreflect.Message
- func (x *Int) Reset()
- func (x *Int) String() string
- type JoinCondition
- func (*JoinCondition) Descriptor() ([]byte, []int)deprecated
- func (x *JoinCondition) GetOn() *Pos
- func (x *JoinCondition) GetSearchCondition() *BinaryExpr
- func (*JoinCondition) ProtoMessage()
- func (x *JoinCondition) ProtoReflect() protoreflect.Message
- func (x *JoinCondition) Reset()
- func (x *JoinCondition) String() string
- 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 LimitExpr
- func (*LimitExpr) Descriptor() ([]byte, []int)deprecated
- func (x *LimitExpr) GetAllBool() bool
- func (x *LimitExpr) GetAllPos() *Pos
- func (x *LimitExpr) GetLimit() *Pos
- func (x *LimitExpr) GetLimitValue() *LongValue
- func (x *LimitExpr) GetOffsetValue() *LongValue
- func (*LimitExpr) ProtoMessage()
- func (x *LimitExpr) ProtoReflect() protoreflect.Message
- func (x *LimitExpr) Reset()
- func (x *LimitExpr) String() string
- type LongValue
- func (*LongValue) Descriptor() ([]byte, []int)deprecated
- func (x *LongValue) GetFrom() *Pos
- func (x *LongValue) GetTo() *Pos
- func (x *LongValue) GetValue() int64
- func (*LongValue) ProtoMessage()
- func (x *LongValue) ProtoReflect() protoreflect.Message
- func (x *LongValue) Reset()
- func (x *LongValue) String() string
- type MyCharset
- func (*MyCharset) Descriptor() ([]byte, []int)deprecated
- func (x *MyCharset) GetCharset() *Pos
- func (x *MyCharset) GetDefault() *Pos
- func (x *MyCharset) GetEqual() bool
- func (x *MyCharset) GetIsDefault() bool
- func (x *MyCharset) GetName() *Ident
- func (*MyCharset) ProtoMessage()
- func (x *MyCharset) ProtoReflect() protoreflect.Message
- func (x *MyCharset) Reset()
- func (x *MyCharset) String() string
- type MyDataTypeDecoration
- func (*MyDataTypeDecoration) Descriptor() ([]byte, []int)deprecated
- func (x *MyDataTypeDecoration) GetAutoment() *AutoIncrement
- func (*MyDataTypeDecoration) ProtoMessage()
- func (x *MyDataTypeDecoration) ProtoReflect() protoreflect.Message
- func (x *MyDataTypeDecoration) Reset()
- func (x *MyDataTypeDecoration) String() string
- type MyEngine
- func (*MyEngine) Descriptor() ([]byte, []int)deprecated
- func (x *MyEngine) GetEngine() *Pos
- func (x *MyEngine) GetEqual() bool
- func (x *MyEngine) GetName() *Ident
- func (*MyEngine) ProtoMessage()
- func (x *MyEngine) ProtoReflect() protoreflect.Message
- func (x *MyEngine) Reset()
- func (x *MyEngine) String() string
- type Nested
- func (*Nested) Descriptor() ([]byte, []int)deprecated
- func (x *Nested) GetAST() *SQLSelectItem
- func (x *Nested) GetLParen() *Pos
- func (x *Nested) GetRParen() *Pos
- func (*Nested) ProtoMessage()
- func (x *Nested) ProtoReflect() protoreflect.Message
- func (x *Nested) Reset()
- func (x *Nested) String() string
- type NotNullColumnSpec
- func (*NotNullColumnSpec) Descriptor() ([]byte, []int)deprecated
- func (x *NotNullColumnSpec) GetNot() *Pos
- func (x *NotNullColumnSpec) GetNull() *Pos
- func (*NotNullColumnSpec) ProtoMessage()
- func (x *NotNullColumnSpec) ProtoReflect() protoreflect.Message
- func (x *NotNullColumnSpec) Reset()
- func (x *NotNullColumnSpec) String() string
- type ObjectName
- 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 OrderByExpr
- func (*OrderByExpr) Descriptor() ([]byte, []int)deprecated
- func (x *OrderByExpr) GetASCBool() bool
- func (x *OrderByExpr) GetExpr() *CompoundIdent
- func (x *OrderByExpr) GetOrderingPos() *Pos
- func (*OrderByExpr) ProtoMessage()
- func (x *OrderByExpr) ProtoReflect() protoreflect.Message
- func (x *OrderByExpr) Reset()
- func (x *OrderByExpr) String() string
- type Pos
- type QualifiedJoin
- func (*QualifiedJoin) Descriptor() ([]byte, []int)deprecated
- func (x *QualifiedJoin) GetAliasName() *Ident
- func (x *QualifiedJoin) GetLeftElement() *QualifiedJoin
- func (x *QualifiedJoin) GetName() *ObjectName
- func (x *QualifiedJoin) GetSpec() *JoinCondition
- func (x *QualifiedJoin) GetTypeCondition() *JoinType
- func (*QualifiedJoin) ProtoMessage()
- func (x *QualifiedJoin) ProtoReflect() protoreflect.Message
- func (x *QualifiedJoin) Reset()
- func (x *QualifiedJoin) String() string
- type QueryStmt
- func (*QueryStmt) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStmt) GetBody() *SetOperationExpr
- func (x *QueryStmt) GetCTEs() []*QueryStmt_CTE
- func (x *QueryStmt) GetLimitExpression() *LimitExpr
- func (x *QueryStmt) GetOrderBy() []*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_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 Real
- func (*Real) Descriptor() ([]byte, []int)deprecated
- func (x *Real) GetFrom() *Pos
- func (x *Real) GetIsUnsigned() bool
- func (x *Real) GetTo() *Pos
- func (x *Real) GetUnsigned() *Pos
- func (*Real) ProtoMessage()
- func (x *Real) ProtoReflect() protoreflect.Message
- func (x *Real) Reset()
- func (x *Real) String() string
- type ReferenceKeyExpr
- func (*ReferenceKeyExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceKeyExpr) GetColumns() []*Ident
- func (x *ReferenceKeyExpr) GetRParen() *Pos
- func (x *ReferenceKeyExpr) GetTableName() *Ident
- func (*ReferenceKeyExpr) ProtoMessage()
- func (x *ReferenceKeyExpr) ProtoReflect() protoreflect.Message
- func (x *ReferenceKeyExpr) Reset()
- func (x *ReferenceKeyExpr) String() string
- type ReferencesColumnSpec
- func (*ReferencesColumnSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ReferencesColumnSpec) GetColumns() []*Ident
- func (x *ReferencesColumnSpec) GetRParen() *Pos
- func (x *ReferencesColumnSpec) GetReferences() *Pos
- func (x *ReferencesColumnSpec) GetTableName() *ObjectName
- func (*ReferencesColumnSpec) ProtoMessage()
- func (x *ReferencesColumnSpec) ProtoReflect() protoreflect.Message
- func (x *ReferencesColumnSpec) Reset()
- func (x *ReferencesColumnSpec) String() string
- type ReferentialTableConstraint
- func (*ReferentialTableConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *ReferentialTableConstraint) GetColumns() []*Ident
- func (x *ReferentialTableConstraint) GetForeign() *Pos
- func (x *ReferentialTableConstraint) GetKeyExpr() *ReferenceKeyExpr
- func (*ReferentialTableConstraint) ProtoMessage()
- func (x *ReferentialTableConstraint) ProtoReflect() protoreflect.Message
- func (x *ReferentialTableConstraint) Reset()
- func (x *ReferentialTableConstraint) String() string
- type Regclass
- type ResultMessage
- func (*ResultMessage) Descriptor() ([]byte, []int)deprecated
- func (m *ResultMessage) GetResultClause() isResultMessage_ResultClause
- func (x *ResultMessage) GetResultIdent() *Ident
- func (x *ResultMessage) GetResultUnary() *UnaryExpr
- func (*ResultMessage) ProtoMessage()
- func (x *ResultMessage) ProtoReflect() protoreflect.Message
- func (x *ResultMessage) Reset()
- func (x *ResultMessage) String() string
- type ResultMessage_ResultIdent
- type ResultMessage_ResultUnary
- type SQLSelect
- func (*SQLSelect) Descriptor() ([]byte, []int)deprecated
- func (x *SQLSelect) GetBinExpr() *BinaryExpr
- func (x *SQLSelect) GetDistinctBool() bool
- func (x *SQLSelect) GetFromClause() []*QualifiedJoin
- func (x *SQLSelect) GetGroupByClause() []*CompoundIdent
- func (x *SQLSelect) GetHavingClause() *BinaryExpr
- func (x *SQLSelect) GetInQuery() *InSubQuery
- func (x *SQLSelect) GetProjection() []*SQLSelectItem
- func (x *SQLSelect) GetSelect() *Pos
- func (m *SQLSelect) GetWhereClause() isSQLSelect_WhereClause
- func (*SQLSelect) ProtoMessage()
- func (x *SQLSelect) ProtoReflect() protoreflect.Message
- func (x *SQLSelect) Reset()
- func (x *SQLSelect) String() string
- type SQLSelectItem
- func (*SQLSelectItem) Descriptor() ([]byte, []int)deprecated
- func (x *SQLSelectItem) GetAliasName() *Ident
- func (x *SQLSelectItem) GetFieldBinary() *BinaryExpr
- func (x *SQLSelectItem) GetFieldCase() *CaseExpr
- func (x *SQLSelectItem) GetFieldFunction() *AggFunction
- func (x *SQLSelectItem) GetFieldIdents() *CompoundIdent
- func (x *SQLSelectItem) GetFieldNested() *Nested
- func (x *SQLSelectItem) GetFieldUnary() *UnaryExpr
- func (m *SQLSelectItem) GetSelectItemClause() isSQLSelectItem_SelectItemClause
- func (*SQLSelectItem) ProtoMessage()
- func (x *SQLSelectItem) ProtoReflect() protoreflect.Message
- func (x *SQLSelectItem) Reset()
- func (x *SQLSelectItem) String() string
- type SQLSelectItem_FieldBinary
- type SQLSelectItem_FieldCase
- type SQLSelectItem_FieldFunction
- type SQLSelectItem_FieldIdents
- type SQLSelectItem_FieldNested
- type SQLSelectItem_FieldUnary
- type SQLSelect_BinExpr
- type SQLSelect_InQuery
- type SetOperationExpr
- func (*SetOperationExpr) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperationExpr) GetAllBool() bool
- func (x *SetOperationExpr) GetLeftSide() *SQLSelect
- func (x *SetOperationExpr) GetOp() *SetOperator
- func (x *SetOperationExpr) GetRightSide() *SetOperationExpr
- func (*SetOperationExpr) ProtoMessage()
- func (x *SetOperationExpr) ProtoReflect() protoreflect.Message
- func (x *SetOperationExpr) Reset()
- func (x *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 SingleQuotedString
- func (*SingleQuotedString) Descriptor() ([]byte, []int)deprecated
- func (x *SingleQuotedString) GetFrom() *Pos
- func (x *SingleQuotedString) GetTo() *Pos
- func (x *SingleQuotedString) GetValue() string
- func (*SingleQuotedString) ProtoMessage()
- func (x *SingleQuotedString) ProtoReflect() protoreflect.Message
- func (x *SingleQuotedString) Reset()
- func (x *SingleQuotedString) String() string
- type SmallInt
- func (*SmallInt) Descriptor() ([]byte, []int)deprecated
- func (x *SmallInt) GetFrom() *Pos
- func (x *SmallInt) GetIsUnsigned() bool
- func (x *SmallInt) GetTo() *Pos
- func (x *SmallInt) GetUnsigned() *Pos
- func (*SmallInt) ProtoMessage()
- func (x *SmallInt) ProtoReflect() protoreflect.Message
- func (x *SmallInt) Reset()
- func (x *SmallInt) String() string
- type TableConstraint
- func (*TableConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *TableConstraint) GetConstraint() *Pos
- func (x *TableConstraint) GetName() *Ident
- func (m *TableConstraint) GetSpec() isTableConstraint_Spec
- func (x *TableConstraint) GetSpecCheck() *CheckTableConstraint
- func (x *TableConstraint) GetSpecReference() *ReferentialTableConstraint
- func (x *TableConstraint) GetSpecUnique() *UniqueTableConstraint
- func (*TableConstraint) ProtoMessage()
- func (x *TableConstraint) ProtoReflect() protoreflect.Message
- func (x *TableConstraint) Reset()
- func (x *TableConstraint) String() string
- type TableConstraint_SpecCheck
- type TableConstraint_SpecReference
- type TableConstraint_SpecUnique
- type TableElement
- func (*TableElement) Descriptor() ([]byte, []int)deprecated
- func (x *TableElement) GetColumnDefElement() *ColumnDef
- func (x *TableElement) GetTableConstraintElement() *TableConstraint
- func (m *TableElement) GetTableElementClause() isTableElement_TableElementClause
- func (*TableElement) ProtoMessage()
- func (x *TableElement) ProtoReflect() protoreflect.Message
- func (x *TableElement) Reset()
- func (x *TableElement) String() string
- type TableElement_ColumnDefElement
- type TableElement_TableConstraintElement
- type TableOption
- func (*TableOption) Descriptor() ([]byte, []int)deprecated
- func (x *TableOption) GetMyCharsetOption() *MyCharset
- func (x *TableOption) GetMyEngineOption() *MyEngine
- func (m *TableOption) GetTableOptionClause() isTableOption_TableOptionClause
- func (*TableOption) ProtoMessage()
- func (x *TableOption) ProtoReflect() protoreflect.Message
- func (x *TableOption) Reset()
- func (x *TableOption) String() string
- type TableOption_MyCharsetOption
- type TableOption_MyEngineOption
- type Text
- type Time
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetTimestamp() *Pos
- func (x *Timestamp) GetWithTimeZone() bool
- func (x *Timestamp) GetZone() *Pos
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) String() string
- type UUID
- type UnaryExpr
- func (*UnaryExpr) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryExpr) GetExpr() *BinaryExpr
- func (x *UnaryExpr) GetFrom() *Pos
- func (x *UnaryExpr) GetOp() *Operator
- func (*UnaryExpr) ProtoMessage()
- func (x *UnaryExpr) ProtoReflect() protoreflect.Message
- func (x *UnaryExpr) Reset()
- func (x *UnaryExpr) String() string
- type UniqueColumnSpec
- func (*UniqueColumnSpec) Descriptor() ([]byte, []int)deprecated
- func (x *UniqueColumnSpec) GetIsPrimaryKey() bool
- func (x *UniqueColumnSpec) GetKey() *Pos
- func (x *UniqueColumnSpec) GetPrimary() *Pos
- func (x *UniqueColumnSpec) GetUnique() *Pos
- func (*UniqueColumnSpec) ProtoMessage()
- func (x *UniqueColumnSpec) ProtoReflect() protoreflect.Message
- func (x *UniqueColumnSpec) Reset()
- func (x *UniqueColumnSpec) String() string
- type UniqueTableConstraint
- func (*UniqueTableConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *UniqueTableConstraint) GetColumns() []*Ident
- func (x *UniqueTableConstraint) GetIsPrimary() bool
- func (x *UniqueTableConstraint) GetPrimary() *Pos
- func (x *UniqueTableConstraint) GetRParen() *Pos
- func (x *UniqueTableConstraint) GetUnique() *Pos
- func (*UniqueTableConstraint) ProtoMessage()
- func (x *UniqueTableConstraint) ProtoReflect() protoreflect.Message
- func (x *UniqueTableConstraint) Reset()
- func (x *UniqueTableConstraint) String() string
- type VarcharType
- func (*VarcharType) Descriptor() ([]byte, []int)deprecated
- func (x *VarcharType) GetCharacter() *Pos
- func (x *VarcharType) GetRParen() *Pos
- func (x *VarcharType) GetSize() uint32
- func (x *VarcharType) GetVarying() *Pos
- func (*VarcharType) ProtoMessage()
- func (x *VarcharType) ProtoReflect() protoreflect.Message
- func (x *VarcharType) Reset()
- func (x *VarcharType) 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_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"`
RestArgs []*AggFunction_ArgsMessage `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() []*AggFunction_ArgsMessage
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 AggFunction_ArgsMessage ¶ added in v0.2.1
type AggFunction_ArgsMessage struct {
// Types that are assignable to ArgsClause:
//
// *AggFunction_ArgsMessage_FieldIdents
// *AggFunction_ArgsMessage_FieldFunction
// *AggFunction_ArgsMessage_FieldCase
ArgsClause isAggFunction_ArgsMessage_ArgsClause `protobuf_oneof:"ArgsClause"`
// contains filtered or unexported fields
}
func (*AggFunction_ArgsMessage) Descriptor
deprecated
added in
v0.2.1
func (*AggFunction_ArgsMessage) Descriptor() ([]byte, []int)
Deprecated: Use AggFunction_ArgsMessage.ProtoReflect.Descriptor instead.
func (*AggFunction_ArgsMessage) GetArgsClause ¶ added in v0.2.1
func (m *AggFunction_ArgsMessage) GetArgsClause() isAggFunction_ArgsMessage_ArgsClause
func (*AggFunction_ArgsMessage) GetFieldCase ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) GetFieldCase() *CaseExpr
func (*AggFunction_ArgsMessage) GetFieldFunction ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) GetFieldFunction() *AggFunction
func (*AggFunction_ArgsMessage) GetFieldIdents ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) GetFieldIdents() *CompoundIdent
func (*AggFunction_ArgsMessage) ProtoMessage ¶ added in v0.2.1
func (*AggFunction_ArgsMessage) ProtoMessage()
func (*AggFunction_ArgsMessage) ProtoReflect ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) ProtoReflect() protoreflect.Message
func (*AggFunction_ArgsMessage) Reset ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) Reset()
func (*AggFunction_ArgsMessage) String ¶ added in v0.2.1
func (x *AggFunction_ArgsMessage) String() string
type AggFunction_ArgsMessage_FieldCase ¶ added in v0.2.1
type AggFunction_ArgsMessage_FieldCase struct {
FieldCase *CaseExpr `protobuf:"bytes,3,opt,name=FieldCase,proto3,oneof"`
}
type AggFunction_ArgsMessage_FieldFunction ¶ added in v0.2.1
type AggFunction_ArgsMessage_FieldFunction struct {
FieldFunction *AggFunction `protobuf:"bytes,2,opt,name=FieldFunction,proto3,oneof"`
}
type AggFunction_ArgsMessage_FieldIdents ¶ added in v0.2.1
type AggFunction_ArgsMessage_FieldIdents struct {
FieldIdents *CompoundIdent `protobuf:"bytes,1,opt,name=FieldIdents,proto3,oneof"`
}
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 AutoIncrement ¶ added in v0.2.1
type AutoIncrement struct {
Auto *Pos `protobuf:"bytes,1,opt,name=Auto,proto3" json:"Auto,omitempty"`
Increment *Pos `protobuf:"bytes,2,opt,name=Increment,proto3" json:"Increment,omitempty"`
// contains filtered or unexported fields
}
func (*AutoIncrement) Descriptor
deprecated
added in
v0.2.1
func (*AutoIncrement) Descriptor() ([]byte, []int)
Deprecated: Use AutoIncrement.ProtoReflect.Descriptor instead.
func (*AutoIncrement) GetAuto ¶ added in v0.2.1
func (x *AutoIncrement) GetAuto() *Pos
func (*AutoIncrement) GetIncrement ¶ added in v0.2.1
func (x *AutoIncrement) GetIncrement() *Pos
func (*AutoIncrement) ProtoMessage ¶ added in v0.2.1
func (*AutoIncrement) ProtoMessage()
func (*AutoIncrement) ProtoReflect ¶ added in v0.2.1
func (x *AutoIncrement) ProtoReflect() protoreflect.Message
func (*AutoIncrement) Reset ¶ added in v0.2.1
func (x *AutoIncrement) Reset()
func (*AutoIncrement) String ¶ added in v0.2.1
func (x *AutoIncrement) String() string
type BigInt ¶ added in v0.2.1
type BigInt struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
IsUnsigned bool `protobuf:"varint,3,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,4,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*BigInt) Descriptor
deprecated
added in
v0.2.1
func (*BigInt) GetIsUnsigned ¶ added in v0.2.1
func (*BigInt) GetUnsigned ¶ added in v0.2.1
func (*BigInt) ProtoMessage ¶ added in v0.2.1
func (*BigInt) ProtoMessage()
func (*BigInt) ProtoReflect ¶ added in v0.2.1
func (x *BigInt) ProtoReflect() protoreflect.Message
type BinaryExpr ¶ added in v0.2.1
type BinaryExpr struct {
// Types that are assignable to LeftOneOf:
//
// *BinaryExpr_LeftIdents
// *BinaryExpr_LeftBinary
// *BinaryExpr_LeftSingleQuoted
// *BinaryExpr_LeftDouble
// *BinaryExpr_LeftLong
LeftOneOf isBinaryExpr_LeftOneOf `protobuf_oneof:"LeftOneOf"`
Op *Operator `protobuf:"bytes,3,opt,name=Op,proto3" json:"Op,omitempty"`
// Types that are assignable to RightOneOf:
//
// *BinaryExpr_RightIdents
// *BinaryExpr_RightBinary
// *BinaryExpr_QueryValue
// *BinaryExpr_SingleQuotedString
// *BinaryExpr_DoubleValue
// *BinaryExpr_LongValue
RightOneOf isBinaryExpr_RightOneOf `protobuf_oneof:"RightOneOf"`
// contains filtered or unexported fields
}
func (*BinaryExpr) Descriptor
deprecated
added in
v0.2.1
func (*BinaryExpr) Descriptor() ([]byte, []int)
Deprecated: Use BinaryExpr.ProtoReflect.Descriptor instead.
func (*BinaryExpr) GetDoubleValue ¶ added in v0.2.1
func (x *BinaryExpr) GetDoubleValue() *DoubleValue
func (*BinaryExpr) GetLeftBinary ¶ added in v0.2.1
func (x *BinaryExpr) GetLeftBinary() *BinaryExpr
func (*BinaryExpr) GetLeftDouble ¶ added in v0.2.1
func (x *BinaryExpr) GetLeftDouble() *DoubleValue
func (*BinaryExpr) GetLeftIdents ¶ added in v0.2.1
func (x *BinaryExpr) GetLeftIdents() *CompoundIdent
func (*BinaryExpr) GetLeftLong ¶ added in v0.2.1
func (x *BinaryExpr) GetLeftLong() *LongValue
func (*BinaryExpr) GetLeftOneOf ¶ added in v0.2.1
func (m *BinaryExpr) GetLeftOneOf() isBinaryExpr_LeftOneOf
func (*BinaryExpr) GetLeftSingleQuoted ¶ added in v0.2.1
func (x *BinaryExpr) GetLeftSingleQuoted() *SingleQuotedString
func (*BinaryExpr) GetLongValue ¶ added in v0.2.1
func (x *BinaryExpr) GetLongValue() *LongValue
func (*BinaryExpr) GetOp ¶ added in v0.2.1
func (x *BinaryExpr) GetOp() *Operator
func (*BinaryExpr) GetQueryValue ¶ added in v0.2.1
func (x *BinaryExpr) GetQueryValue() *InSubQuery
func (*BinaryExpr) GetRightBinary ¶ added in v0.2.1
func (x *BinaryExpr) GetRightBinary() *BinaryExpr
func (*BinaryExpr) GetRightIdents ¶ added in v0.2.1
func (x *BinaryExpr) GetRightIdents() *CompoundIdent
func (*BinaryExpr) GetRightOneOf ¶ added in v0.2.1
func (m *BinaryExpr) GetRightOneOf() isBinaryExpr_RightOneOf
func (*BinaryExpr) GetSingleQuotedString ¶ added in v0.2.1
func (x *BinaryExpr) GetSingleQuotedString() *SingleQuotedString
func (*BinaryExpr) ProtoMessage ¶ added in v0.2.1
func (*BinaryExpr) ProtoMessage()
func (*BinaryExpr) ProtoReflect ¶ added in v0.2.1
func (x *BinaryExpr) ProtoReflect() protoreflect.Message
func (*BinaryExpr) Reset ¶ added in v0.2.1
func (x *BinaryExpr) Reset()
func (*BinaryExpr) String ¶ added in v0.2.1
func (x *BinaryExpr) String() string
type BinaryExpr_DoubleValue ¶ added in v0.2.1
type BinaryExpr_DoubleValue struct {
DoubleValue *DoubleValue `protobuf:"bytes,8,opt,name=DoubleValue,proto3,oneof"`
}
type BinaryExpr_LeftBinary ¶ added in v0.2.1
type BinaryExpr_LeftBinary struct {
LeftBinary *BinaryExpr `protobuf:"bytes,2,opt,name=LeftBinary,proto3,oneof"`
}
type BinaryExpr_LeftDouble ¶ added in v0.2.1
type BinaryExpr_LeftDouble struct {
LeftDouble *DoubleValue `protobuf:"bytes,11,opt,name=LeftDouble,proto3,oneof"`
}
type BinaryExpr_LeftIdents ¶ added in v0.2.1
type BinaryExpr_LeftIdents struct {
LeftIdents *CompoundIdent `protobuf:"bytes,1,opt,name=LeftIdents,proto3,oneof"`
}
type BinaryExpr_LeftLong ¶ added in v0.2.1
type BinaryExpr_LeftLong struct {
LeftLong *LongValue `protobuf:"bytes,12,opt,name=LeftLong,proto3,oneof"`
}
type BinaryExpr_LeftSingleQuoted ¶ added in v0.2.1
type BinaryExpr_LeftSingleQuoted struct {
LeftSingleQuoted *SingleQuotedString `protobuf:"bytes,10,opt,name=LeftSingleQuoted,proto3,oneof"`
}
type BinaryExpr_LongValue ¶ added in v0.2.1
type BinaryExpr_LongValue struct {
LongValue *LongValue `protobuf:"bytes,9,opt,name=LongValue,proto3,oneof"`
}
type BinaryExpr_QueryValue ¶ added in v0.2.1
type BinaryExpr_QueryValue struct {
QueryValue *InSubQuery `protobuf:"bytes,6,opt,name=QueryValue,proto3,oneof"`
}
type BinaryExpr_RightBinary ¶ added in v0.2.1
type BinaryExpr_RightBinary struct {
RightBinary *BinaryExpr `protobuf:"bytes,5,opt,name=RightBinary,proto3,oneof"`
}
type BinaryExpr_RightIdents ¶ added in v0.2.1
type BinaryExpr_RightIdents struct {
RightIdents *CompoundIdent `protobuf:"bytes,4,opt,name=RightIdents,proto3,oneof"`
}
type BinaryExpr_SingleQuotedString ¶ added in v0.2.1
type BinaryExpr_SingleQuotedString struct {
SingleQuotedString *SingleQuotedString `protobuf:"bytes,7,opt,name=SingleQuotedString,proto3,oneof"`
}
type Boolean ¶ added in v0.2.1
type Boolean struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Boolean) Descriptor
deprecated
added in
v0.2.1
func (*Boolean) ProtoMessage ¶ added in v0.2.1
func (*Boolean) ProtoMessage()
func (*Boolean) ProtoReflect ¶ added in v0.2.1
func (x *Boolean) ProtoReflect() protoreflect.Message
type Bytea ¶ added in v0.2.1
type Bytea struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Bytea) Descriptor
deprecated
added in
v0.2.1
func (*Bytea) ProtoMessage ¶ added in v0.2.1
func (*Bytea) ProtoMessage()
func (*Bytea) ProtoReflect ¶ added in v0.2.1
func (x *Bytea) ProtoReflect() protoreflect.Message
type CaseExpr ¶ added in v0.2.1
type CaseExpr struct {
Case *Pos `protobuf:"bytes,1,opt,name=Case,proto3" json:"Case,omitempty"`
CaseEnd *Pos `protobuf:"bytes,2,opt,name=CaseEnd,proto3" json:"CaseEnd,omitempty"`
Operand *Operator `protobuf:"bytes,3,opt,name=Operand,proto3" json:"Operand,omitempty"`
Conditions []*BinaryExpr `protobuf:"bytes,4,rep,name=Conditions,proto3" json:"Conditions,omitempty"`
Results []*ResultMessage `protobuf:"bytes,5,rep,name=Results,proto3" json:"Results,omitempty"`
ElseResult *Ident `protobuf:"bytes,6,opt,name=ElseResult,proto3" json:"ElseResult,omitempty"`
// contains filtered or unexported fields
}
func (*CaseExpr) Descriptor
deprecated
added in
v0.2.1
func (*CaseExpr) GetCaseEnd ¶ added in v0.2.1
func (*CaseExpr) GetConditions ¶ added in v0.2.1
func (x *CaseExpr) GetConditions() []*BinaryExpr
func (*CaseExpr) GetElseResult ¶ added in v0.2.1
func (*CaseExpr) GetOperand ¶ added in v0.2.1
func (*CaseExpr) GetResults ¶ added in v0.2.1
func (x *CaseExpr) GetResults() []*ResultMessage
func (*CaseExpr) ProtoMessage ¶ added in v0.2.1
func (*CaseExpr) ProtoMessage()
func (*CaseExpr) ProtoReflect ¶ added in v0.2.1
func (x *CaseExpr) ProtoReflect() protoreflect.Message
type CharType ¶ added in v0.2.1
type CharType struct {
Size uint32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,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 (*CharType) Descriptor
deprecated
added in
v0.2.1
func (*CharType) ProtoMessage ¶ added in v0.2.1
func (*CharType) ProtoMessage()
func (*CharType) ProtoReflect ¶ added in v0.2.1
func (x *CharType) ProtoReflect() protoreflect.Message
type CheckColumnSpec ¶ added in v0.2.1
type CheckColumnSpec struct {
Expr *BinaryExpr `protobuf:"bytes,1,opt,name=Expr,proto3" json:"Expr,omitempty"`
Check *Pos `protobuf:"bytes,2,opt,name=Check,proto3" json:"Check,omitempty"`
RParen *Pos `protobuf:"bytes,3,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*CheckColumnSpec) Descriptor
deprecated
added in
v0.2.1
func (*CheckColumnSpec) Descriptor() ([]byte, []int)
Deprecated: Use CheckColumnSpec.ProtoReflect.Descriptor instead.
func (*CheckColumnSpec) GetCheck ¶ added in v0.2.1
func (x *CheckColumnSpec) GetCheck() *Pos
func (*CheckColumnSpec) GetExpr ¶ added in v0.2.1
func (x *CheckColumnSpec) GetExpr() *BinaryExpr
func (*CheckColumnSpec) GetRParen ¶ added in v0.2.1
func (x *CheckColumnSpec) GetRParen() *Pos
func (*CheckColumnSpec) ProtoMessage ¶ added in v0.2.1
func (*CheckColumnSpec) ProtoMessage()
func (*CheckColumnSpec) ProtoReflect ¶ added in v0.2.1
func (x *CheckColumnSpec) ProtoReflect() protoreflect.Message
func (*CheckColumnSpec) Reset ¶ added in v0.2.1
func (x *CheckColumnSpec) Reset()
func (*CheckColumnSpec) String ¶ added in v0.2.1
func (x *CheckColumnSpec) String() string
type CheckTableConstraint ¶ added in v0.2.1
type CheckTableConstraint struct {
Check *Pos `protobuf:"bytes,1,opt,name=Check,proto3" json:"Check,omitempty"`
RParen *Pos `protobuf:"bytes,2,opt,name=RParen,proto3" json:"RParen,omitempty"`
Expr *BinaryExpr `protobuf:"bytes,3,opt,name=Expr,proto3" json:"Expr,omitempty"`
// contains filtered or unexported fields
}
func (*CheckTableConstraint) Descriptor
deprecated
added in
v0.2.1
func (*CheckTableConstraint) Descriptor() ([]byte, []int)
Deprecated: Use CheckTableConstraint.ProtoReflect.Descriptor instead.
func (*CheckTableConstraint) GetCheck ¶ added in v0.2.1
func (x *CheckTableConstraint) GetCheck() *Pos
func (*CheckTableConstraint) GetExpr ¶ added in v0.2.1
func (x *CheckTableConstraint) GetExpr() *BinaryExpr
func (*CheckTableConstraint) GetRParen ¶ added in v0.2.1
func (x *CheckTableConstraint) GetRParen() *Pos
func (*CheckTableConstraint) ProtoMessage ¶ added in v0.2.1
func (*CheckTableConstraint) ProtoMessage()
func (*CheckTableConstraint) ProtoReflect ¶ added in v0.2.1
func (x *CheckTableConstraint) ProtoReflect() protoreflect.Message
func (*CheckTableConstraint) Reset ¶ added in v0.2.1
func (x *CheckTableConstraint) Reset()
func (*CheckTableConstraint) String ¶ added in v0.2.1
func (x *CheckTableConstraint) String() string
type ColumnConstraint ¶ added in v0.2.1
type ColumnConstraint struct {
Name *Ident `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Constraint *Pos `protobuf:"bytes,2,opt,name=Constraint,proto3" json:"Constraint,omitempty"`
// Types that are assignable to Spec:
//
// *ColumnConstraint_UniqueSpec
// *ColumnConstraint_CheckSpec
// *ColumnConstraint_ReferenceSpec
// *ColumnConstraint_NotNullSpec
Spec isColumnConstraint_Spec `protobuf_oneof:"Spec"`
// contains filtered or unexported fields
}
func (*ColumnConstraint) Descriptor
deprecated
added in
v0.2.1
func (*ColumnConstraint) Descriptor() ([]byte, []int)
Deprecated: Use ColumnConstraint.ProtoReflect.Descriptor instead.
func (*ColumnConstraint) GetCheckSpec ¶ added in v0.2.1
func (x *ColumnConstraint) GetCheckSpec() *CheckColumnSpec
func (*ColumnConstraint) GetConstraint ¶ added in v0.2.1
func (x *ColumnConstraint) GetConstraint() *Pos
func (*ColumnConstraint) GetName ¶ added in v0.2.1
func (x *ColumnConstraint) GetName() *Ident
func (*ColumnConstraint) GetNotNullSpec ¶ added in v0.2.1
func (x *ColumnConstraint) GetNotNullSpec() *NotNullColumnSpec
func (*ColumnConstraint) GetReferenceSpec ¶ added in v0.2.1
func (x *ColumnConstraint) GetReferenceSpec() *ReferencesColumnSpec
func (*ColumnConstraint) GetSpec ¶ added in v0.2.1
func (m *ColumnConstraint) GetSpec() isColumnConstraint_Spec
func (*ColumnConstraint) GetUniqueSpec ¶ added in v0.2.1
func (x *ColumnConstraint) GetUniqueSpec() *UniqueColumnSpec
func (*ColumnConstraint) ProtoMessage ¶ added in v0.2.1
func (*ColumnConstraint) ProtoMessage()
func (*ColumnConstraint) ProtoReflect ¶ added in v0.2.1
func (x *ColumnConstraint) ProtoReflect() protoreflect.Message
func (*ColumnConstraint) Reset ¶ added in v0.2.1
func (x *ColumnConstraint) Reset()
func (*ColumnConstraint) String ¶ added in v0.2.1
func (x *ColumnConstraint) String() string
type ColumnConstraint_CheckSpec ¶ added in v0.2.1
type ColumnConstraint_CheckSpec struct {
CheckSpec *CheckColumnSpec `protobuf:"bytes,4,opt,name=CheckSpec,proto3,oneof"`
}
type ColumnConstraint_NotNullSpec ¶ added in v0.2.1
type ColumnConstraint_NotNullSpec struct {
NotNullSpec *NotNullColumnSpec `protobuf:"bytes,6,opt,name=NotNullSpec,proto3,oneof"`
}
type ColumnConstraint_ReferenceSpec ¶ added in v0.2.1
type ColumnConstraint_ReferenceSpec struct {
ReferenceSpec *ReferencesColumnSpec `protobuf:"bytes,5,opt,name=ReferenceSpec,proto3,oneof"`
}
type ColumnConstraint_UniqueSpec ¶ added in v0.2.1
type ColumnConstraint_UniqueSpec struct {
UniqueSpec *UniqueColumnSpec `protobuf:"bytes,3,opt,name=UniqueSpec,proto3,oneof"`
}
type ColumnDef ¶ added in v0.2.1
type ColumnDef struct {
Name *Ident `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
// Types that are assignable to DataType:
//
// *ColumnDef_IntData
// *ColumnDef_SmallIntData
// *ColumnDef_BigIntData
// *ColumnDef_CharData
// *ColumnDef_VarcharData
// *ColumnDef_UUIDData
// *ColumnDef_TimestampData
DataType isColumnDef_DataType `protobuf_oneof:"DataType"`
// Types that are assignable to Default:
//
// *ColumnDef_StringDefault
// *ColumnDef_LongDefault
// *ColumnDef_IdentDefault
Default isColumnDef_Default `protobuf_oneof:"Default"`
MyDecos []*MyDataTypeDecoration `protobuf:"bytes,41,rep,name=MyDecos,proto3" json:"MyDecos,omitempty"`
Constraints []*ColumnConstraint `protobuf:"bytes,42,rep,name=Constraints,proto3" json:"Constraints,omitempty"`
// contains filtered or unexported fields
}
func (*ColumnDef) Descriptor
deprecated
added in
v0.2.1
func (*ColumnDef) GetBigIntData ¶ added in v0.2.1
func (*ColumnDef) GetCharData ¶ added in v0.2.1
func (*ColumnDef) GetConstraints ¶ added in v0.2.1
func (x *ColumnDef) GetConstraints() []*ColumnConstraint
func (*ColumnDef) GetDataType ¶ added in v0.2.1
func (m *ColumnDef) GetDataType() isColumnDef_DataType
func (*ColumnDef) GetDefault ¶ added in v0.2.1
func (m *ColumnDef) GetDefault() isColumnDef_Default
func (*ColumnDef) GetIdentDefault ¶ added in v0.2.1
func (*ColumnDef) GetIntData ¶ added in v0.2.1
func (*ColumnDef) GetLongDefault ¶ added in v0.2.1
func (*ColumnDef) GetMyDecos ¶ added in v0.2.1
func (x *ColumnDef) GetMyDecos() []*MyDataTypeDecoration
func (*ColumnDef) GetSmallIntData ¶ added in v0.2.1
func (*ColumnDef) GetStringDefault ¶ added in v0.2.1
func (x *ColumnDef) GetStringDefault() *SingleQuotedString
func (*ColumnDef) GetTimestampData ¶ added in v0.2.1
func (*ColumnDef) GetUUIDData ¶ added in v0.2.1
func (*ColumnDef) GetVarcharData ¶ added in v0.2.1
func (x *ColumnDef) GetVarcharData() *VarcharType
func (*ColumnDef) ProtoMessage ¶ added in v0.2.1
func (*ColumnDef) ProtoMessage()
func (*ColumnDef) ProtoReflect ¶ added in v0.2.1
func (x *ColumnDef) ProtoReflect() protoreflect.Message
type ColumnDef_BigIntData ¶ added in v0.2.1
type ColumnDef_BigIntData struct {
BigIntData *BigInt `protobuf:"bytes,4,opt,name=BigIntData,proto3,oneof"`
}
type ColumnDef_CharData ¶ added in v0.2.1
type ColumnDef_CharData struct {
CharData *CharType `protobuf:"bytes,5,opt,name=CharData,proto3,oneof"`
}
type ColumnDef_IdentDefault ¶ added in v0.2.1
type ColumnDef_IdentDefault struct {
IdentDefault *Ident `protobuf:"bytes,23,opt,name=IdentDefault,proto3,oneof"`
}
type ColumnDef_IntData ¶ added in v0.2.1
type ColumnDef_IntData struct {
IntData *Int `protobuf:"bytes,2,opt,name=IntData,proto3,oneof"`
}
type ColumnDef_LongDefault ¶ added in v0.2.1
type ColumnDef_LongDefault struct {
LongDefault *LongValue `protobuf:"bytes,22,opt,name=LongDefault,proto3,oneof"`
}
type ColumnDef_SmallIntData ¶ added in v0.2.1
type ColumnDef_SmallIntData struct {
SmallIntData *SmallInt `protobuf:"bytes,3,opt,name=SmallIntData,proto3,oneof"`
}
type ColumnDef_StringDefault ¶ added in v0.2.1
type ColumnDef_StringDefault struct {
StringDefault *SingleQuotedString `protobuf:"bytes,21,opt,name=StringDefault,proto3,oneof"`
}
type ColumnDef_TimestampData ¶ added in v0.2.1
type ColumnDef_TimestampData struct {
TimestampData *Timestamp `protobuf:"bytes,8,opt,name=TimestampData,proto3,oneof"`
}
type ColumnDef_UUIDData ¶ added in v0.2.1
type ColumnDef_UUIDData struct {
UUIDData *UUID `protobuf:"bytes,7,opt,name=UUIDData,proto3,oneof"`
}
type ColumnDef_VarcharData ¶ added in v0.2.1
type ColumnDef_VarcharData struct {
VarcharData *VarcharType `protobuf:"bytes,6,opt,name=VarcharData,proto3,oneof"`
}
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 CreateIndexStmt ¶ added in v0.2.1
type CreateIndexStmt struct {
Create *Pos `protobuf:"bytes,1,opt,name=Create,proto3" json:"Create,omitempty"`
TableName *ObjectName `protobuf:"bytes,2,opt,name=TableName,proto3" json:"TableName,omitempty"`
IsUnique bool `protobuf:"varint,3,opt,name=IsUnique,proto3" json:"IsUnique,omitempty"`
IndexName *Ident `protobuf:"bytes,4,opt,name=IndexName,proto3" json:"IndexName,omitempty"`
MethodName *Ident `protobuf:"bytes,5,opt,name=MethodName,proto3" json:"MethodName,omitempty"`
ColumnNames []*Ident `protobuf:"bytes,6,rep,name=ColumnNames,proto3" json:"ColumnNames,omitempty"`
RParen *Pos `protobuf:"bytes,7,opt,name=RParen,proto3" json:"RParen,omitempty"`
// Types that are assignable to Selection:
//
// *CreateIndexStmt_InQuery
// *CreateIndexStmt_BinExpr
Selection isCreateIndexStmt_Selection `protobuf_oneof:"Selection"`
// contains filtered or unexported fields
}
func (*CreateIndexStmt) Descriptor
deprecated
added in
v0.2.1
func (*CreateIndexStmt) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexStmt.ProtoReflect.Descriptor instead.
func (*CreateIndexStmt) GetBinExpr ¶ added in v0.2.1
func (x *CreateIndexStmt) GetBinExpr() *BinaryExpr
func (*CreateIndexStmt) GetColumnNames ¶ added in v0.2.1
func (x *CreateIndexStmt) GetColumnNames() []*Ident
func (*CreateIndexStmt) GetCreate ¶ added in v0.2.1
func (x *CreateIndexStmt) GetCreate() *Pos
func (*CreateIndexStmt) GetInQuery ¶ added in v0.2.1
func (x *CreateIndexStmt) GetInQuery() *InSubQuery
func (*CreateIndexStmt) GetIndexName ¶ added in v0.2.1
func (x *CreateIndexStmt) GetIndexName() *Ident
func (*CreateIndexStmt) GetIsUnique ¶ added in v0.2.1
func (x *CreateIndexStmt) GetIsUnique() bool
func (*CreateIndexStmt) GetMethodName ¶ added in v0.2.1
func (x *CreateIndexStmt) GetMethodName() *Ident
func (*CreateIndexStmt) GetRParen ¶ added in v0.2.1
func (x *CreateIndexStmt) GetRParen() *Pos
func (*CreateIndexStmt) GetSelection ¶ added in v0.2.1
func (m *CreateIndexStmt) GetSelection() isCreateIndexStmt_Selection
func (*CreateIndexStmt) GetTableName ¶ added in v0.2.1
func (x *CreateIndexStmt) GetTableName() *ObjectName
func (*CreateIndexStmt) ProtoMessage ¶ added in v0.2.1
func (*CreateIndexStmt) ProtoMessage()
func (*CreateIndexStmt) ProtoReflect ¶ added in v0.2.1
func (x *CreateIndexStmt) ProtoReflect() protoreflect.Message
func (*CreateIndexStmt) Reset ¶ added in v0.2.1
func (x *CreateIndexStmt) Reset()
func (*CreateIndexStmt) String ¶ added in v0.2.1
func (x *CreateIndexStmt) String() string
type CreateIndexStmt_BinExpr ¶ added in v0.2.1
type CreateIndexStmt_BinExpr struct {
BinExpr *BinaryExpr `protobuf:"bytes,9,opt,name=BinExpr,proto3,oneof"`
}
type CreateIndexStmt_InQuery ¶ added in v0.2.1
type CreateIndexStmt_InQuery struct {
InQuery *InSubQuery `protobuf:"bytes,8,opt,name=InQuery,proto3,oneof"`
}
type CreateTableStmt ¶ added in v0.2.1
type CreateTableStmt struct {
Create *Pos `protobuf:"bytes,1,opt,name=Create,proto3" json:"Create,omitempty"`
Name *ObjectName `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Elements []*TableElement `protobuf:"bytes,3,rep,name=Elements,proto3" json:"Elements,omitempty"`
Location string `protobuf:"bytes,4,opt,name=Location,proto3" json:"Location,omitempty"`
NotExists bool `protobuf:"varint,5,opt,name=NotExists,proto3" json:"NotExists,omitempty"`
Options []*TableOption `protobuf:"bytes,6,rep,name=Options,proto3" json:"Options,omitempty"`
// contains filtered or unexported fields
}
func (*CreateTableStmt) Descriptor
deprecated
added in
v0.2.1
func (*CreateTableStmt) Descriptor() ([]byte, []int)
Deprecated: Use CreateTableStmt.ProtoReflect.Descriptor instead.
func (*CreateTableStmt) GetCreate ¶ added in v0.2.1
func (x *CreateTableStmt) GetCreate() *Pos
func (*CreateTableStmt) GetElements ¶ added in v0.2.1
func (x *CreateTableStmt) GetElements() []*TableElement
func (*CreateTableStmt) GetLocation ¶ added in v0.2.1
func (x *CreateTableStmt) GetLocation() string
func (*CreateTableStmt) GetName ¶ added in v0.2.1
func (x *CreateTableStmt) GetName() *ObjectName
func (*CreateTableStmt) GetNotExists ¶ added in v0.2.1
func (x *CreateTableStmt) GetNotExists() bool
func (*CreateTableStmt) GetOptions ¶ added in v0.2.1
func (x *CreateTableStmt) GetOptions() []*TableOption
func (*CreateTableStmt) ProtoMessage ¶ added in v0.2.1
func (*CreateTableStmt) ProtoMessage()
func (*CreateTableStmt) ProtoReflect ¶ added in v0.2.1
func (x *CreateTableStmt) ProtoReflect() protoreflect.Message
func (*CreateTableStmt) Reset ¶ added in v0.2.1
func (x *CreateTableStmt) Reset()
func (*CreateTableStmt) String ¶ added in v0.2.1
func (x *CreateTableStmt) String() string
type Custom ¶ added in v0.2.1
type Custom struct {
Ty *CompoundIdent `protobuf:"bytes,1,opt,name=Ty,proto3" json:"Ty,omitempty"`
// contains filtered or unexported fields
}
func (*Custom) Descriptor
deprecated
added in
v0.2.1
func (*Custom) GetTy ¶ added in v0.2.1
func (x *Custom) GetTy() *CompoundIdent
func (*Custom) ProtoMessage ¶ added in v0.2.1
func (*Custom) ProtoMessage()
func (*Custom) ProtoReflect ¶ added in v0.2.1
func (x *Custom) ProtoReflect() protoreflect.Message
type Date ¶ added in v0.2.1
type Date struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Date) Descriptor
deprecated
added in
v0.2.1
func (*Date) ProtoMessage ¶ added in v0.2.1
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶ added in v0.2.1
func (x *Date) ProtoReflect() protoreflect.Message
type Decimal ¶ added in v0.2.1
type Decimal struct {
Precision uint32 `protobuf:"varint,1,opt,name=Precision,proto3" json:"Precision,omitempty"`
Scale uint32 `protobuf:"varint,2,opt,name=Scale,proto3" json:"Scale,omitempty"`
Numeric *Pos `protobuf:"bytes,3,opt,name=Numeric,proto3" json:"Numeric,omitempty"`
RParen *Pos `protobuf:"bytes,4,opt,name=RParen,proto3" json:"RParen,omitempty"`
IsUnsigned bool `protobuf:"varint,5,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,6,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*Decimal) Descriptor
deprecated
added in
v0.2.1
func (*Decimal) GetIsUnsigned ¶ added in v0.2.1
func (*Decimal) GetNumeric ¶ added in v0.2.1
func (*Decimal) GetPrecision ¶ added in v0.2.1
func (*Decimal) GetUnsigned ¶ added in v0.2.1
func (*Decimal) ProtoMessage ¶ added in v0.2.1
func (*Decimal) ProtoMessage()
func (*Decimal) ProtoReflect ¶ added in v0.2.1
func (x *Decimal) ProtoReflect() protoreflect.Message
type Double ¶ added in v0.2.1
type Double struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Double) Descriptor
deprecated
added in
v0.2.1
func (*Double) ProtoMessage ¶ added in v0.2.1
func (*Double) ProtoMessage()
func (*Double) ProtoReflect ¶ added in v0.2.1
func (x *Double) ProtoReflect() protoreflect.Message
type DoubleValue ¶ added in v0.2.1
type DoubleValue 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 (*DoubleValue) Descriptor
deprecated
added in
v0.2.1
func (*DoubleValue) Descriptor() ([]byte, []int)
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
func (*DoubleValue) GetFrom ¶ added in v0.2.1
func (x *DoubleValue) GetFrom() *Pos
func (*DoubleValue) GetTo ¶ added in v0.2.1
func (x *DoubleValue) GetTo() *Pos
func (*DoubleValue) GetValue ¶ added in v0.2.1
func (x *DoubleValue) GetValue() float64
func (*DoubleValue) ProtoMessage ¶ added in v0.2.1
func (*DoubleValue) ProtoMessage()
func (*DoubleValue) ProtoReflect ¶ added in v0.2.1
func (x *DoubleValue) ProtoReflect() protoreflect.Message
func (*DoubleValue) Reset ¶ added in v0.2.1
func (x *DoubleValue) Reset()
func (*DoubleValue) String ¶ added in v0.2.1
func (x *DoubleValue) String() string
type Float ¶ added in v0.2.1
type Float struct {
Size uint32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,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"`
IsUnsigned bool `protobuf:"varint,4,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,5,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*Float) Descriptor
deprecated
added in
v0.2.1
func (*Float) GetIsUnsigned ¶ added in v0.2.1
func (*Float) GetUnsigned ¶ added in v0.2.1
func (*Float) ProtoMessage ¶ added in v0.2.1
func (*Float) ProtoMessage()
func (*Float) ProtoReflect ¶ added in v0.2.1
func (x *Float) ProtoReflect() protoreflect.Message
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 InSubQuery ¶ added in v0.2.1
type 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 (*InSubQuery) Descriptor
deprecated
added in
v0.2.1
func (*InSubQuery) Descriptor() ([]byte, []int)
Deprecated: Use InSubQuery.ProtoReflect.Descriptor instead.
func (*InSubQuery) GetExpr ¶ added in v0.2.1
func (x *InSubQuery) GetExpr() *CompoundIdent
func (*InSubQuery) GetNegated ¶ added in v0.2.1
func (x *InSubQuery) GetNegated() bool
func (*InSubQuery) GetRParen ¶ added in v0.2.1
func (x *InSubQuery) GetRParen() *Pos
func (*InSubQuery) GetSubQuery ¶ added in v0.2.1
func (x *InSubQuery) GetSubQuery() *QueryStmt
func (*InSubQuery) ProtoMessage ¶ added in v0.2.1
func (*InSubQuery) ProtoMessage()
func (*InSubQuery) ProtoReflect ¶ added in v0.2.1
func (x *InSubQuery) ProtoReflect() protoreflect.Message
func (*InSubQuery) Reset ¶ added in v0.2.1
func (x *InSubQuery) Reset()
func (*InSubQuery) String ¶ added in v0.2.1
func (x *InSubQuery) String() string
type Int ¶ added in v0.2.1
type Int struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
IsUnsigned bool `protobuf:"varint,3,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,4,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*Int) Descriptor
deprecated
added in
v0.2.1
func (*Int) GetIsUnsigned ¶ added in v0.2.1
func (*Int) GetUnsigned ¶ added in v0.2.1
func (*Int) ProtoMessage ¶ added in v0.2.1
func (*Int) ProtoMessage()
func (*Int) ProtoReflect ¶ added in v0.2.1
func (x *Int) ProtoReflect() protoreflect.Message
type JoinCondition ¶ added in v0.2.1
type JoinCondition struct {
SearchCondition *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 (*JoinCondition) Descriptor
deprecated
added in
v0.2.1
func (*JoinCondition) Descriptor() ([]byte, []int)
Deprecated: Use JoinCondition.ProtoReflect.Descriptor instead.
func (*JoinCondition) GetOn ¶ added in v0.2.1
func (x *JoinCondition) GetOn() *Pos
func (*JoinCondition) GetSearchCondition ¶ added in v0.2.1
func (x *JoinCondition) GetSearchCondition() *BinaryExpr
func (*JoinCondition) ProtoMessage ¶ added in v0.2.1
func (*JoinCondition) ProtoMessage()
func (*JoinCondition) ProtoReflect ¶ added in v0.2.1
func (x *JoinCondition) ProtoReflect() protoreflect.Message
func (*JoinCondition) Reset ¶ added in v0.2.1
func (x *JoinCondition) Reset()
func (*JoinCondition) String ¶ added in v0.2.1
func (x *JoinCondition) String() string
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 LimitExpr ¶ added in v0.2.1
type 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 *LongValue `protobuf:"bytes,4,opt,name=LimitValue,proto3" json:"LimitValue,omitempty"`
OffsetValue *LongValue `protobuf:"bytes,5,opt,name=OffsetValue,proto3" json:"OffsetValue,omitempty"`
// contains filtered or unexported fields
}
func (*LimitExpr) Descriptor
deprecated
added in
v0.2.1
func (*LimitExpr) GetAllBool ¶ added in v0.2.1
func (*LimitExpr) GetLimitValue ¶ added in v0.2.1
func (*LimitExpr) GetOffsetValue ¶ added in v0.2.1
func (*LimitExpr) ProtoMessage ¶ added in v0.2.1
func (*LimitExpr) ProtoMessage()
func (*LimitExpr) ProtoReflect ¶ added in v0.2.1
func (x *LimitExpr) ProtoReflect() protoreflect.Message
type LongValue ¶ added in v0.2.1
type LongValue 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 (*LongValue) Descriptor
deprecated
added in
v0.2.1
func (*LongValue) ProtoMessage ¶ added in v0.2.1
func (*LongValue) ProtoMessage()
func (*LongValue) ProtoReflect ¶ added in v0.2.1
func (x *LongValue) ProtoReflect() protoreflect.Message
type MyCharset ¶ added in v0.2.1
type MyCharset struct {
IsDefault bool `protobuf:"varint,1,opt,name=IsDefault,proto3" json:"IsDefault,omitempty"`
Default *Pos `protobuf:"bytes,2,opt,name=Default,proto3" json:"Default,omitempty"`
Charset *Pos `protobuf:"bytes,3,opt,name=Charset,proto3" json:"Charset,omitempty"`
Equal bool `protobuf:"varint,4,opt,name=Equal,proto3" json:"Equal,omitempty"`
Name *Ident `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
// contains filtered or unexported fields
}
func (*MyCharset) Descriptor
deprecated
added in
v0.2.1
func (*MyCharset) GetCharset ¶ added in v0.2.1
func (*MyCharset) GetDefault ¶ added in v0.2.1
func (*MyCharset) GetIsDefault ¶ added in v0.2.1
func (*MyCharset) ProtoMessage ¶ added in v0.2.1
func (*MyCharset) ProtoMessage()
func (*MyCharset) ProtoReflect ¶ added in v0.2.1
func (x *MyCharset) ProtoReflect() protoreflect.Message
type MyDataTypeDecoration ¶ added in v0.2.1
type MyDataTypeDecoration struct {
Automent *AutoIncrement `protobuf:"bytes,1,opt,name=Automent,proto3" json:"Automent,omitempty"`
// contains filtered or unexported fields
}
func (*MyDataTypeDecoration) Descriptor
deprecated
added in
v0.2.1
func (*MyDataTypeDecoration) Descriptor() ([]byte, []int)
Deprecated: Use MyDataTypeDecoration.ProtoReflect.Descriptor instead.
func (*MyDataTypeDecoration) GetAutoment ¶ added in v0.2.1
func (x *MyDataTypeDecoration) GetAutoment() *AutoIncrement
func (*MyDataTypeDecoration) ProtoMessage ¶ added in v0.2.1
func (*MyDataTypeDecoration) ProtoMessage()
func (*MyDataTypeDecoration) ProtoReflect ¶ added in v0.2.1
func (x *MyDataTypeDecoration) ProtoReflect() protoreflect.Message
func (*MyDataTypeDecoration) Reset ¶ added in v0.2.1
func (x *MyDataTypeDecoration) Reset()
func (*MyDataTypeDecoration) String ¶ added in v0.2.1
func (x *MyDataTypeDecoration) String() string
type MyEngine ¶ added in v0.2.1
type MyEngine struct {
Engine *Pos `protobuf:"bytes,1,opt,name=Engine,proto3" json:"Engine,omitempty"`
Equal bool `protobuf:"varint,2,opt,name=Equal,proto3" json:"Equal,omitempty"`
Name *Ident `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
// contains filtered or unexported fields
}
func (*MyEngine) Descriptor
deprecated
added in
v0.2.1
func (*MyEngine) ProtoMessage ¶ added in v0.2.1
func (*MyEngine) ProtoMessage()
func (*MyEngine) ProtoReflect ¶ added in v0.2.1
func (x *MyEngine) ProtoReflect() protoreflect.Message
type Nested ¶ added in v0.2.1
type Nested struct {
AST *SQLSelectItem `protobuf:"bytes,1,opt,name=AST,proto3" json:"AST,omitempty"`
LParen *Pos `protobuf:"bytes,2,opt,name=LParen,proto3" json:"LParen,omitempty"`
RParen *Pos `protobuf:"bytes,3,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*Nested) Descriptor
deprecated
added in
v0.2.1
func (*Nested) GetAST ¶ added in v0.2.1
func (x *Nested) GetAST() *SQLSelectItem
func (*Nested) ProtoMessage ¶ added in v0.2.1
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶ added in v0.2.1
func (x *Nested) ProtoReflect() protoreflect.Message
type NotNullColumnSpec ¶ added in v0.2.1
type NotNullColumnSpec struct {
Not *Pos `protobuf:"bytes,1,opt,name=Not,proto3" json:"Not,omitempty"`
Null *Pos `protobuf:"bytes,2,opt,name=Null,proto3" json:"Null,omitempty"`
// contains filtered or unexported fields
}
func (*NotNullColumnSpec) Descriptor
deprecated
added in
v0.2.1
func (*NotNullColumnSpec) Descriptor() ([]byte, []int)
Deprecated: Use NotNullColumnSpec.ProtoReflect.Descriptor instead.
func (*NotNullColumnSpec) GetNot ¶ added in v0.2.1
func (x *NotNullColumnSpec) GetNot() *Pos
func (*NotNullColumnSpec) GetNull ¶ added in v0.2.1
func (x *NotNullColumnSpec) GetNull() *Pos
func (*NotNullColumnSpec) ProtoMessage ¶ added in v0.2.1
func (*NotNullColumnSpec) ProtoMessage()
func (*NotNullColumnSpec) ProtoReflect ¶ added in v0.2.1
func (x *NotNullColumnSpec) ProtoReflect() protoreflect.Message
func (*NotNullColumnSpec) Reset ¶ added in v0.2.1
func (x *NotNullColumnSpec) Reset()
func (*NotNullColumnSpec) String ¶ added in v0.2.1
func (x *NotNullColumnSpec) String() string
type ObjectName ¶ added in v0.2.1
type ObjectName struct {
Idents []*Ident `protobuf:"bytes,1,rep,name=Idents,proto3" json:"Idents,omitempty"`
// contains filtered or unexported fields
}
func (*ObjectName) Descriptor
deprecated
added in
v0.2.1
func (*ObjectName) Descriptor() ([]byte, []int)
Deprecated: Use ObjectName.ProtoReflect.Descriptor instead.
func (*ObjectName) GetIdents ¶ added in v0.2.1
func (x *ObjectName) GetIdents() []*Ident
func (*ObjectName) ProtoMessage ¶ added in v0.2.1
func (*ObjectName) ProtoMessage()
func (*ObjectName) ProtoReflect ¶ added in v0.2.1
func (x *ObjectName) ProtoReflect() protoreflect.Message
func (*ObjectName) Reset ¶ added in v0.2.1
func (x *ObjectName) Reset()
func (*ObjectName) String ¶ added in v0.2.1
func (x *ObjectName) String() string
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 OrderByExpr ¶ added in v0.2.1
type 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 (*OrderByExpr) Descriptor
deprecated
added in
v0.2.1
func (*OrderByExpr) Descriptor() ([]byte, []int)
Deprecated: Use OrderByExpr.ProtoReflect.Descriptor instead.
func (*OrderByExpr) GetASCBool ¶ added in v0.2.1
func (x *OrderByExpr) GetASCBool() bool
func (*OrderByExpr) GetExpr ¶ added in v0.2.1
func (x *OrderByExpr) GetExpr() *CompoundIdent
func (*OrderByExpr) GetOrderingPos ¶ added in v0.2.1
func (x *OrderByExpr) GetOrderingPos() *Pos
func (*OrderByExpr) ProtoMessage ¶ added in v0.2.1
func (*OrderByExpr) ProtoMessage()
func (*OrderByExpr) ProtoReflect ¶ added in v0.2.1
func (x *OrderByExpr) ProtoReflect() protoreflect.Message
func (*OrderByExpr) Reset ¶ added in v0.2.1
func (x *OrderByExpr) Reset()
func (*OrderByExpr) String ¶ added in v0.2.1
func (x *OrderByExpr) String() string
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 QualifiedJoin ¶ added in v0.2.1
type QualifiedJoin struct {
Name *ObjectName `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
AliasName *Ident `protobuf:"bytes,2,opt,name=AliasName,proto3" json:"AliasName,omitempty"`
LeftElement *QualifiedJoin `protobuf:"bytes,3,opt,name=LeftElement,proto3" json:"LeftElement,omitempty"`
TypeCondition *JoinType `protobuf:"bytes,4,opt,name=TypeCondition,proto3" json:"TypeCondition,omitempty"`
Spec *JoinCondition `protobuf:"bytes,5,opt,name=Spec,proto3" json:"Spec,omitempty"`
// contains filtered or unexported fields
}
func (*QualifiedJoin) Descriptor
deprecated
added in
v0.2.1
func (*QualifiedJoin) Descriptor() ([]byte, []int)
Deprecated: Use QualifiedJoin.ProtoReflect.Descriptor instead.
func (*QualifiedJoin) GetAliasName ¶ added in v0.2.1
func (x *QualifiedJoin) GetAliasName() *Ident
func (*QualifiedJoin) GetLeftElement ¶ added in v0.2.1
func (x *QualifiedJoin) GetLeftElement() *QualifiedJoin
func (*QualifiedJoin) GetName ¶ added in v0.2.1
func (x *QualifiedJoin) GetName() *ObjectName
func (*QualifiedJoin) GetSpec ¶ added in v0.2.1
func (x *QualifiedJoin) GetSpec() *JoinCondition
func (*QualifiedJoin) GetTypeCondition ¶ added in v0.2.1
func (x *QualifiedJoin) GetTypeCondition() *JoinType
func (*QualifiedJoin) ProtoMessage ¶ added in v0.2.1
func (*QualifiedJoin) ProtoMessage()
func (*QualifiedJoin) ProtoReflect ¶ added in v0.2.1
func (x *QualifiedJoin) ProtoReflect() protoreflect.Message
func (*QualifiedJoin) Reset ¶ added in v0.2.1
func (x *QualifiedJoin) Reset()
func (*QualifiedJoin) String ¶ added in v0.2.1
func (x *QualifiedJoin) String() string
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 *SetOperationExpr `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`
OrderBy []*OrderByExpr `protobuf:"bytes,5,rep,name=OrderBy,proto3" json:"OrderBy,omitempty"`
LimitExpression *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() *SetOperationExpr
func (*QueryStmt) GetCTEs ¶
func (x *QueryStmt) GetCTEs() []*QueryStmt_CTE
func (*QueryStmt) GetLimitExpression ¶
func (*QueryStmt) GetOrderBy ¶
func (x *QueryStmt) GetOrderBy() []*OrderByExpr
func (*QueryStmt) ProtoMessage ¶
func (*QueryStmt) ProtoMessage()
func (*QueryStmt) ProtoReflect ¶
func (x *QueryStmt) ProtoReflect() protoreflect.Message
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 Real ¶ added in v0.2.1
type Real struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
IsUnsigned bool `protobuf:"varint,3,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,4,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*Real) Descriptor
deprecated
added in
v0.2.1
func (*Real) GetIsUnsigned ¶ added in v0.2.1
func (*Real) GetUnsigned ¶ added in v0.2.1
func (*Real) ProtoMessage ¶ added in v0.2.1
func (*Real) ProtoMessage()
func (*Real) ProtoReflect ¶ added in v0.2.1
func (x *Real) ProtoReflect() protoreflect.Message
type ReferenceKeyExpr ¶ added in v0.2.1
type ReferenceKeyExpr struct {
TableName *Ident `protobuf:"bytes,1,opt,name=TableName,proto3" json:"TableName,omitempty"`
Columns []*Ident `protobuf:"bytes,2,rep,name=Columns,proto3" json:"Columns,omitempty"`
RParen *Pos `protobuf:"bytes,3,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*ReferenceKeyExpr) Descriptor
deprecated
added in
v0.2.1
func (*ReferenceKeyExpr) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceKeyExpr.ProtoReflect.Descriptor instead.
func (*ReferenceKeyExpr) GetColumns ¶ added in v0.2.1
func (x *ReferenceKeyExpr) GetColumns() []*Ident
func (*ReferenceKeyExpr) GetRParen ¶ added in v0.2.1
func (x *ReferenceKeyExpr) GetRParen() *Pos
func (*ReferenceKeyExpr) GetTableName ¶ added in v0.2.1
func (x *ReferenceKeyExpr) GetTableName() *Ident
func (*ReferenceKeyExpr) ProtoMessage ¶ added in v0.2.1
func (*ReferenceKeyExpr) ProtoMessage()
func (*ReferenceKeyExpr) ProtoReflect ¶ added in v0.2.1
func (x *ReferenceKeyExpr) ProtoReflect() protoreflect.Message
func (*ReferenceKeyExpr) Reset ¶ added in v0.2.1
func (x *ReferenceKeyExpr) Reset()
func (*ReferenceKeyExpr) String ¶ added in v0.2.1
func (x *ReferenceKeyExpr) String() string
type ReferencesColumnSpec ¶ added in v0.2.1
type ReferencesColumnSpec struct {
References *Pos `protobuf:"bytes,1,opt,name=References,proto3" json:"References,omitempty"`
RParen *Pos `protobuf:"bytes,2,opt,name=RParen,proto3" json:"RParen,omitempty"`
TableName *ObjectName `protobuf:"bytes,3,opt,name=TableName,proto3" json:"TableName,omitempty"`
Columns []*Ident `protobuf:"bytes,4,rep,name=Columns,proto3" json:"Columns,omitempty"`
// contains filtered or unexported fields
}
func (*ReferencesColumnSpec) Descriptor
deprecated
added in
v0.2.1
func (*ReferencesColumnSpec) Descriptor() ([]byte, []int)
Deprecated: Use ReferencesColumnSpec.ProtoReflect.Descriptor instead.
func (*ReferencesColumnSpec) GetColumns ¶ added in v0.2.1
func (x *ReferencesColumnSpec) GetColumns() []*Ident
func (*ReferencesColumnSpec) GetRParen ¶ added in v0.2.1
func (x *ReferencesColumnSpec) GetRParen() *Pos
func (*ReferencesColumnSpec) GetReferences ¶ added in v0.2.1
func (x *ReferencesColumnSpec) GetReferences() *Pos
func (*ReferencesColumnSpec) GetTableName ¶ added in v0.2.1
func (x *ReferencesColumnSpec) GetTableName() *ObjectName
func (*ReferencesColumnSpec) ProtoMessage ¶ added in v0.2.1
func (*ReferencesColumnSpec) ProtoMessage()
func (*ReferencesColumnSpec) ProtoReflect ¶ added in v0.2.1
func (x *ReferencesColumnSpec) ProtoReflect() protoreflect.Message
func (*ReferencesColumnSpec) Reset ¶ added in v0.2.1
func (x *ReferencesColumnSpec) Reset()
func (*ReferencesColumnSpec) String ¶ added in v0.2.1
func (x *ReferencesColumnSpec) String() string
type ReferentialTableConstraint ¶ added in v0.2.1
type ReferentialTableConstraint struct {
Foreign *Pos `protobuf:"bytes,1,opt,name=Foreign,proto3" json:"Foreign,omitempty"`
Columns []*Ident `protobuf:"bytes,2,rep,name=Columns,proto3" json:"Columns,omitempty"`
KeyExpr *ReferenceKeyExpr `protobuf:"bytes,3,opt,name=KeyExpr,proto3" json:"KeyExpr,omitempty"`
// contains filtered or unexported fields
}
func (*ReferentialTableConstraint) Descriptor
deprecated
added in
v0.2.1
func (*ReferentialTableConstraint) Descriptor() ([]byte, []int)
Deprecated: Use ReferentialTableConstraint.ProtoReflect.Descriptor instead.
func (*ReferentialTableConstraint) GetColumns ¶ added in v0.2.1
func (x *ReferentialTableConstraint) GetColumns() []*Ident
func (*ReferentialTableConstraint) GetForeign ¶ added in v0.2.1
func (x *ReferentialTableConstraint) GetForeign() *Pos
func (*ReferentialTableConstraint) GetKeyExpr ¶ added in v0.2.1
func (x *ReferentialTableConstraint) GetKeyExpr() *ReferenceKeyExpr
func (*ReferentialTableConstraint) ProtoMessage ¶ added in v0.2.1
func (*ReferentialTableConstraint) ProtoMessage()
func (*ReferentialTableConstraint) ProtoReflect ¶ added in v0.2.1
func (x *ReferentialTableConstraint) ProtoReflect() protoreflect.Message
func (*ReferentialTableConstraint) Reset ¶ added in v0.2.1
func (x *ReferentialTableConstraint) Reset()
func (*ReferentialTableConstraint) String ¶ added in v0.2.1
func (x *ReferentialTableConstraint) String() string
type Regclass ¶ added in v0.2.1
type Regclass struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Regclass) Descriptor
deprecated
added in
v0.2.1
func (*Regclass) ProtoMessage ¶ added in v0.2.1
func (*Regclass) ProtoMessage()
func (*Regclass) ProtoReflect ¶ added in v0.2.1
func (x *Regclass) ProtoReflect() protoreflect.Message
type ResultMessage ¶ added in v0.2.1
type ResultMessage struct {
// Types that are assignable to ResultClause:
//
// *ResultMessage_ResultIdent
// *ResultMessage_ResultUnary
ResultClause isResultMessage_ResultClause `protobuf_oneof:"ResultClause"`
// contains filtered or unexported fields
}
CASE [Operand] WHEN Conditions... THEN Results... [ELSE ElseResult] END
func (*ResultMessage) Descriptor
deprecated
added in
v0.2.1
func (*ResultMessage) Descriptor() ([]byte, []int)
Deprecated: Use ResultMessage.ProtoReflect.Descriptor instead.
func (*ResultMessage) GetResultClause ¶ added in v0.2.1
func (m *ResultMessage) GetResultClause() isResultMessage_ResultClause
func (*ResultMessage) GetResultIdent ¶ added in v0.2.1
func (x *ResultMessage) GetResultIdent() *Ident
func (*ResultMessage) GetResultUnary ¶ added in v0.2.1
func (x *ResultMessage) GetResultUnary() *UnaryExpr
func (*ResultMessage) ProtoMessage ¶ added in v0.2.1
func (*ResultMessage) ProtoMessage()
func (*ResultMessage) ProtoReflect ¶ added in v0.2.1
func (x *ResultMessage) ProtoReflect() protoreflect.Message
func (*ResultMessage) Reset ¶ added in v0.2.1
func (x *ResultMessage) Reset()
func (*ResultMessage) String ¶ added in v0.2.1
func (x *ResultMessage) String() string
type ResultMessage_ResultIdent ¶ added in v0.2.1
type ResultMessage_ResultIdent struct {
ResultIdent *Ident `protobuf:"bytes,1,opt,name=ResultIdent,proto3,oneof"`
}
type ResultMessage_ResultUnary ¶ added in v0.2.1
type ResultMessage_ResultUnary struct {
ResultUnary *UnaryExpr `protobuf:"bytes,2,opt,name=ResultUnary,proto3,oneof"`
}
type SQLSelect ¶ added in v0.2.1
type SQLSelect struct {
DistinctBool bool `protobuf:"varint,1,opt,name=DistinctBool,proto3" json:"DistinctBool,omitempty"`
Projection []*SQLSelectItem `protobuf:"bytes,2,rep,name=Projection,proto3" json:"Projection,omitempty"`
FromClause []*QualifiedJoin `protobuf:"bytes,3,rep,name=FromClause,proto3" json:"FromClause,omitempty"`
// Types that are assignable to WhereClause:
//
// *SQLSelect_InQuery
// *SQLSelect_BinExpr
WhereClause isSQLSelect_WhereClause `protobuf_oneof:"WhereClause"`
GroupByClause []*CompoundIdent `protobuf:"bytes,8,rep,name=GroupByClause,proto3" json:"GroupByClause,omitempty"`
HavingClause *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 (*SQLSelect) Descriptor
deprecated
added in
v0.2.1
func (*SQLSelect) GetBinExpr ¶ added in v0.2.1
func (x *SQLSelect) GetBinExpr() *BinaryExpr
func (*SQLSelect) GetDistinctBool ¶ added in v0.2.1
func (*SQLSelect) GetFromClause ¶ added in v0.2.1
func (x *SQLSelect) GetFromClause() []*QualifiedJoin
func (*SQLSelect) GetGroupByClause ¶ added in v0.2.1
func (x *SQLSelect) GetGroupByClause() []*CompoundIdent
func (*SQLSelect) GetHavingClause ¶ added in v0.2.1
func (x *SQLSelect) GetHavingClause() *BinaryExpr
func (*SQLSelect) GetInQuery ¶ added in v0.2.1
func (x *SQLSelect) GetInQuery() *InSubQuery
func (*SQLSelect) GetProjection ¶ added in v0.2.1
func (x *SQLSelect) GetProjection() []*SQLSelectItem
func (*SQLSelect) GetWhereClause ¶ added in v0.2.1
func (m *SQLSelect) GetWhereClause() isSQLSelect_WhereClause
func (*SQLSelect) ProtoMessage ¶ added in v0.2.1
func (*SQLSelect) ProtoMessage()
func (*SQLSelect) ProtoReflect ¶ added in v0.2.1
func (x *SQLSelect) ProtoReflect() protoreflect.Message
type SQLSelectItem ¶ added in v0.2.1
type SQLSelectItem struct {
// Types that are assignable to SelectItemClause:
//
// *SQLSelectItem_FieldIdents
// *SQLSelectItem_FieldFunction
// *SQLSelectItem_FieldCase
// *SQLSelectItem_FieldNested
// *SQLSelectItem_FieldUnary
// *SQLSelectItem_FieldBinary
SelectItemClause isSQLSelectItem_SelectItemClause `protobuf_oneof:"SelectItemClause"`
AliasName *Ident `protobuf:"bytes,10,opt,name=AliasName,proto3" json:"AliasName,omitempty"`
// contains filtered or unexported fields
}
func (*SQLSelectItem) Descriptor
deprecated
added in
v0.2.1
func (*SQLSelectItem) Descriptor() ([]byte, []int)
Deprecated: Use SQLSelectItem.ProtoReflect.Descriptor instead.
func (*SQLSelectItem) GetAliasName ¶ added in v0.2.1
func (x *SQLSelectItem) GetAliasName() *Ident
func (*SQLSelectItem) GetFieldBinary ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldBinary() *BinaryExpr
func (*SQLSelectItem) GetFieldCase ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldCase() *CaseExpr
func (*SQLSelectItem) GetFieldFunction ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldFunction() *AggFunction
func (*SQLSelectItem) GetFieldIdents ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldIdents() *CompoundIdent
func (*SQLSelectItem) GetFieldNested ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldNested() *Nested
func (*SQLSelectItem) GetFieldUnary ¶ added in v0.2.1
func (x *SQLSelectItem) GetFieldUnary() *UnaryExpr
func (*SQLSelectItem) GetSelectItemClause ¶ added in v0.2.1
func (m *SQLSelectItem) GetSelectItemClause() isSQLSelectItem_SelectItemClause
func (*SQLSelectItem) ProtoMessage ¶ added in v0.2.1
func (*SQLSelectItem) ProtoMessage()
func (*SQLSelectItem) ProtoReflect ¶ added in v0.2.1
func (x *SQLSelectItem) ProtoReflect() protoreflect.Message
func (*SQLSelectItem) Reset ¶ added in v0.2.1
func (x *SQLSelectItem) Reset()
func (*SQLSelectItem) String ¶ added in v0.2.1
func (x *SQLSelectItem) String() string
type SQLSelectItem_FieldBinary ¶ added in v0.2.1
type SQLSelectItem_FieldBinary struct {
FieldBinary *BinaryExpr `protobuf:"bytes,6,opt,name=FieldBinary,proto3,oneof"`
}
type SQLSelectItem_FieldCase ¶ added in v0.2.1
type SQLSelectItem_FieldCase struct {
FieldCase *CaseExpr `protobuf:"bytes,3,opt,name=FieldCase,proto3,oneof"`
}
type SQLSelectItem_FieldFunction ¶ added in v0.2.1
type SQLSelectItem_FieldFunction struct {
FieldFunction *AggFunction `protobuf:"bytes,2,opt,name=FieldFunction,proto3,oneof"`
}
type SQLSelectItem_FieldIdents ¶ added in v0.2.1
type SQLSelectItem_FieldIdents struct {
FieldIdents *CompoundIdent `protobuf:"bytes,1,opt,name=FieldIdents,proto3,oneof"`
}
type SQLSelectItem_FieldNested ¶ added in v0.2.1
type SQLSelectItem_FieldNested struct {
FieldNested *Nested `protobuf:"bytes,4,opt,name=FieldNested,proto3,oneof"`
}
type SQLSelectItem_FieldUnary ¶ added in v0.2.1
type SQLSelectItem_FieldUnary struct {
FieldUnary *UnaryExpr `protobuf:"bytes,5,opt,name=FieldUnary,proto3,oneof"`
}
type SQLSelect_BinExpr ¶ added in v0.2.1
type SQLSelect_BinExpr struct {
BinExpr *BinaryExpr `protobuf:"bytes,5,opt,name=BinExpr,proto3,oneof"`
}
type SQLSelect_InQuery ¶ added in v0.2.1
type SQLSelect_InQuery struct {
InQuery *InSubQuery `protobuf:"bytes,4,opt,name=InQuery,proto3,oneof"`
}
type SetOperationExpr ¶ added in v0.2.1
type SetOperationExpr struct {
LeftSide *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 *SetOperationExpr `protobuf:"bytes,4,opt,name=RightSide,proto3" json:"RightSide,omitempty"`
// contains filtered or unexported fields
}
func (*SetOperationExpr) Descriptor
deprecated
added in
v0.2.1
func (*SetOperationExpr) Descriptor() ([]byte, []int)
Deprecated: Use SetOperationExpr.ProtoReflect.Descriptor instead.
func (*SetOperationExpr) GetAllBool ¶ added in v0.2.1
func (x *SetOperationExpr) GetAllBool() bool
func (*SetOperationExpr) GetLeftSide ¶ added in v0.2.1
func (x *SetOperationExpr) GetLeftSide() *SQLSelect
func (*SetOperationExpr) GetOp ¶ added in v0.2.1
func (x *SetOperationExpr) GetOp() *SetOperator
func (*SetOperationExpr) GetRightSide ¶ added in v0.2.1
func (x *SetOperationExpr) GetRightSide() *SetOperationExpr
func (*SetOperationExpr) ProtoMessage ¶ added in v0.2.1
func (*SetOperationExpr) ProtoMessage()
func (*SetOperationExpr) ProtoReflect ¶ added in v0.2.1
func (x *SetOperationExpr) ProtoReflect() protoreflect.Message
func (*SetOperationExpr) Reset ¶ added in v0.2.1
func (x *SetOperationExpr) Reset()
func (*SetOperationExpr) String ¶ added in v0.2.1
func (x *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 SingleQuotedString ¶ added in v0.2.1
type SingleQuotedString 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 (*SingleQuotedString) Descriptor
deprecated
added in
v0.2.1
func (*SingleQuotedString) Descriptor() ([]byte, []int)
Deprecated: Use SingleQuotedString.ProtoReflect.Descriptor instead.
func (*SingleQuotedString) GetFrom ¶ added in v0.2.1
func (x *SingleQuotedString) GetFrom() *Pos
func (*SingleQuotedString) GetTo ¶ added in v0.2.1
func (x *SingleQuotedString) GetTo() *Pos
func (*SingleQuotedString) GetValue ¶ added in v0.2.1
func (x *SingleQuotedString) GetValue() string
func (*SingleQuotedString) ProtoMessage ¶ added in v0.2.1
func (*SingleQuotedString) ProtoMessage()
func (*SingleQuotedString) ProtoReflect ¶ added in v0.2.1
func (x *SingleQuotedString) ProtoReflect() protoreflect.Message
func (*SingleQuotedString) Reset ¶ added in v0.2.1
func (x *SingleQuotedString) Reset()
func (*SingleQuotedString) String ¶ added in v0.2.1
func (x *SingleQuotedString) String() string
type SmallInt ¶ added in v0.2.1
type SmallInt struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
IsUnsigned bool `protobuf:"varint,3,opt,name=IsUnsigned,proto3" json:"IsUnsigned,omitempty"`
Unsigned *Pos `protobuf:"bytes,4,opt,name=Unsigned,proto3" json:"Unsigned,omitempty"`
// contains filtered or unexported fields
}
func (*SmallInt) Descriptor
deprecated
added in
v0.2.1
func (*SmallInt) GetIsUnsigned ¶ added in v0.2.1
func (*SmallInt) GetUnsigned ¶ added in v0.2.1
func (*SmallInt) ProtoMessage ¶ added in v0.2.1
func (*SmallInt) ProtoMessage()
func (*SmallInt) ProtoReflect ¶ added in v0.2.1
func (x *SmallInt) ProtoReflect() protoreflect.Message
type TableConstraint ¶ added in v0.2.1
type TableConstraint struct {
Constraint *Pos `protobuf:"bytes,1,opt,name=Constraint,proto3" json:"Constraint,omitempty"`
Name *Ident `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
// Types that are assignable to Spec:
//
// *TableConstraint_SpecReference
// *TableConstraint_SpecCheck
// *TableConstraint_SpecUnique
Spec isTableConstraint_Spec `protobuf_oneof:"Spec"`
// contains filtered or unexported fields
}
func (*TableConstraint) Descriptor
deprecated
added in
v0.2.1
func (*TableConstraint) Descriptor() ([]byte, []int)
Deprecated: Use TableConstraint.ProtoReflect.Descriptor instead.
func (*TableConstraint) GetConstraint ¶ added in v0.2.1
func (x *TableConstraint) GetConstraint() *Pos
func (*TableConstraint) GetName ¶ added in v0.2.1
func (x *TableConstraint) GetName() *Ident
func (*TableConstraint) GetSpec ¶ added in v0.2.1
func (m *TableConstraint) GetSpec() isTableConstraint_Spec
func (*TableConstraint) GetSpecCheck ¶ added in v0.2.1
func (x *TableConstraint) GetSpecCheck() *CheckTableConstraint
func (*TableConstraint) GetSpecReference ¶ added in v0.2.1
func (x *TableConstraint) GetSpecReference() *ReferentialTableConstraint
func (*TableConstraint) GetSpecUnique ¶ added in v0.2.1
func (x *TableConstraint) GetSpecUnique() *UniqueTableConstraint
func (*TableConstraint) ProtoMessage ¶ added in v0.2.1
func (*TableConstraint) ProtoMessage()
func (*TableConstraint) ProtoReflect ¶ added in v0.2.1
func (x *TableConstraint) ProtoReflect() protoreflect.Message
func (*TableConstraint) Reset ¶ added in v0.2.1
func (x *TableConstraint) Reset()
func (*TableConstraint) String ¶ added in v0.2.1
func (x *TableConstraint) String() string
type TableConstraint_SpecCheck ¶ added in v0.2.1
type TableConstraint_SpecCheck struct {
SpecCheck *CheckTableConstraint `protobuf:"bytes,4,opt,name=SpecCheck,proto3,oneof"`
}
type TableConstraint_SpecReference ¶ added in v0.2.1
type TableConstraint_SpecReference struct {
SpecReference *ReferentialTableConstraint `protobuf:"bytes,3,opt,name=SpecReference,proto3,oneof"`
}
type TableConstraint_SpecUnique ¶ added in v0.2.1
type TableConstraint_SpecUnique struct {
SpecUnique *UniqueTableConstraint `protobuf:"bytes,5,opt,name=SpecUnique,proto3,oneof"`
}
type TableElement ¶ added in v0.2.1
type TableElement struct {
// Types that are assignable to TableElementClause:
//
// *TableElement_ColumnDefElement
// *TableElement_TableConstraintElement
TableElementClause isTableElement_TableElementClause `protobuf_oneof:"TableElementClause"`
// contains filtered or unexported fields
}
func (*TableElement) Descriptor
deprecated
added in
v0.2.1
func (*TableElement) Descriptor() ([]byte, []int)
Deprecated: Use TableElement.ProtoReflect.Descriptor instead.
func (*TableElement) GetColumnDefElement ¶ added in v0.2.1
func (x *TableElement) GetColumnDefElement() *ColumnDef
func (*TableElement) GetTableConstraintElement ¶ added in v0.2.1
func (x *TableElement) GetTableConstraintElement() *TableConstraint
func (*TableElement) GetTableElementClause ¶ added in v0.2.1
func (m *TableElement) GetTableElementClause() isTableElement_TableElementClause
func (*TableElement) ProtoMessage ¶ added in v0.2.1
func (*TableElement) ProtoMessage()
func (*TableElement) ProtoReflect ¶ added in v0.2.1
func (x *TableElement) ProtoReflect() protoreflect.Message
func (*TableElement) Reset ¶ added in v0.2.1
func (x *TableElement) Reset()
func (*TableElement) String ¶ added in v0.2.1
func (x *TableElement) String() string
type TableElement_ColumnDefElement ¶ added in v0.2.1
type TableElement_ColumnDefElement struct {
ColumnDefElement *ColumnDef `protobuf:"bytes,1,opt,name=ColumnDefElement,proto3,oneof"`
}
type TableElement_TableConstraintElement ¶ added in v0.2.1
type TableElement_TableConstraintElement struct {
TableConstraintElement *TableConstraint `protobuf:"bytes,2,opt,name=TableConstraintElement,proto3,oneof"`
}
type TableOption ¶ added in v0.2.1
type TableOption struct {
// Types that are assignable to TableOptionClause:
//
// *TableOption_MyEngineOption
// *TableOption_MyCharsetOption
TableOptionClause isTableOption_TableOptionClause `protobuf_oneof:"TableOptionClause"`
// contains filtered or unexported fields
}
func (*TableOption) Descriptor
deprecated
added in
v0.2.1
func (*TableOption) Descriptor() ([]byte, []int)
Deprecated: Use TableOption.ProtoReflect.Descriptor instead.
func (*TableOption) GetMyCharsetOption ¶ added in v0.2.1
func (x *TableOption) GetMyCharsetOption() *MyCharset
func (*TableOption) GetMyEngineOption ¶ added in v0.2.1
func (x *TableOption) GetMyEngineOption() *MyEngine
func (*TableOption) GetTableOptionClause ¶ added in v0.2.1
func (m *TableOption) GetTableOptionClause() isTableOption_TableOptionClause
func (*TableOption) ProtoMessage ¶ added in v0.2.1
func (*TableOption) ProtoMessage()
func (*TableOption) ProtoReflect ¶ added in v0.2.1
func (x *TableOption) ProtoReflect() protoreflect.Message
func (*TableOption) Reset ¶ added in v0.2.1
func (x *TableOption) Reset()
func (*TableOption) String ¶ added in v0.2.1
func (x *TableOption) String() string
type TableOption_MyCharsetOption ¶ added in v0.2.1
type TableOption_MyCharsetOption struct {
MyCharsetOption *MyCharset `protobuf:"bytes,2,opt,name=MyCharsetOption,proto3,oneof"`
}
type TableOption_MyEngineOption ¶ added in v0.2.1
type TableOption_MyEngineOption struct {
MyEngineOption *MyEngine `protobuf:"bytes,1,opt,name=MyEngineOption,proto3,oneof"`
}
type Text ¶ added in v0.2.1
type Text struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Text) Descriptor
deprecated
added in
v0.2.1
func (*Text) ProtoMessage ¶ added in v0.2.1
func (*Text) ProtoMessage()
func (*Text) ProtoReflect ¶ added in v0.2.1
func (x *Text) ProtoReflect() protoreflect.Message
type Time ¶ added in v0.2.1
type Time struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*Time) Descriptor
deprecated
added in
v0.2.1
func (*Time) ProtoMessage ¶ added in v0.2.1
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶ added in v0.2.1
func (x *Time) ProtoReflect() protoreflect.Message
type Timestamp ¶ added in v0.2.1
type Timestamp struct {
WithTimeZone bool `protobuf:"varint,1,opt,name=WithTimeZone,proto3" json:"WithTimeZone,omitempty"`
Timestamp *Pos `protobuf:"bytes,2,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
Zone *Pos `protobuf:"bytes,3,opt,name=Zone,proto3" json:"Zone,omitempty"`
// contains filtered or unexported fields
}
func (*Timestamp) Descriptor
deprecated
added in
v0.2.1
func (*Timestamp) GetTimestamp ¶ added in v0.2.1
func (*Timestamp) GetWithTimeZone ¶ added in v0.2.1
func (*Timestamp) ProtoMessage ¶ added in v0.2.1
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶ added in v0.2.1
func (x *Timestamp) ProtoReflect() protoreflect.Message
type UUID ¶ added in v0.2.1
type UUID struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To *Pos `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
// contains filtered or unexported fields
}
func (*UUID) Descriptor
deprecated
added in
v0.2.1
func (*UUID) ProtoMessage ¶ added in v0.2.1
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶ added in v0.2.1
func (x *UUID) ProtoReflect() protoreflect.Message
type UnaryExpr ¶ added in v0.2.1
type UnaryExpr struct {
From *Pos `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
Op *Operator `protobuf:"bytes,2,opt,name=Op,proto3" json:"Op,omitempty"`
Expr *BinaryExpr `protobuf:"bytes,3,opt,name=Expr,proto3" json:"Expr,omitempty"`
// contains filtered or unexported fields
}
func (*UnaryExpr) Descriptor
deprecated
added in
v0.2.1
func (*UnaryExpr) GetExpr ¶ added in v0.2.1
func (x *UnaryExpr) GetExpr() *BinaryExpr
func (*UnaryExpr) ProtoMessage ¶ added in v0.2.1
func (*UnaryExpr) ProtoMessage()
func (*UnaryExpr) ProtoReflect ¶ added in v0.2.1
func (x *UnaryExpr) ProtoReflect() protoreflect.Message
type UniqueColumnSpec ¶ added in v0.2.1
type UniqueColumnSpec struct {
IsPrimaryKey bool `protobuf:"varint,1,opt,name=IsPrimaryKey,proto3" json:"IsPrimaryKey,omitempty"`
Primary *Pos `protobuf:"bytes,2,opt,name=Primary,proto3" json:"Primary,omitempty"`
Key *Pos `protobuf:"bytes,3,opt,name=Key,proto3" json:"Key,omitempty"`
Unique *Pos `protobuf:"bytes,4,opt,name=Unique,proto3" json:"Unique,omitempty"`
// contains filtered or unexported fields
}
func (*UniqueColumnSpec) Descriptor
deprecated
added in
v0.2.1
func (*UniqueColumnSpec) Descriptor() ([]byte, []int)
Deprecated: Use UniqueColumnSpec.ProtoReflect.Descriptor instead.
func (*UniqueColumnSpec) GetIsPrimaryKey ¶ added in v0.2.1
func (x *UniqueColumnSpec) GetIsPrimaryKey() bool
func (*UniqueColumnSpec) GetKey ¶ added in v0.2.1
func (x *UniqueColumnSpec) GetKey() *Pos
func (*UniqueColumnSpec) GetPrimary ¶ added in v0.2.1
func (x *UniqueColumnSpec) GetPrimary() *Pos
func (*UniqueColumnSpec) GetUnique ¶ added in v0.2.1
func (x *UniqueColumnSpec) GetUnique() *Pos
func (*UniqueColumnSpec) ProtoMessage ¶ added in v0.2.1
func (*UniqueColumnSpec) ProtoMessage()
func (*UniqueColumnSpec) ProtoReflect ¶ added in v0.2.1
func (x *UniqueColumnSpec) ProtoReflect() protoreflect.Message
func (*UniqueColumnSpec) Reset ¶ added in v0.2.1
func (x *UniqueColumnSpec) Reset()
func (*UniqueColumnSpec) String ¶ added in v0.2.1
func (x *UniqueColumnSpec) String() string
type UniqueTableConstraint ¶ added in v0.2.1
type UniqueTableConstraint struct {
Primary *Pos `protobuf:"bytes,1,opt,name=Primary,proto3" json:"Primary,omitempty"`
Unique *Pos `protobuf:"bytes,2,opt,name=Unique,proto3" json:"Unique,omitempty"`
RParen *Pos `protobuf:"bytes,3,opt,name=RParen,proto3" json:"RParen,omitempty"`
IsPrimary bool `protobuf:"varint,4,opt,name=IsPrimary,proto3" json:"IsPrimary,omitempty"`
Columns []*Ident `protobuf:"bytes,5,rep,name=Columns,proto3" json:"Columns,omitempty"`
// contains filtered or unexported fields
}
func (*UniqueTableConstraint) Descriptor
deprecated
added in
v0.2.1
func (*UniqueTableConstraint) Descriptor() ([]byte, []int)
Deprecated: Use UniqueTableConstraint.ProtoReflect.Descriptor instead.
func (*UniqueTableConstraint) GetColumns ¶ added in v0.2.1
func (x *UniqueTableConstraint) GetColumns() []*Ident
func (*UniqueTableConstraint) GetIsPrimary ¶ added in v0.2.1
func (x *UniqueTableConstraint) GetIsPrimary() bool
func (*UniqueTableConstraint) GetPrimary ¶ added in v0.2.1
func (x *UniqueTableConstraint) GetPrimary() *Pos
func (*UniqueTableConstraint) GetRParen ¶ added in v0.2.1
func (x *UniqueTableConstraint) GetRParen() *Pos
func (*UniqueTableConstraint) GetUnique ¶ added in v0.2.1
func (x *UniqueTableConstraint) GetUnique() *Pos
func (*UniqueTableConstraint) ProtoMessage ¶ added in v0.2.1
func (*UniqueTableConstraint) ProtoMessage()
func (*UniqueTableConstraint) ProtoReflect ¶ added in v0.2.1
func (x *UniqueTableConstraint) ProtoReflect() protoreflect.Message
func (*UniqueTableConstraint) Reset ¶ added in v0.2.1
func (x *UniqueTableConstraint) Reset()
func (*UniqueTableConstraint) String ¶ added in v0.2.1
func (x *UniqueTableConstraint) String() string
type VarcharType ¶ added in v0.2.1
type VarcharType struct {
Size uint32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"`
Character *Pos `protobuf:"bytes,2,opt,name=Character,proto3" json:"Character,omitempty"`
Varying *Pos `protobuf:"bytes,3,opt,name=Varying,proto3" json:"Varying,omitempty"`
RParen *Pos `protobuf:"bytes,4,opt,name=RParen,proto3" json:"RParen,omitempty"`
// contains filtered or unexported fields
}
func (*VarcharType) Descriptor
deprecated
added in
v0.2.1
func (*VarcharType) Descriptor() ([]byte, []int)
Deprecated: Use VarcharType.ProtoReflect.Descriptor instead.
func (*VarcharType) GetCharacter ¶ added in v0.2.1
func (x *VarcharType) GetCharacter() *Pos
func (*VarcharType) GetRParen ¶ added in v0.2.1
func (x *VarcharType) GetRParen() *Pos
func (*VarcharType) GetSize ¶ added in v0.2.1
func (x *VarcharType) GetSize() uint32
func (*VarcharType) GetVarying ¶ added in v0.2.1
func (x *VarcharType) GetVarying() *Pos
func (*VarcharType) ProtoMessage ¶ added in v0.2.1
func (*VarcharType) ProtoMessage()
func (*VarcharType) ProtoReflect ¶ added in v0.2.1
func (x *VarcharType) ProtoReflect() protoreflect.Message
func (*VarcharType) Reset ¶ added in v0.2.1
func (x *VarcharType) Reset()
func (*VarcharType) String ¶ added in v0.2.1
func (x *VarcharType) String() string