xast

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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
const (
	AggType_UnknownAgg AggType = 0
	AggType_MAX        AggType = 1
	AggType_MIN        AggType = 2
	AggType_COUNT      AggType = 3
	AggType_SUM        AggType = 4
	AggType_AVG        AggType = 5
)

func (AggType) Descriptor

func (AggType) Descriptor() protoreflect.EnumDescriptor

func (AggType) Enum

func (x AggType) Enum() *AggType

func (AggType) EnumDescriptor deprecated

func (AggType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggType.Descriptor instead.

func (AggType) Number

func (x AggType) Number() protoreflect.EnumNumber

func (AggType) String

func (x AggType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BigInt.ProtoReflect.Descriptor instead.

func (*BigInt) GetFrom added in v0.2.1

func (x *BigInt) GetFrom() *Pos

func (*BigInt) GetIsUnsigned added in v0.2.1

func (x *BigInt) GetIsUnsigned() bool

func (*BigInt) GetTo added in v0.2.1

func (x *BigInt) GetTo() *Pos

func (*BigInt) GetUnsigned added in v0.2.1

func (x *BigInt) GetUnsigned() *Pos

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

func (*BigInt) Reset added in v0.2.1

func (x *BigInt) Reset()

func (*BigInt) String added in v0.2.1

func (x *BigInt) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Boolean.ProtoReflect.Descriptor instead.

func (*Boolean) GetFrom added in v0.2.1

func (x *Boolean) GetFrom() *Pos

func (*Boolean) GetTo added in v0.2.1

func (x *Boolean) GetTo() *Pos

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

func (*Boolean) Reset added in v0.2.1

func (x *Boolean) Reset()

func (*Boolean) String added in v0.2.1

func (x *Boolean) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Bytea.ProtoReflect.Descriptor instead.

func (*Bytea) GetFrom added in v0.2.1

func (x *Bytea) GetFrom() *Pos

func (*Bytea) GetTo added in v0.2.1

func (x *Bytea) GetTo() *Pos

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

func (*Bytea) Reset added in v0.2.1

func (x *Bytea) Reset()

func (*Bytea) String added in v0.2.1

func (x *Bytea) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CaseExpr.ProtoReflect.Descriptor instead.

func (*CaseExpr) GetCase added in v0.2.1

func (x *CaseExpr) GetCase() *Pos

func (*CaseExpr) GetCaseEnd added in v0.2.1

func (x *CaseExpr) GetCaseEnd() *Pos

func (*CaseExpr) GetConditions added in v0.2.1

func (x *CaseExpr) GetConditions() []*BinaryExpr

func (*CaseExpr) GetElseResult added in v0.2.1

func (x *CaseExpr) GetElseResult() *Ident

func (*CaseExpr) GetOperand added in v0.2.1

func (x *CaseExpr) GetOperand() *Operator

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

func (*CaseExpr) Reset added in v0.2.1

func (x *CaseExpr) Reset()

func (*CaseExpr) String added in v0.2.1

func (x *CaseExpr) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CharType.ProtoReflect.Descriptor instead.

func (*CharType) GetFrom added in v0.2.1

func (x *CharType) GetFrom() *Pos

func (*CharType) GetSize added in v0.2.1

func (x *CharType) GetSize() uint32

func (*CharType) GetTo added in v0.2.1

func (x *CharType) GetTo() *Pos

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

func (*CharType) Reset added in v0.2.1

func (x *CharType) Reset()

func (*CharType) String added in v0.2.1

func (x *CharType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ColumnDef.ProtoReflect.Descriptor instead.

func (*ColumnDef) GetBigIntData added in v0.2.1

func (x *ColumnDef) GetBigIntData() *BigInt

func (*ColumnDef) GetCharData added in v0.2.1

func (x *ColumnDef) GetCharData() *CharType

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 (x *ColumnDef) GetIdentDefault() *Ident

func (*ColumnDef) GetIntData added in v0.2.1

func (x *ColumnDef) GetIntData() *Int

func (*ColumnDef) GetLongDefault added in v0.2.1

func (x *ColumnDef) GetLongDefault() *LongValue

func (*ColumnDef) GetMyDecos added in v0.2.1

func (x *ColumnDef) GetMyDecos() []*MyDataTypeDecoration

func (*ColumnDef) GetName added in v0.2.1

func (x *ColumnDef) GetName() *Ident

func (*ColumnDef) GetSmallIntData added in v0.2.1

func (x *ColumnDef) GetSmallIntData() *SmallInt

func (*ColumnDef) GetStringDefault added in v0.2.1

func (x *ColumnDef) GetStringDefault() *SingleQuotedString

func (*ColumnDef) GetTimestampData added in v0.2.1

func (x *ColumnDef) GetTimestampData() *Timestamp

func (*ColumnDef) GetUUIDData added in v0.2.1

func (x *ColumnDef) GetUUIDData() *UUID

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

func (*ColumnDef) Reset added in v0.2.1

func (x *ColumnDef) Reset()

func (*ColumnDef) String added in v0.2.1

func (x *ColumnDef) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Custom.ProtoReflect.Descriptor instead.

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

func (*Custom) Reset added in v0.2.1

func (x *Custom) Reset()

func (*Custom) String added in v0.2.1

func (x *Custom) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetFrom added in v0.2.1

func (x *Date) GetFrom() *Pos

func (*Date) GetTo added in v0.2.1

func (x *Date) GetTo() *Pos

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

func (*Date) Reset added in v0.2.1

func (x *Date) Reset()

func (*Date) String added in v0.2.1

func (x *Date) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Decimal.ProtoReflect.Descriptor instead.

func (*Decimal) GetIsUnsigned added in v0.2.1

func (x *Decimal) GetIsUnsigned() bool

func (*Decimal) GetNumeric added in v0.2.1

func (x *Decimal) GetNumeric() *Pos

func (*Decimal) GetPrecision added in v0.2.1

func (x *Decimal) GetPrecision() uint32

func (*Decimal) GetRParen added in v0.2.1

func (x *Decimal) GetRParen() *Pos

func (*Decimal) GetScale added in v0.2.1

func (x *Decimal) GetScale() uint32

func (*Decimal) GetUnsigned added in v0.2.1

func (x *Decimal) GetUnsigned() *Pos

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

func (*Decimal) Reset added in v0.2.1

func (x *Decimal) Reset()

func (*Decimal) String added in v0.2.1

func (x *Decimal) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Double.ProtoReflect.Descriptor instead.

func (*Double) GetFrom added in v0.2.1

func (x *Double) GetFrom() *Pos

func (*Double) GetTo added in v0.2.1

func (x *Double) GetTo() *Pos

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

func (*Double) Reset added in v0.2.1

func (x *Double) Reset()

func (*Double) String added in v0.2.1

func (x *Double) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetFrom added in v0.2.1

func (x *Float) GetFrom() *Pos

func (*Float) GetIsUnsigned added in v0.2.1

func (x *Float) GetIsUnsigned() bool

func (*Float) GetSize added in v0.2.1

func (x *Float) GetSize() uint32

func (*Float) GetTo added in v0.2.1

func (x *Float) GetTo() *Pos

func (*Float) GetUnsigned added in v0.2.1

func (x *Float) GetUnsigned() *Pos

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

func (*Float) Reset added in v0.2.1

func (x *Float) Reset()

func (*Float) String added in v0.2.1

func (x *Float) String() string

type Ident

type Ident struct {
	Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
	From  *Pos   `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
	To    *Pos   `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
	// contains filtered or unexported fields
}

func (*Ident) Descriptor deprecated

func (*Ident) Descriptor() ([]byte, []int)

Deprecated: Use Ident.ProtoReflect.Descriptor instead.

func (*Ident) GetFrom

func (x *Ident) GetFrom() *Pos

func (*Ident) GetTo

func (x *Ident) GetTo() *Pos

func (*Ident) GetValue

func (x *Ident) GetValue() string

func (*Ident) ProtoMessage

func (*Ident) ProtoMessage()

func (*Ident) ProtoReflect

func (x *Ident) ProtoReflect() protoreflect.Message

func (*Ident) Reset

func (x *Ident) Reset()

func (*Ident) String

func (x *Ident) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Int.ProtoReflect.Descriptor instead.

func (*Int) GetFrom added in v0.2.1

func (x *Int) GetFrom() *Pos

func (*Int) GetIsUnsigned added in v0.2.1

func (x *Int) GetIsUnsigned() bool

func (*Int) GetTo added in v0.2.1

func (x *Int) GetTo() *Pos

func (*Int) GetUnsigned added in v0.2.1

func (x *Int) GetUnsigned() *Pos

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

func (*Int) Reset added in v0.2.1

func (x *Int) Reset()

func (*Int) String added in v0.2.1

func (x *Int) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use JoinType.ProtoReflect.Descriptor instead.

func (*JoinType) GetCondition

func (x *JoinType) GetCondition() JoinTypeCondition

func (*JoinType) GetFrom

func (x *JoinType) GetFrom() *Pos

func (*JoinType) GetTo

func (x *JoinType) GetTo() *Pos

func (*JoinType) ProtoMessage

func (*JoinType) ProtoMessage()

func (*JoinType) ProtoReflect

func (x *JoinType) ProtoReflect() protoreflect.Message

func (*JoinType) Reset

func (x *JoinType) Reset()

func (*JoinType) String

func (x *JoinType) String() string

type JoinTypeCondition

type JoinTypeCondition int32
const (
	JoinTypeCondition_INNER      JoinTypeCondition = 0
	JoinTypeCondition_LEFT       JoinTypeCondition = 1
	JoinTypeCondition_RIGHT      JoinTypeCondition = 2
	JoinTypeCondition_FULL       JoinTypeCondition = 3
	JoinTypeCondition_LEFTOUTER  JoinTypeCondition = 4
	JoinTypeCondition_RIGHTOUTER JoinTypeCondition = 5
	JoinTypeCondition_FULLOUTER  JoinTypeCondition = 6
	JoinTypeCondition_IMPLICIT   JoinTypeCondition = 7
)

func (JoinTypeCondition) Descriptor

func (JoinTypeCondition) Enum

func (JoinTypeCondition) EnumDescriptor deprecated

func (JoinTypeCondition) EnumDescriptor() ([]byte, []int)

Deprecated: Use JoinTypeCondition.Descriptor instead.

func (JoinTypeCondition) Number

func (JoinTypeCondition) String

func (x JoinTypeCondition) String() string

func (JoinTypeCondition) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use LimitExpr.ProtoReflect.Descriptor instead.

func (*LimitExpr) GetAllBool added in v0.2.1

func (x *LimitExpr) GetAllBool() bool

func (*LimitExpr) GetAllPos added in v0.2.1

func (x *LimitExpr) GetAllPos() *Pos

func (*LimitExpr) GetLimit added in v0.2.1

func (x *LimitExpr) GetLimit() *Pos

func (*LimitExpr) GetLimitValue added in v0.2.1

func (x *LimitExpr) GetLimitValue() *LongValue

func (*LimitExpr) GetOffsetValue added in v0.2.1

func (x *LimitExpr) GetOffsetValue() *LongValue

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

func (*LimitExpr) Reset added in v0.2.1

func (x *LimitExpr) Reset()

func (*LimitExpr) String added in v0.2.1

func (x *LimitExpr) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use LongValue.ProtoReflect.Descriptor instead.

func (*LongValue) GetFrom added in v0.2.1

func (x *LongValue) GetFrom() *Pos

func (*LongValue) GetTo added in v0.2.1

func (x *LongValue) GetTo() *Pos

func (*LongValue) GetValue added in v0.2.1

func (x *LongValue) GetValue() int64

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

func (*LongValue) Reset added in v0.2.1

func (x *LongValue) Reset()

func (*LongValue) String added in v0.2.1

func (x *LongValue) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MyCharset.ProtoReflect.Descriptor instead.

func (*MyCharset) GetCharset added in v0.2.1

func (x *MyCharset) GetCharset() *Pos

func (*MyCharset) GetDefault added in v0.2.1

func (x *MyCharset) GetDefault() *Pos

func (*MyCharset) GetEqual added in v0.2.1

func (x *MyCharset) GetEqual() bool

func (*MyCharset) GetIsDefault added in v0.2.1

func (x *MyCharset) GetIsDefault() bool

func (*MyCharset) GetName added in v0.2.1

func (x *MyCharset) GetName() *Ident

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

func (*MyCharset) Reset added in v0.2.1

func (x *MyCharset) Reset()

func (*MyCharset) String added in v0.2.1

func (x *MyCharset) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MyEngine.ProtoReflect.Descriptor instead.

func (*MyEngine) GetEngine added in v0.2.1

func (x *MyEngine) GetEngine() *Pos

func (*MyEngine) GetEqual added in v0.2.1

func (x *MyEngine) GetEqual() bool

func (*MyEngine) GetName added in v0.2.1

func (x *MyEngine) GetName() *Ident

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

func (*MyEngine) Reset added in v0.2.1

func (x *MyEngine) Reset()

func (*MyEngine) String added in v0.2.1

func (x *MyEngine) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetAST added in v0.2.1

func (x *Nested) GetAST() *SQLSelectItem

func (*Nested) GetLParen added in v0.2.1

func (x *Nested) GetLParen() *Pos

func (*Nested) GetRParen added in v0.2.1

func (x *Nested) GetRParen() *Pos

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

func (*Nested) Reset added in v0.2.1

func (x *Nested) Reset()

func (*Nested) String added in v0.2.1

func (x *Nested) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Operator.ProtoReflect.Descriptor instead.

func (*Operator) GetFrom

func (x *Operator) GetFrom() *Pos

func (*Operator) GetTo

func (x *Operator) GetTo() *Pos

func (*Operator) GetType

func (x *Operator) GetType() OperatorType

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) ProtoReflect

func (x *Operator) ProtoReflect() protoreflect.Message

func (*Operator) Reset

func (x *Operator) Reset()

func (*Operator) String

func (x *Operator) String() string

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) Enum

func (x OperatorType) Enum() *OperatorType

func (OperatorType) EnumDescriptor deprecated

func (OperatorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperatorType.Descriptor instead.

func (OperatorType) Number

func (OperatorType) String

func (x OperatorType) String() string

func (OperatorType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Pos.ProtoReflect.Descriptor instead.

func (*Pos) GetCol

func (x *Pos) GetCol() int32

func (*Pos) GetLine

func (x *Pos) GetLine() int32

func (*Pos) ProtoMessage

func (*Pos) ProtoMessage()

func (*Pos) ProtoReflect

func (x *Pos) ProtoReflect() protoreflect.Message

func (*Pos) Reset

func (x *Pos) Reset()

func (*Pos) String

func (x *Pos) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use QueryStmt.ProtoReflect.Descriptor instead.

func (*QueryStmt) GetBody

func (x *QueryStmt) GetBody() *SetOperationExpr

func (*QueryStmt) GetCTEs

func (x *QueryStmt) GetCTEs() []*QueryStmt_CTE

func (*QueryStmt) GetLimitExpression

func (x *QueryStmt) GetLimitExpression() *LimitExpr

func (*QueryStmt) GetOrderBy

func (x *QueryStmt) GetOrderBy() []*OrderByExpr

func (*QueryStmt) GetWith

func (x *QueryStmt) GetWith() *Pos

func (*QueryStmt) ProtoMessage

func (*QueryStmt) ProtoMessage()

func (*QueryStmt) ProtoReflect

func (x *QueryStmt) ProtoReflect() protoreflect.Message

func (*QueryStmt) Reset

func (x *QueryStmt) Reset()

func (*QueryStmt) String

func (x *QueryStmt) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Real.ProtoReflect.Descriptor instead.

func (*Real) GetFrom added in v0.2.1

func (x *Real) GetFrom() *Pos

func (*Real) GetIsUnsigned added in v0.2.1

func (x *Real) GetIsUnsigned() bool

func (*Real) GetTo added in v0.2.1

func (x *Real) GetTo() *Pos

func (*Real) GetUnsigned added in v0.2.1

func (x *Real) GetUnsigned() *Pos

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

func (*Real) Reset added in v0.2.1

func (x *Real) Reset()

func (*Real) String added in v0.2.1

func (x *Real) String() string

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 (*ReferentialTableConstraint) ProtoMessage added in v0.2.1

func (*ReferentialTableConstraint) ProtoMessage()

func (*ReferentialTableConstraint) ProtoReflect added in v0.2.1

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) Descriptor() ([]byte, []int)

Deprecated: Use Regclass.ProtoReflect.Descriptor instead.

func (*Regclass) GetFrom added in v0.2.1

func (x *Regclass) GetFrom() *Pos

func (*Regclass) GetTo added in v0.2.1

func (x *Regclass) GetTo() *Pos

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

func (*Regclass) Reset added in v0.2.1

func (x *Regclass) Reset()

func (*Regclass) String added in v0.2.1

func (x *Regclass) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SQLSelect.ProtoReflect.Descriptor instead.

func (*SQLSelect) GetBinExpr added in v0.2.1

func (x *SQLSelect) GetBinExpr() *BinaryExpr

func (*SQLSelect) GetDistinctBool added in v0.2.1

func (x *SQLSelect) GetDistinctBool() bool

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) GetSelect added in v0.2.1

func (x *SQLSelect) GetSelect() *Pos

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

func (*SQLSelect) Reset added in v0.2.1

func (x *SQLSelect) Reset()

func (*SQLSelect) String added in v0.2.1

func (x *SQLSelect) String() string

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) Enum

func (x SetOperatorType) Enum() *SetOperatorType

func (SetOperatorType) EnumDescriptor deprecated

func (SetOperatorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetOperatorType.Descriptor instead.

func (SetOperatorType) Number

func (SetOperatorType) String

func (x SetOperatorType) String() string

func (SetOperatorType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use SmallInt.ProtoReflect.Descriptor instead.

func (*SmallInt) GetFrom added in v0.2.1

func (x *SmallInt) GetFrom() *Pos

func (*SmallInt) GetIsUnsigned added in v0.2.1

func (x *SmallInt) GetIsUnsigned() bool

func (*SmallInt) GetTo added in v0.2.1

func (x *SmallInt) GetTo() *Pos

func (*SmallInt) GetUnsigned added in v0.2.1

func (x *SmallInt) GetUnsigned() *Pos

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

func (*SmallInt) Reset added in v0.2.1

func (x *SmallInt) Reset()

func (*SmallInt) String added in v0.2.1

func (x *SmallInt) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Text.ProtoReflect.Descriptor instead.

func (*Text) GetFrom added in v0.2.1

func (x *Text) GetFrom() *Pos

func (*Text) GetTo added in v0.2.1

func (x *Text) GetTo() *Pos

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

func (*Text) Reset added in v0.2.1

func (x *Text) Reset()

func (*Text) String added in v0.2.1

func (x *Text) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetFrom added in v0.2.1

func (x *Time) GetFrom() *Pos

func (*Time) GetTo added in v0.2.1

func (x *Time) GetTo() *Pos

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

func (*Time) Reset added in v0.2.1

func (x *Time) Reset()

func (*Time) String added in v0.2.1

func (x *Time) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetTimestamp added in v0.2.1

func (x *Timestamp) GetTimestamp() *Pos

func (*Timestamp) GetWithTimeZone added in v0.2.1

func (x *Timestamp) GetWithTimeZone() bool

func (*Timestamp) GetZone added in v0.2.1

func (x *Timestamp) GetZone() *Pos

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

func (*Timestamp) Reset added in v0.2.1

func (x *Timestamp) Reset()

func (*Timestamp) String added in v0.2.1

func (x *Timestamp) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UUID.ProtoReflect.Descriptor instead.

func (*UUID) GetFrom added in v0.2.1

func (x *UUID) GetFrom() *Pos

func (*UUID) GetTo added in v0.2.1

func (x *UUID) GetTo() *Pos

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

func (*UUID) Reset added in v0.2.1

func (x *UUID) Reset()

func (*UUID) String added in v0.2.1

func (x *UUID) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UnaryExpr.ProtoReflect.Descriptor instead.

func (*UnaryExpr) GetExpr added in v0.2.1

func (x *UnaryExpr) GetExpr() *BinaryExpr

func (*UnaryExpr) GetFrom added in v0.2.1

func (x *UnaryExpr) GetFrom() *Pos

func (*UnaryExpr) GetOp added in v0.2.1

func (x *UnaryExpr) GetOp() *Operator

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

func (*UnaryExpr) Reset added in v0.2.1

func (x *UnaryExpr) Reset()

func (*UnaryExpr) String added in v0.2.1

func (x *UnaryExpr) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL