Documentation ¶
Index ¶
- func Equal(a, b Type) bool
- func FromProtobuf(pb *Ydb.Type) *protobufType
- func TypeToYDB(t Type, a *allocator.Allocator) *Ydb.Type
- type Decimal
- type Dict
- type EmptyDict
- type EmptyList
- type List
- type Null
- type Optional
- type PgType
- type Primitive
- type Set
- type Struct
- type StructField
- type Tuple
- type Type
- type VariantStruct
- type VariantTuple
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromProtobuf ¶ added in v3.93.3
Types ¶
type Optional ¶
type Optional struct {
// contains filtered or unexported fields
}
func NewOptional ¶
func (Optional) IsOptional ¶
func (v Optional) IsOptional()
type Struct ¶
type Struct struct {
// contains filtered or unexported fields
}
func NewStruct ¶
func NewStruct(fields ...StructField) (v *Struct)
func (*Struct) Field ¶
func (v *Struct) Field(i int) StructField
func (*Struct) Fields ¶
func (v *Struct) Fields() []StructField
type StructField ¶
func StructFields ¶
func StructFields(ms []*Ydb.StructMember) []StructField
type Tuple ¶
type Tuple struct {
// contains filtered or unexported fields
}
func (*Tuple) InnerTypes ¶
type Type ¶
type Type interface { Yql() string String() string ToYDB(a *allocator.Allocator) *Ydb.Type // contains filtered or unexported methods }
func TypeFromYDB ¶
type VariantStruct ¶
type VariantStruct struct {
*Struct
}
func NewVariantStruct ¶
func NewVariantStruct(fields ...StructField) *VariantStruct
func (*VariantStruct) Yql ¶
func (v *VariantStruct) Yql() string
type VariantTuple ¶
type VariantTuple struct {
*Tuple
}
func NewVariantTuple ¶
func NewVariantTuple(items ...Type) *VariantTuple
func (*VariantTuple) Yql ¶
func (v *VariantTuple) Yql() string
Click to show internal directories.
Click to hide internal directories.