Ydb

package
v0.0.0-...-8dd88c8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional bool required = 87650;
	E_Required = &file_protos_annotations_validation_proto_extTypes[0]
	// optional Ydb.Limit size = 87651;
	E_Size = &file_protos_annotations_validation_proto_extTypes[1]
	// optional Ydb.Limit length = 87652;
	E_Length = &file_protos_annotations_validation_proto_extTypes[2]
	// optional Ydb.MapKey map_key = 87653;
	E_MapKey = &file_protos_annotations_validation_proto_extTypes[3]
	// optional string value = 87654;
	E_Value = &file_protos_annotations_validation_proto_extTypes[4]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	FeatureFlag_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
	}
	FeatureFlag_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"ENABLED":            1,
		"DISABLED":           2,
	}
)

Enum value maps for FeatureFlag_Status.

View Source
var (
	StatusIds_StatusCode_name = map[int32]string{
		0:      "STATUS_CODE_UNSPECIFIED",
		400000: "SUCCESS",
		400010: "BAD_REQUEST",
		400020: "UNAUTHORIZED",
		400030: "INTERNAL_ERROR",
		400040: "ABORTED",
		400050: "UNAVAILABLE",
		400060: "OVERLOADED",
		400070: "SCHEME_ERROR",
		400080: "GENERIC_ERROR",
		400090: "TIMEOUT",
		400100: "BAD_SESSION",
		400120: "PRECONDITION_FAILED",
		400130: "ALREADY_EXISTS",
		400140: "NOT_FOUND",
		400150: "SESSION_EXPIRED",
		400160: "CANCELLED",
		400170: "UNDETERMINED",
		400180: "UNSUPPORTED",
		400190: "SESSION_BUSY",
		400200: "EXTERNAL_ERROR",
	}
	StatusIds_StatusCode_value = map[string]int32{
		"STATUS_CODE_UNSPECIFIED": 0,
		"SUCCESS":                 400000,
		"BAD_REQUEST":             400010,
		"UNAUTHORIZED":            400020,
		"INTERNAL_ERROR":          400030,
		"ABORTED":                 400040,
		"UNAVAILABLE":             400050,
		"OVERLOADED":              400060,
		"SCHEME_ERROR":            400070,
		"GENERIC_ERROR":           400080,
		"TIMEOUT":                 400090,
		"BAD_SESSION":             400100,
		"PRECONDITION_FAILED":     400120,
		"ALREADY_EXISTS":          400130,
		"NOT_FOUND":               400140,
		"SESSION_EXPIRED":         400150,
		"CANCELLED":               400160,
		"UNDETERMINED":            400170,
		"UNSUPPORTED":             400180,
		"SESSION_BUSY":            400190,
		"EXTERNAL_ERROR":          400200,
	}
)

Enum value maps for StatusIds_StatusCode.

View Source
var (
	Type_PrimitiveTypeId_name = map[int32]string{
		0:    "PRIMITIVE_TYPE_ID_UNSPECIFIED",
		6:    "BOOL",
		7:    "INT8",
		5:    "UINT8",
		8:    "INT16",
		9:    "UINT16",
		1:    "INT32",
		2:    "UINT32",
		3:    "INT64",
		4:    "UINT64",
		33:   "FLOAT",
		32:   "DOUBLE",
		48:   "DATE",
		49:   "DATETIME",
		50:   "TIMESTAMP",
		51:   "INTERVAL",
		52:   "TZ_DATE",
		53:   "TZ_DATETIME",
		54:   "TZ_TIMESTAMP",
		4097: "STRING",
		4608: "UTF8",
		4609: "YSON",
		4610: "JSON",
		4611: "UUID",
		4612: "JSON_DOCUMENT",
		4866: "DYNUMBER",
	}
	Type_PrimitiveTypeId_value = map[string]int32{
		"PRIMITIVE_TYPE_ID_UNSPECIFIED": 0,
		"BOOL":                          6,
		"INT8":                          7,
		"UINT8":                         5,
		"INT16":                         8,
		"UINT16":                        9,
		"INT32":                         1,
		"UINT32":                        2,
		"INT64":                         3,
		"UINT64":                        4,
		"FLOAT":                         33,
		"DOUBLE":                        32,
		"DATE":                          48,
		"DATETIME":                      49,
		"TIMESTAMP":                     50,
		"INTERVAL":                      51,
		"TZ_DATE":                       52,
		"TZ_DATETIME":                   53,
		"TZ_TIMESTAMP":                  54,
		"STRING":                        4097,
		"UTF8":                          4608,
		"YSON":                          4609,
		"JSON":                          4610,
		"UUID":                          4611,
		"JSON_DOCUMENT":                 4612,
		"DYNUMBER":                      4866,
	}
)

Enum value maps for Type_PrimitiveTypeId.

View Source
var (
	// optional bool sensitive = 87655;
	E_Sensitive = &file_protos_annotations_sensitive_proto_extTypes[0] // do not print this field
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_protos_annotations_sensitive_proto protoreflect.FileDescriptor
View Source
var File_protos_annotations_validation_proto protoreflect.FileDescriptor
View Source
var File_protos_ydb_common_proto protoreflect.FileDescriptor
View Source
var File_protos_ydb_status_codes_proto protoreflect.FileDescriptor
View Source
var File_protos_ydb_value_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Column

type Column struct {

	// Name of column
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of column
	Type *Type `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Column) Descriptor deprecated

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

Deprecated: Use Column.ProtoReflect.Descriptor instead.

func (*Column) GetName

func (x *Column) GetName() string

func (*Column) GetType

func (x *Column) GetType() *Type

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) ProtoReflect

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

func (*Column) Reset

func (x *Column) Reset()

func (*Column) String

func (x *Column) String() string

type CostInfo

type CostInfo struct {

	// Total amount of request units (RU), consumed by the operation.
	ConsumedUnits float64 `protobuf:"fixed64,1,opt,name=consumed_units,json=consumedUnits,proto3" json:"consumed_units,omitempty"`
	// contains filtered or unexported fields
}

func (*CostInfo) Descriptor deprecated

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

Deprecated: Use CostInfo.ProtoReflect.Descriptor instead.

func (*CostInfo) GetConsumedUnits

func (x *CostInfo) GetConsumedUnits() float64

func (*CostInfo) ProtoMessage

func (*CostInfo) ProtoMessage()

func (*CostInfo) ProtoReflect

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

func (*CostInfo) Reset

func (x *CostInfo) Reset()

func (*CostInfo) String

func (x *CostInfo) String() string

type DecimalType

type DecimalType 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"`
	// contains filtered or unexported fields
}

func (*DecimalType) Descriptor deprecated

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

Deprecated: Use DecimalType.ProtoReflect.Descriptor instead.

func (*DecimalType) GetPrecision

func (x *DecimalType) GetPrecision() uint32

func (*DecimalType) GetScale

func (x *DecimalType) GetScale() uint32

func (*DecimalType) ProtoMessage

func (*DecimalType) ProtoMessage()

func (*DecimalType) ProtoReflect

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

func (*DecimalType) Reset

func (x *DecimalType) Reset()

func (*DecimalType) String

func (x *DecimalType) String() string

type DictType

type DictType struct {
	Key     *Type `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Payload *Type `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*DictType) Descriptor deprecated

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

Deprecated: Use DictType.ProtoReflect.Descriptor instead.

func (*DictType) GetKey

func (x *DictType) GetKey() *Type

func (*DictType) GetPayload

func (x *DictType) GetPayload() *Type

func (*DictType) ProtoMessage

func (*DictType) ProtoMessage()

func (*DictType) ProtoReflect

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

func (*DictType) Reset

func (x *DictType) Reset()

func (*DictType) String

func (x *DictType) String() string

type FeatureFlag

type FeatureFlag struct {
	// contains filtered or unexported fields
}

func (*FeatureFlag) Descriptor deprecated

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

Deprecated: Use FeatureFlag.ProtoReflect.Descriptor instead.

func (*FeatureFlag) ProtoMessage

func (*FeatureFlag) ProtoMessage()

func (*FeatureFlag) ProtoReflect

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

func (*FeatureFlag) Reset

func (x *FeatureFlag) Reset()

func (*FeatureFlag) String

func (x *FeatureFlag) String() string

type FeatureFlag_Status

type FeatureFlag_Status int32
const (
	FeatureFlag_STATUS_UNSPECIFIED FeatureFlag_Status = 0
	FeatureFlag_ENABLED            FeatureFlag_Status = 1
	FeatureFlag_DISABLED           FeatureFlag_Status = 2
)

func (FeatureFlag_Status) Descriptor

func (FeatureFlag_Status) Enum

func (FeatureFlag_Status) EnumDescriptor deprecated

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

Deprecated: Use FeatureFlag_Status.Descriptor instead.

func (FeatureFlag_Status) Number

func (FeatureFlag_Status) String

func (x FeatureFlag_Status) String() string

func (FeatureFlag_Status) Type

type Limit

type Limit struct {

	// Types that are assignable to Kind:
	//
	//	*Limit_Range_
	//	*Limit_Lt
	//	*Limit_Le
	//	*Limit_Eq
	//	*Limit_Ge
	//	*Limit_Gt
	Kind isLimit_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Limit) Descriptor deprecated

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

Deprecated: Use Limit.ProtoReflect.Descriptor instead.

func (*Limit) GetEq

func (x *Limit) GetEq() uint32

func (*Limit) GetGe

func (x *Limit) GetGe() uint32

func (*Limit) GetGt

func (x *Limit) GetGt() uint32

func (*Limit) GetKind

func (m *Limit) GetKind() isLimit_Kind

func (*Limit) GetLe

func (x *Limit) GetLe() uint32

func (*Limit) GetLt

func (x *Limit) GetLt() uint32

func (*Limit) GetRange

func (x *Limit) GetRange() *Limit_Range

func (*Limit) ProtoMessage

func (*Limit) ProtoMessage()

func (*Limit) ProtoReflect

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

func (*Limit) Reset

func (x *Limit) Reset()

func (*Limit) String

func (x *Limit) String() string

type Limit_Eq

type Limit_Eq struct {
	Eq uint32 `protobuf:"varint,4,opt,name=eq,proto3,oneof"`
}

type Limit_Ge

type Limit_Ge struct {
	Ge uint32 `protobuf:"varint,5,opt,name=ge,proto3,oneof"`
}

type Limit_Gt

type Limit_Gt struct {
	Gt uint32 `protobuf:"varint,6,opt,name=gt,proto3,oneof"`
}

type Limit_Le

type Limit_Le struct {
	Le uint32 `protobuf:"varint,3,opt,name=le,proto3,oneof"`
}

type Limit_Lt

type Limit_Lt struct {
	Lt uint32 `protobuf:"varint,2,opt,name=lt,proto3,oneof"`
}

type Limit_Range

type Limit_Range struct {
	Min uint32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Limit_Range) Descriptor deprecated

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

Deprecated: Use Limit_Range.ProtoReflect.Descriptor instead.

func (*Limit_Range) GetMax

func (x *Limit_Range) GetMax() uint32

func (*Limit_Range) GetMin

func (x *Limit_Range) GetMin() uint32

func (*Limit_Range) ProtoMessage

func (*Limit_Range) ProtoMessage()

func (*Limit_Range) ProtoReflect

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

func (*Limit_Range) Reset

func (x *Limit_Range) Reset()

func (*Limit_Range) String

func (x *Limit_Range) String() string

type Limit_Range_

type Limit_Range_ struct {
	Range *Limit_Range `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}

type ListType

type ListType struct {
	Item *Type `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*ListType) Descriptor deprecated

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

Deprecated: Use ListType.ProtoReflect.Descriptor instead.

func (*ListType) GetItem

func (x *ListType) GetItem() *Type

func (*ListType) ProtoMessage

func (*ListType) ProtoMessage()

func (*ListType) ProtoReflect

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

func (*ListType) Reset

func (x *ListType) Reset()

func (*ListType) String

func (x *ListType) String() string

type MapKey

type MapKey struct {
	Length *Limit `protobuf:"bytes,1,opt,name=length,proto3" json:"length,omitempty"`
	Value  string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MapKey) Descriptor deprecated

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

Deprecated: Use MapKey.ProtoReflect.Descriptor instead.

func (*MapKey) GetLength

func (x *MapKey) GetLength() *Limit

func (*MapKey) GetValue

func (x *MapKey) GetValue() string

func (*MapKey) ProtoMessage

func (*MapKey) ProtoMessage()

func (*MapKey) ProtoReflect

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

func (*MapKey) Reset

func (x *MapKey) Reset()

func (*MapKey) String

func (x *MapKey) String() string

type OptionalType

type OptionalType struct {
	Item *Type `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*OptionalType) Descriptor deprecated

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

Deprecated: Use OptionalType.ProtoReflect.Descriptor instead.

func (*OptionalType) GetItem

func (x *OptionalType) GetItem() *Type

func (*OptionalType) ProtoMessage

func (*OptionalType) ProtoMessage()

func (*OptionalType) ProtoReflect

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

func (*OptionalType) Reset

func (x *OptionalType) Reset()

func (*OptionalType) String

func (x *OptionalType) String() string

type PgType

type PgType struct {

	// pg object id of the type
	// full registry could be found here: https://github.com/postgres/postgres/blob/master/src/include/catalog/pg_type.dat
	Oid uint32 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` // required
	// advanced type details useful for pg wire format proxying
	Typlen int32 `protobuf:"varint,2,opt,name=typlen,proto3" json:"typlen,omitempty"` // optional, set to 0 by default
	Typmod int32 `protobuf:"varint,3,opt,name=typmod,proto3" json:"typmod,omitempty"` // optional, set to 0 by default
	// contains filtered or unexported fields
}

func (*PgType) Descriptor deprecated

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

Deprecated: Use PgType.ProtoReflect.Descriptor instead.

func (*PgType) GetOid

func (x *PgType) GetOid() uint32

func (*PgType) GetTyplen

func (x *PgType) GetTyplen() int32

func (*PgType) GetTypmod

func (x *PgType) GetTypmod() int32

func (*PgType) ProtoMessage

func (*PgType) ProtoMessage()

func (*PgType) ProtoReflect

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

func (*PgType) Reset

func (x *PgType) Reset()

func (*PgType) String

func (x *PgType) String() string

type QuotaExceeded

type QuotaExceeded struct {
	Disk bool `protobuf:"varint,1,opt,name=disk,proto3" json:"disk,omitempty"`
	// contains filtered or unexported fields
}

func (*QuotaExceeded) Descriptor deprecated

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

Deprecated: Use QuotaExceeded.ProtoReflect.Descriptor instead.

func (*QuotaExceeded) GetDisk

func (x *QuotaExceeded) GetDisk() bool

func (*QuotaExceeded) ProtoMessage

func (*QuotaExceeded) ProtoMessage()

func (*QuotaExceeded) ProtoReflect

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

func (*QuotaExceeded) Reset

func (x *QuotaExceeded) Reset()

func (*QuotaExceeded) String

func (x *QuotaExceeded) String() string

type ResultSet

type ResultSet struct {

	// Metadata of columns
	Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	// Rows of table
	Rows []*Value `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// Flag indicates the result was truncated
	Truncated bool `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// contains filtered or unexported fields
}

Represents table-like structure with ordered set of rows and columns

func (*ResultSet) Descriptor deprecated

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

Deprecated: Use ResultSet.ProtoReflect.Descriptor instead.

func (*ResultSet) GetColumns

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

func (*ResultSet) GetRows

func (x *ResultSet) GetRows() []*Value

func (*ResultSet) GetTruncated

func (x *ResultSet) GetTruncated() bool

func (*ResultSet) ProtoMessage

func (*ResultSet) ProtoMessage()

func (*ResultSet) ProtoReflect

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

func (*ResultSet) Reset

func (x *ResultSet) Reset()

func (*ResultSet) String

func (x *ResultSet) String() string

type StatusIds

type StatusIds struct {
	// contains filtered or unexported fields
}

func (*StatusIds) Descriptor deprecated

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

Deprecated: Use StatusIds.ProtoReflect.Descriptor instead.

func (*StatusIds) ProtoMessage

func (*StatusIds) ProtoMessage()

func (*StatusIds) ProtoReflect

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

func (*StatusIds) Reset

func (x *StatusIds) Reset()

func (*StatusIds) String

func (x *StatusIds) String() string

type StatusIds_StatusCode

type StatusIds_StatusCode int32

reserved range [400000, 400999]

const (
	StatusIds_STATUS_CODE_UNSPECIFIED StatusIds_StatusCode = 0
	StatusIds_SUCCESS                 StatusIds_StatusCode = 400000
	StatusIds_BAD_REQUEST             StatusIds_StatusCode = 400010
	StatusIds_UNAUTHORIZED            StatusIds_StatusCode = 400020
	StatusIds_INTERNAL_ERROR          StatusIds_StatusCode = 400030
	StatusIds_ABORTED                 StatusIds_StatusCode = 400040
	StatusIds_UNAVAILABLE             StatusIds_StatusCode = 400050
	StatusIds_OVERLOADED              StatusIds_StatusCode = 400060
	StatusIds_SCHEME_ERROR            StatusIds_StatusCode = 400070
	StatusIds_GENERIC_ERROR           StatusIds_StatusCode = 400080
	StatusIds_TIMEOUT                 StatusIds_StatusCode = 400090
	StatusIds_BAD_SESSION             StatusIds_StatusCode = 400100
	StatusIds_PRECONDITION_FAILED     StatusIds_StatusCode = 400120
	StatusIds_ALREADY_EXISTS          StatusIds_StatusCode = 400130
	StatusIds_NOT_FOUND               StatusIds_StatusCode = 400140
	StatusIds_SESSION_EXPIRED         StatusIds_StatusCode = 400150
	StatusIds_CANCELLED               StatusIds_StatusCode = 400160
	StatusIds_UNDETERMINED            StatusIds_StatusCode = 400170
	StatusIds_UNSUPPORTED             StatusIds_StatusCode = 400180
	StatusIds_SESSION_BUSY            StatusIds_StatusCode = 400190
	StatusIds_EXTERNAL_ERROR          StatusIds_StatusCode = 400200
)

func (StatusIds_StatusCode) Descriptor

func (StatusIds_StatusCode) Enum

func (StatusIds_StatusCode) EnumDescriptor deprecated

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

Deprecated: Use StatusIds_StatusCode.Descriptor instead.

func (StatusIds_StatusCode) Number

func (StatusIds_StatusCode) String

func (x StatusIds_StatusCode) String() string

func (StatusIds_StatusCode) Type

type StructMember

type StructMember struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type *Type  `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*StructMember) Descriptor deprecated

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

Deprecated: Use StructMember.ProtoReflect.Descriptor instead.

func (*StructMember) GetName

func (x *StructMember) GetName() string

func (*StructMember) GetType

func (x *StructMember) GetType() *Type

func (*StructMember) ProtoMessage

func (*StructMember) ProtoMessage()

func (*StructMember) ProtoReflect

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

func (*StructMember) Reset

func (x *StructMember) Reset()

func (*StructMember) String

func (x *StructMember) String() string

type StructType

type StructType struct {
	Members []*StructMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*StructType) Descriptor deprecated

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

Deprecated: Use StructType.ProtoReflect.Descriptor instead.

func (*StructType) GetMembers

func (x *StructType) GetMembers() []*StructMember

func (*StructType) ProtoMessage

func (*StructType) ProtoMessage()

func (*StructType) ProtoReflect

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

func (*StructType) Reset

func (x *StructType) Reset()

func (*StructType) String

func (x *StructType) String() string

type TaggedType

type TaggedType struct {
	Tag  string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Type *Type  `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*TaggedType) Descriptor deprecated

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

Deprecated: Use TaggedType.ProtoReflect.Descriptor instead.

func (*TaggedType) GetTag

func (x *TaggedType) GetTag() string

func (*TaggedType) GetType

func (x *TaggedType) GetType() *Type

func (*TaggedType) ProtoMessage

func (*TaggedType) ProtoMessage()

func (*TaggedType) ProtoReflect

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

func (*TaggedType) Reset

func (x *TaggedType) Reset()

func (*TaggedType) String

func (x *TaggedType) String() string

type TupleType

type TupleType struct {
	Elements []*Type `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleType) Descriptor deprecated

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

Deprecated: Use TupleType.ProtoReflect.Descriptor instead.

func (*TupleType) GetElements

func (x *TupleType) GetElements() []*Type

func (*TupleType) ProtoMessage

func (*TupleType) ProtoMessage()

func (*TupleType) ProtoReflect

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

func (*TupleType) Reset

func (x *TupleType) Reset()

func (*TupleType) String

func (x *TupleType) String() string

type Type

type Type struct {

	// Types that are assignable to Type:
	//
	//	*Type_TypeId
	//	*Type_DecimalType
	//	*Type_OptionalType
	//	*Type_ListType
	//	*Type_TupleType
	//	*Type_StructType
	//	*Type_DictType
	//	*Type_VariantType
	//	*Type_TaggedType
	//	*Type_VoidType
	//	*Type_NullType
	//	*Type_EmptyListType
	//	*Type_EmptyDictType
	//	*Type_PgType
	Type isType_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Type) Descriptor deprecated

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

Deprecated: Use Type.ProtoReflect.Descriptor instead.

func (*Type) GetDecimalType

func (x *Type) GetDecimalType() *DecimalType

func (*Type) GetDictType

func (x *Type) GetDictType() *DictType

func (*Type) GetEmptyDictType

func (x *Type) GetEmptyDictType() structpb.NullValue

func (*Type) GetEmptyListType

func (x *Type) GetEmptyListType() structpb.NullValue

func (*Type) GetListType

func (x *Type) GetListType() *ListType

func (*Type) GetNullType

func (x *Type) GetNullType() structpb.NullValue

func (*Type) GetOptionalType

func (x *Type) GetOptionalType() *OptionalType

func (*Type) GetPgType

func (x *Type) GetPgType() *PgType

func (*Type) GetStructType

func (x *Type) GetStructType() *StructType

func (*Type) GetTaggedType

func (x *Type) GetTaggedType() *TaggedType

func (*Type) GetTupleType

func (x *Type) GetTupleType() *TupleType

func (*Type) GetType

func (m *Type) GetType() isType_Type

func (*Type) GetTypeId

func (x *Type) GetTypeId() Type_PrimitiveTypeId

func (*Type) GetVariantType

func (x *Type) GetVariantType() *VariantType

func (*Type) GetVoidType

func (x *Type) GetVoidType() structpb.NullValue

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) ProtoReflect

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

func (*Type) Reset

func (x *Type) Reset()

func (*Type) String

func (x *Type) String() string

type Type_DecimalType

type Type_DecimalType struct {
	DecimalType *DecimalType `protobuf:"bytes,2,opt,name=decimal_type,json=decimalType,proto3,oneof"`
}

type Type_DictType

type Type_DictType struct {
	DictType *DictType `protobuf:"bytes,105,opt,name=dict_type,json=dictType,proto3,oneof"`
}

type Type_EmptyDictType

type Type_EmptyDictType struct {
	EmptyDictType structpb.NullValue `protobuf:"varint,204,opt,name=empty_dict_type,json=emptyDictType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_EmptyListType

type Type_EmptyListType struct {
	EmptyListType structpb.NullValue `protobuf:"varint,203,opt,name=empty_list_type,json=emptyListType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_ListType

type Type_ListType struct {
	ListType *ListType `protobuf:"bytes,102,opt,name=list_type,json=listType,proto3,oneof"`
}

type Type_NullType

type Type_NullType struct {
	NullType structpb.NullValue `protobuf:"varint,202,opt,name=null_type,json=nullType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_OptionalType

type Type_OptionalType struct {
	// Container types
	OptionalType *OptionalType `protobuf:"bytes,101,opt,name=optional_type,json=optionalType,proto3,oneof"`
}

type Type_PgType

type Type_PgType struct {
	PgType *PgType `protobuf:"bytes,205,opt,name=pg_type,json=pgType,proto3,oneof"`
}

type Type_PrimitiveTypeId

type Type_PrimitiveTypeId int32
const (
	Type_PRIMITIVE_TYPE_ID_UNSPECIFIED Type_PrimitiveTypeId = 0
	Type_BOOL                          Type_PrimitiveTypeId = 6
	Type_INT8                          Type_PrimitiveTypeId = 7
	Type_UINT8                         Type_PrimitiveTypeId = 5
	Type_INT16                         Type_PrimitiveTypeId = 8
	Type_UINT16                        Type_PrimitiveTypeId = 9
	Type_INT32                         Type_PrimitiveTypeId = 1
	Type_UINT32                        Type_PrimitiveTypeId = 2
	Type_INT64                         Type_PrimitiveTypeId = 3
	Type_UINT64                        Type_PrimitiveTypeId = 4
	Type_FLOAT                         Type_PrimitiveTypeId = 33
	Type_DOUBLE                        Type_PrimitiveTypeId = 32
	Type_DATE                          Type_PrimitiveTypeId = 48
	Type_DATETIME                      Type_PrimitiveTypeId = 49
	Type_TIMESTAMP                     Type_PrimitiveTypeId = 50
	Type_INTERVAL                      Type_PrimitiveTypeId = 51
	Type_TZ_DATE                       Type_PrimitiveTypeId = 52
	Type_TZ_DATETIME                   Type_PrimitiveTypeId = 53
	Type_TZ_TIMESTAMP                  Type_PrimitiveTypeId = 54
	Type_STRING                        Type_PrimitiveTypeId = 4097
	Type_UTF8                          Type_PrimitiveTypeId = 4608
	Type_YSON                          Type_PrimitiveTypeId = 4609
	Type_JSON                          Type_PrimitiveTypeId = 4610
	Type_UUID                          Type_PrimitiveTypeId = 4611
	Type_JSON_DOCUMENT                 Type_PrimitiveTypeId = 4612
	Type_DYNUMBER                      Type_PrimitiveTypeId = 4866
)

func (Type_PrimitiveTypeId) Descriptor

func (Type_PrimitiveTypeId) Enum

func (Type_PrimitiveTypeId) EnumDescriptor deprecated

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

Deprecated: Use Type_PrimitiveTypeId.Descriptor instead.

func (Type_PrimitiveTypeId) Number

func (Type_PrimitiveTypeId) String

func (x Type_PrimitiveTypeId) String() string

func (Type_PrimitiveTypeId) Type

type Type_StructType

type Type_StructType struct {
	StructType *StructType `protobuf:"bytes,104,opt,name=struct_type,json=structType,proto3,oneof"`
}

type Type_TaggedType

type Type_TaggedType struct {
	TaggedType *TaggedType `protobuf:"bytes,107,opt,name=tagged_type,json=taggedType,proto3,oneof"`
}

type Type_TupleType

type Type_TupleType struct {
	TupleType *TupleType `protobuf:"bytes,103,opt,name=tuple_type,json=tupleType,proto3,oneof"`
}

type Type_TypeId

type Type_TypeId struct {
	// Data types
	TypeId Type_PrimitiveTypeId `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=Ydb.Type_PrimitiveTypeId,oneof"`
}

type Type_VariantType

type Type_VariantType struct {
	VariantType *VariantType `protobuf:"bytes,106,opt,name=variant_type,json=variantType,proto3,oneof"`
}

type Type_VoidType

type Type_VoidType struct {
	// Special types
	VoidType structpb.NullValue `protobuf:"varint,201,opt,name=void_type,json=voidType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type TypedValue

type TypedValue struct {
	Type  *Type  `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TypedValue) Descriptor deprecated

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

Deprecated: Use TypedValue.ProtoReflect.Descriptor instead.

func (*TypedValue) GetType

func (x *TypedValue) GetType() *Type

func (*TypedValue) GetValue

func (x *TypedValue) GetValue() *Value

func (*TypedValue) ProtoMessage

func (*TypedValue) ProtoMessage()

func (*TypedValue) ProtoReflect

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

func (*TypedValue) Reset

func (x *TypedValue) Reset()

func (*TypedValue) String

func (x *TypedValue) String() string

type Value

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_BoolValue
	//	*Value_Int32Value
	//	*Value_Uint32Value
	//	*Value_Int64Value
	//	*Value_Uint64Value
	//	*Value_FloatValue
	//	*Value_DoubleValue
	//	*Value_BytesValue
	//	*Value_TextValue
	//	*Value_NullFlagValue
	//	*Value_NestedValue
	//	*Value_Low_128
	Value        isValue_Value `protobuf_oneof:"value"`
	Items        []*Value      `protobuf:"bytes,12,rep,name=items,proto3" json:"items,omitempty"`                                    // Used for List, Tuple, Struct types
	Pairs        []*ValuePair  `protobuf:"bytes,13,rep,name=pairs,proto3" json:"pairs,omitempty"`                                    // Used for Dict type
	VariantIndex uint32        `protobuf:"varint,14,opt,name=variant_index,json=variantIndex,proto3" json:"variant_index,omitempty"` // Used for Variant type
	High_128     uint64        `protobuf:"fixed64,16,opt,name=high_128,json=high128,proto3" json:"high_128,omitempty"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetBytesValue

func (x *Value) GetBytesValue() []byte

func (*Value) GetDoubleValue

func (x *Value) GetDoubleValue() float64

func (*Value) GetFloatValue

func (x *Value) GetFloatValue() float32

func (*Value) GetHigh_128

func (x *Value) GetHigh_128() uint64

func (*Value) GetInt32Value

func (x *Value) GetInt32Value() int32

func (*Value) GetInt64Value

func (x *Value) GetInt64Value() int64

func (*Value) GetItems

func (x *Value) GetItems() []*Value

func (*Value) GetLow_128

func (x *Value) GetLow_128() uint64

func (*Value) GetNestedValue

func (x *Value) GetNestedValue() *Value

func (*Value) GetNullFlagValue

func (x *Value) GetNullFlagValue() structpb.NullValue

func (*Value) GetPairs

func (x *Value) GetPairs() []*ValuePair

func (*Value) GetTextValue

func (x *Value) GetTextValue() string

func (*Value) GetUint32Value

func (x *Value) GetUint32Value() uint32

func (*Value) GetUint64Value

func (x *Value) GetUint64Value() uint64

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) GetVariantIndex

func (x *Value) GetVariantIndex() uint32

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type ValuePair

type ValuePair struct {
	Key     *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Payload *Value `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*ValuePair) Descriptor deprecated

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

Deprecated: Use ValuePair.ProtoReflect.Descriptor instead.

func (*ValuePair) GetKey

func (x *ValuePair) GetKey() *Value

func (*ValuePair) GetPayload

func (x *ValuePair) GetPayload() *Value

func (*ValuePair) ProtoMessage

func (*ValuePair) ProtoMessage()

func (*ValuePair) ProtoReflect

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

func (*ValuePair) Reset

func (x *ValuePair) Reset()

func (*ValuePair) String

func (x *ValuePair) String() string

type Value_BoolValue

type Value_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Value_BytesValue

type Value_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,8,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,7,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,6,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_Int32Value

type Value_Int32Value struct {
	Int32Value int32 `protobuf:"fixed32,2,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type Value_Int64Value

type Value_Int64Value struct {
	Int64Value int64 `protobuf:"fixed64,4,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type Value_Low_128

type Value_Low_128 struct {
	Low_128 uint64 `protobuf:"fixed64,15,opt,name=low_128,json=low128,proto3,oneof"`
}

type Value_NestedValue

type Value_NestedValue struct {
	NestedValue *Value `protobuf:"bytes,11,opt,name=nested_value,json=nestedValue,proto3,oneof"` // Represents nested TValue for Optional<Optional<T>>(Null), or Variant<T> types
}

type Value_NullFlagValue

type Value_NullFlagValue struct {
	NullFlagValue structpb.NullValue `protobuf:"varint,10,opt,name=null_flag_value,json=nullFlagValue,proto3,enum=google.protobuf.NullValue,oneof"` // Set if current TValue is terminal Null
}

type Value_TextValue

type Value_TextValue struct {
	TextValue string `protobuf:"bytes,9,opt,name=text_value,json=textValue,proto3,oneof"`
}

type Value_Uint32Value

type Value_Uint32Value struct {
	Uint32Value uint32 `protobuf:"fixed32,3,opt,name=uint32_value,json=uint32Value,proto3,oneof"`
}

type Value_Uint64Value

type Value_Uint64Value struct {
	Uint64Value uint64 `protobuf:"fixed64,5,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}

type VariantType

type VariantType struct {

	// Types that are assignable to Type:
	//
	//	*VariantType_TupleItems
	//	*VariantType_StructItems
	Type isVariantType_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*VariantType) Descriptor deprecated

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

Deprecated: Use VariantType.ProtoReflect.Descriptor instead.

func (*VariantType) GetStructItems

func (x *VariantType) GetStructItems() *StructType

func (*VariantType) GetTupleItems

func (x *VariantType) GetTupleItems() *TupleType

func (*VariantType) GetType

func (m *VariantType) GetType() isVariantType_Type

func (*VariantType) ProtoMessage

func (*VariantType) ProtoMessage()

func (*VariantType) ProtoReflect

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

func (*VariantType) Reset

func (x *VariantType) Reset()

func (*VariantType) String

func (x *VariantType) String() string

type VariantType_StructItems

type VariantType_StructItems struct {
	StructItems *StructType `protobuf:"bytes,2,opt,name=struct_items,json=structItems,proto3,oneof"`
}

type VariantType_TupleItems

type VariantType_TupleItems struct {
	TupleItems *TupleType `protobuf:"bytes,1,opt,name=tuple_items,json=tupleItems,proto3,oneof"`
}

type VirtualTimestamp

type VirtualTimestamp struct {
	PlanStep uint64 `protobuf:"varint,1,opt,name=plan_step,json=planStep,proto3" json:"plan_step,omitempty"`
	TxId     uint64 `protobuf:"varint,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// contains filtered or unexported fields
}

Specifies a point in database time

func (*VirtualTimestamp) Descriptor deprecated

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

Deprecated: Use VirtualTimestamp.ProtoReflect.Descriptor instead.

func (*VirtualTimestamp) GetPlanStep

func (x *VirtualTimestamp) GetPlanStep() uint64

func (*VirtualTimestamp) GetTxId

func (x *VirtualTimestamp) GetTxId() uint64

func (*VirtualTimestamp) ProtoMessage

func (*VirtualTimestamp) ProtoMessage()

func (*VirtualTimestamp) ProtoReflect

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

func (*VirtualTimestamp) Reset

func (x *VirtualTimestamp) Reset()

func (*VirtualTimestamp) String

func (x *VirtualTimestamp) String() string

Jump to

Keyboard shortcuts

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