Help us shape the future of Go! Take the 2026 Go Developer Survey

analysis

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_analysis_analysis_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	Columns []*Column    `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	Params  []*Parameter `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*Analysis) CloneMessageVT

func (m *Analysis) CloneMessageVT() proto.Message

func (*Analysis) CloneVT

func (m *Analysis) CloneVT() *Analysis

func (*Analysis) Descriptor deprecated

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

Deprecated: Use Analysis.ProtoReflect.Descriptor instead.

func (*Analysis) EqualMessageVT

func (this *Analysis) EqualMessageVT(thatMsg proto.Message) bool

func (*Analysis) EqualVT

func (this *Analysis) EqualVT(that *Analysis) bool

func (*Analysis) GetColumns

func (x *Analysis) GetColumns() []*Column

func (*Analysis) GetParams

func (x *Analysis) GetParams() []*Parameter

func (*Analysis) MarshalToSizedBufferVT

func (m *Analysis) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Analysis) MarshalToSizedBufferVTStrict

func (m *Analysis) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Analysis) MarshalToVT

func (m *Analysis) MarshalToVT(dAtA []byte) (int, error)

func (*Analysis) MarshalToVTStrict

func (m *Analysis) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Analysis) MarshalVT

func (m *Analysis) MarshalVT() (dAtA []byte, err error)

func (*Analysis) MarshalVTStrict

func (m *Analysis) MarshalVTStrict() (dAtA []byte, err error)

func (*Analysis) ProtoMessage

func (*Analysis) ProtoMessage()

func (*Analysis) ProtoReflect

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

func (*Analysis) Reset

func (x *Analysis) Reset()

func (*Analysis) SizeVT

func (m *Analysis) SizeVT() (n int)

func (*Analysis) String

func (x *Analysis) String() string

func (*Analysis) UnmarshalVT

func (m *Analysis) UnmarshalVT(dAtA []byte) error

type Column

type Column struct {
	Name         string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OriginalName string      `protobuf:"bytes,2,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"`
	DataType     string      `protobuf:"bytes,3,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	NotNull      bool        `protobuf:"varint,4,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"`
	Unsigned     bool        `protobuf:"varint,5,opt,name=unsigned,proto3" json:"unsigned,omitempty"`
	IsArray      bool        `protobuf:"varint,6,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"`
	ArrayDims    int32       `protobuf:"varint,7,opt,name=array_dims,json=arrayDims,proto3" json:"array_dims,omitempty"`
	Comment      string      `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
	Length       int32       `protobuf:"varint,9,opt,name=length,proto3" json:"length,omitempty"` // *int
	IsNamedParam bool        `protobuf:"varint,10,opt,name=is_named_param,json=isNamedParam,proto3" json:"is_named_param,omitempty"`
	IsFuncCall   bool        `protobuf:"varint,11,opt,name=is_func_call,json=isFuncCall,proto3" json:"is_func_call,omitempty"`
	Scope        string      `protobuf:"bytes,12,opt,name=scope,proto3" json:"scope,omitempty"`
	Table        *Identifier `protobuf:"bytes,13,opt,name=table,proto3" json:"table,omitempty"`
	TableAlias   string      `protobuf:"bytes,14,opt,name=table_alias,json=tableAlias,proto3" json:"table_alias,omitempty"`
	Type         *Identifier `protobuf:"bytes,15,opt,name=type,proto3" json:"type,omitempty"`
	EmbedTable   *Identifier `protobuf:"bytes,16,opt,name=embed_table,json=embedTable,proto3" json:"embed_table,omitempty"`
	IsSqlcSlice  bool        `protobuf:"varint,17,opt,name=is_sqlc_slice,json=isSqlcSlice,proto3" json:"is_sqlc_slice,omitempty"`
	// contains filtered or unexported fields
}

func (*Column) CloneMessageVT

func (m *Column) CloneMessageVT() proto.Message

func (*Column) CloneVT

func (m *Column) CloneVT() *Column

func (*Column) Descriptor deprecated

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

Deprecated: Use Column.ProtoReflect.Descriptor instead.

func (*Column) EqualMessageVT

func (this *Column) EqualMessageVT(thatMsg proto.Message) bool

func (*Column) EqualVT

func (this *Column) EqualVT(that *Column) bool

func (*Column) GetArrayDims

func (x *Column) GetArrayDims() int32

func (*Column) GetComment

func (x *Column) GetComment() string

func (*Column) GetDataType

func (x *Column) GetDataType() string

func (*Column) GetEmbedTable

func (x *Column) GetEmbedTable() *Identifier

func (*Column) GetIsArray

func (x *Column) GetIsArray() bool

func (*Column) GetIsFuncCall

func (x *Column) GetIsFuncCall() bool

func (*Column) GetIsNamedParam

func (x *Column) GetIsNamedParam() bool

func (*Column) GetIsSqlcSlice

func (x *Column) GetIsSqlcSlice() bool

func (*Column) GetLength

func (x *Column) GetLength() int32

func (*Column) GetName

func (x *Column) GetName() string

func (*Column) GetNotNull

func (x *Column) GetNotNull() bool

func (*Column) GetOriginalName

func (x *Column) GetOriginalName() string

func (*Column) GetScope

func (x *Column) GetScope() string

func (*Column) GetTable

func (x *Column) GetTable() *Identifier

func (*Column) GetTableAlias

func (x *Column) GetTableAlias() string

func (*Column) GetType

func (x *Column) GetType() *Identifier

func (*Column) GetUnsigned

func (x *Column) GetUnsigned() bool

func (*Column) MarshalToSizedBufferVT

func (m *Column) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Column) MarshalToSizedBufferVTStrict

func (m *Column) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Column) MarshalToVT

func (m *Column) MarshalToVT(dAtA []byte) (int, error)

func (*Column) MarshalToVTStrict

func (m *Column) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Column) MarshalVT

func (m *Column) MarshalVT() (dAtA []byte, err error)

func (*Column) MarshalVTStrict

func (m *Column) MarshalVTStrict() (dAtA []byte, err error)

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) ProtoReflect

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

func (*Column) Reset

func (x *Column) Reset()

func (*Column) SizeVT

func (m *Column) SizeVT() (n int)

func (*Column) String

func (x *Column) String() string

func (*Column) UnmarshalVT

func (m *Column) UnmarshalVT(dAtA []byte) error

type Identifier

type Identifier struct {
	Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
	Schema  string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Identifier) CloneMessageVT

func (m *Identifier) CloneMessageVT() proto.Message

func (*Identifier) CloneVT

func (m *Identifier) CloneVT() *Identifier

func (*Identifier) Descriptor deprecated

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

Deprecated: Use Identifier.ProtoReflect.Descriptor instead.

func (*Identifier) EqualMessageVT

func (this *Identifier) EqualMessageVT(thatMsg proto.Message) bool

func (*Identifier) EqualVT

func (this *Identifier) EqualVT(that *Identifier) bool

func (*Identifier) GetCatalog

func (x *Identifier) GetCatalog() string

func (*Identifier) GetName

func (x *Identifier) GetName() string

func (*Identifier) GetSchema

func (x *Identifier) GetSchema() string

func (*Identifier) MarshalToSizedBufferVT

func (m *Identifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Identifier) MarshalToSizedBufferVTStrict

func (m *Identifier) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Identifier) MarshalToVT

func (m *Identifier) MarshalToVT(dAtA []byte) (int, error)

func (*Identifier) MarshalToVTStrict

func (m *Identifier) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Identifier) MarshalVT

func (m *Identifier) MarshalVT() (dAtA []byte, err error)

func (*Identifier) MarshalVTStrict

func (m *Identifier) MarshalVTStrict() (dAtA []byte, err error)

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) ProtoReflect

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

func (*Identifier) Reset

func (x *Identifier) Reset()

func (*Identifier) SizeVT

func (m *Identifier) SizeVT() (n int)

func (*Identifier) String

func (x *Identifier) String() string

func (*Identifier) UnmarshalVT

func (m *Identifier) UnmarshalVT(dAtA []byte) error

type Parameter

type Parameter struct {
	Number int32   `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Column *Column `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*Parameter) CloneMessageVT

func (m *Parameter) CloneMessageVT() proto.Message

func (*Parameter) CloneVT

func (m *Parameter) CloneVT() *Parameter

func (*Parameter) Descriptor deprecated

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) EqualMessageVT

func (this *Parameter) EqualMessageVT(thatMsg proto.Message) bool

func (*Parameter) EqualVT

func (this *Parameter) EqualVT(that *Parameter) bool

func (*Parameter) GetColumn

func (x *Parameter) GetColumn() *Column

func (*Parameter) GetNumber

func (x *Parameter) GetNumber() int32

func (*Parameter) MarshalToSizedBufferVT

func (m *Parameter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Parameter) MarshalToSizedBufferVTStrict

func (m *Parameter) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Parameter) MarshalToVT

func (m *Parameter) MarshalToVT(dAtA []byte) (int, error)

func (*Parameter) MarshalToVTStrict

func (m *Parameter) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Parameter) MarshalVT

func (m *Parameter) MarshalVT() (dAtA []byte, err error)

func (*Parameter) MarshalVTStrict

func (m *Parameter) MarshalVTStrict() (dAtA []byte, err error)

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect

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

func (*Parameter) Reset

func (x *Parameter) Reset()

func (*Parameter) SizeVT

func (m *Parameter) SizeVT() (n int)

func (*Parameter) String

func (x *Parameter) String() string

func (*Parameter) UnmarshalVT

func (m *Parameter) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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