Documentation ¶
Index ¶
- Variables
- type Any
- func (*Any) Descriptor() ([]byte, []int)deprecated
- func (x *Any) GetArray() *Array
- func (x *Any) GetObj() *Object
- func (x *Any) GetScalar() *Scalar
- func (x *Any) GetType() Any_Type
- func (*Any) ProtoMessage()
- func (x *Any) ProtoReflect() protoreflect.Message
- func (x *Any) Reset()
- func (x *Any) String() string
- type Any_Type
- func (Any_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Any_Type) Enum() *Any_Type
- func (Any_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Any_Type) Number() protoreflect.EnumNumber
- func (x Any_Type) String() string
- func (Any_Type) Type() protoreflect.EnumType
- func (x *Any_Type) UnmarshalJSON(b []byte) errordeprecated
- type Array
- type Object
- type Object_ObjectField
- func (*Object_ObjectField) Descriptor() ([]byte, []int)deprecated
- func (x *Object_ObjectField) GetKey() string
- func (x *Object_ObjectField) GetValue() *Any
- func (*Object_ObjectField) ProtoMessage()
- func (x *Object_ObjectField) ProtoReflect() protoreflect.Message
- func (x *Object_ObjectField) Reset()
- func (x *Object_ObjectField) String() string
- type Scalar
- func (*Scalar) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar) GetType() Scalar_Type
- func (x *Scalar) GetVBool() bool
- func (x *Scalar) GetVDouble() float64
- func (x *Scalar) GetVFloat() float32
- func (x *Scalar) GetVOctets() *Scalar_Octets
- func (x *Scalar) GetVSignedInt() int64
- func (x *Scalar) GetVString() *Scalar_String
- func (x *Scalar) GetVUnsignedInt() uint64
- func (*Scalar) ProtoMessage()
- func (x *Scalar) ProtoReflect() protoreflect.Message
- func (x *Scalar) Reset()
- func (x *Scalar) String() string
- type Scalar_Octets
- func (*Scalar_Octets) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar_Octets) GetContentType() uint32
- func (x *Scalar_Octets) GetValue() []byte
- func (*Scalar_Octets) ProtoMessage()
- func (x *Scalar_Octets) ProtoReflect() protoreflect.Message
- func (x *Scalar_Octets) Reset()
- func (x *Scalar_Octets) String() string
- type Scalar_String
- func (*Scalar_String) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar_String) GetCollation() uint64
- func (x *Scalar_String) GetValue() []byte
- func (*Scalar_String) ProtoMessage()
- func (x *Scalar_String) ProtoReflect() protoreflect.Message
- func (x *Scalar_String) Reset()
- func (x *Scalar_String) String() string
- type Scalar_Type
- func (Scalar_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Scalar_Type) Enum() *Scalar_Type
- func (Scalar_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Scalar_Type) Number() protoreflect.EnumNumber
- func (x Scalar_Type) String() string
- func (Scalar_Type) Type() protoreflect.EnumType
- func (x *Scalar_Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Scalar_Type_name = map[int32]string{ 1: "V_SINT", 2: "V_UINT", 3: "V_NULL", 4: "V_OCTETS", 5: "V_DOUBLE", 6: "V_FLOAT", 7: "V_BOOL", 8: "V_STRING", } Scalar_Type_value = map[string]int32{ "V_SINT": 1, "V_UINT": 2, "V_NULL": 3, "V_OCTETS": 4, "V_DOUBLE": 5, "V_FLOAT": 6, "V_BOOL": 7, "V_STRING": 8, } )
Enum value maps for Scalar_Type.
View Source
var ( Any_Type_name = map[int32]string{ 1: "SCALAR", 2: "OBJECT", 3: "ARRAY", } Any_Type_value = map[string]int32{ "SCALAR": 1, "OBJECT": 2, "ARRAY": 3, } )
Enum value maps for Any_Type.
View Source
var File_mysqlx_datatypes_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Any ¶
type Any struct { Type *Any_Type `protobuf:"varint,1,req,name=type,enum=Mysqlx.Datatypes.Any_Type" json:"type,omitempty"` Scalar *Scalar `protobuf:"bytes,2,opt,name=scalar" json:"scalar,omitempty"` Obj *Object `protobuf:"bytes,3,opt,name=obj" json:"obj,omitempty"` Array *Array `protobuf:"bytes,4,opt,name=array" json:"array,omitempty"` // contains filtered or unexported fields }
* A helper to allow all field types
func (*Any) Descriptor
deprecated
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) ProtoReflect ¶
func (x *Any) ProtoReflect() protoreflect.Message
type Any_Type ¶
type Any_Type int32
func (Any_Type) Descriptor ¶
func (Any_Type) Descriptor() protoreflect.EnumDescriptor
func (Any_Type) EnumDescriptor
deprecated
func (Any_Type) Number ¶
func (x Any_Type) Number() protoreflect.EnumNumber
func (Any_Type) Type ¶
func (Any_Type) Type() protoreflect.EnumType
func (*Any_Type) UnmarshalJSON
deprecated
type Array ¶
type Array struct { Value []*Any `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* An Array
func (*Array) Descriptor
deprecated
func (*Array) ProtoMessage ¶
func (*Array) ProtoMessage()
func (*Array) ProtoReflect ¶
func (x *Array) ProtoReflect() protoreflect.Message
type Object ¶
type Object struct { Fld []*Object_ObjectField `protobuf:"bytes,1,rep,name=fld" json:"fld,omitempty"` // contains filtered or unexported fields }
* An object
func (*Object) Descriptor
deprecated
func (*Object) GetFld ¶
func (x *Object) GetFld() []*Object_ObjectField
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type Object_ObjectField ¶
type Object_ObjectField struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *Any `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Object_ObjectField) Descriptor
deprecated
func (*Object_ObjectField) Descriptor() ([]byte, []int)
Deprecated: Use Object_ObjectField.ProtoReflect.Descriptor instead.
func (*Object_ObjectField) GetKey ¶
func (x *Object_ObjectField) GetKey() string
func (*Object_ObjectField) GetValue ¶
func (x *Object_ObjectField) GetValue() *Any
func (*Object_ObjectField) ProtoMessage ¶
func (*Object_ObjectField) ProtoMessage()
func (*Object_ObjectField) ProtoReflect ¶
func (x *Object_ObjectField) ProtoReflect() protoreflect.Message
func (*Object_ObjectField) Reset ¶
func (x *Object_ObjectField) Reset()
func (*Object_ObjectField) String ¶
func (x *Object_ObjectField) String() string
type Scalar ¶
type Scalar struct { Type *Scalar_Type `protobuf:"varint,1,req,name=type,enum=Mysqlx.Datatypes.Scalar_Type" json:"type,omitempty"` VSignedInt *int64 `protobuf:"zigzag64,2,opt,name=v_signed_int,json=vSignedInt" json:"v_signed_int,omitempty"` VUnsignedInt *uint64 `protobuf:"varint,3,opt,name=v_unsigned_int,json=vUnsignedInt" json:"v_unsigned_int,omitempty"` // 4 is unused, was Null which doesn't have a storage anymore VOctets *Scalar_Octets `protobuf:"bytes,5,opt,name=v_octets,json=vOctets" json:"v_octets,omitempty"` VDouble *float64 `protobuf:"fixed64,6,opt,name=v_double,json=vDouble" json:"v_double,omitempty"` VFloat *float32 `protobuf:"fixed32,7,opt,name=v_float,json=vFloat" json:"v_float,omitempty"` VBool *bool `protobuf:"varint,8,opt,name=v_bool,json=vBool" json:"v_bool,omitempty"` VString *Scalar_String `protobuf:"bytes,9,opt,name=v_string,json=vString" json:"v_string,omitempty"` // contains filtered or unexported fields }
a scalar
func (*Scalar) Descriptor
deprecated
func (*Scalar) GetType ¶
func (x *Scalar) GetType() Scalar_Type
func (*Scalar) GetVDouble ¶
func (*Scalar) GetVOctets ¶
func (x *Scalar) GetVOctets() *Scalar_Octets
func (*Scalar) GetVSignedInt ¶
func (*Scalar) GetVString ¶
func (x *Scalar) GetVString() *Scalar_String
func (*Scalar) GetVUnsignedInt ¶
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) ProtoReflect ¶
func (x *Scalar) ProtoReflect() protoreflect.Message
type Scalar_Octets ¶
type Scalar_Octets struct { Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` ContentType *uint32 `protobuf:"varint,2,opt,name=content_type,json=contentType" json:"content_type,omitempty"` // contains filtered or unexported fields }
* an opaque octet sequence, with an optional content_type See @ref Mysqlx::Resultset::ContentType_BYTES for list of known values.
func (*Scalar_Octets) Descriptor
deprecated
func (*Scalar_Octets) Descriptor() ([]byte, []int)
Deprecated: Use Scalar_Octets.ProtoReflect.Descriptor instead.
func (*Scalar_Octets) GetContentType ¶
func (x *Scalar_Octets) GetContentType() uint32
func (*Scalar_Octets) GetValue ¶
func (x *Scalar_Octets) GetValue() []byte
func (*Scalar_Octets) ProtoMessage ¶
func (*Scalar_Octets) ProtoMessage()
func (*Scalar_Octets) ProtoReflect ¶
func (x *Scalar_Octets) ProtoReflect() protoreflect.Message
func (*Scalar_Octets) Reset ¶
func (x *Scalar_Octets) Reset()
func (*Scalar_Octets) String ¶
func (x *Scalar_Octets) String() string
type Scalar_String ¶
type Scalar_String struct { Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` Collation *uint64 `protobuf:"varint,2,opt,name=collation" json:"collation,omitempty"` // contains filtered or unexported fields }
* a string with a charset/collation
func (*Scalar_String) Descriptor
deprecated
func (*Scalar_String) Descriptor() ([]byte, []int)
Deprecated: Use Scalar_String.ProtoReflect.Descriptor instead.
func (*Scalar_String) GetCollation ¶
func (x *Scalar_String) GetCollation() uint64
func (*Scalar_String) GetValue ¶
func (x *Scalar_String) GetValue() []byte
func (*Scalar_String) ProtoMessage ¶
func (*Scalar_String) ProtoMessage()
func (*Scalar_String) ProtoReflect ¶
func (x *Scalar_String) ProtoReflect() protoreflect.Message
func (*Scalar_String) Reset ¶
func (x *Scalar_String) Reset()
func (*Scalar_String) String ¶
func (x *Scalar_String) String() string
type Scalar_Type ¶
type Scalar_Type int32
const ( Scalar_V_SINT Scalar_Type = 1 Scalar_V_UINT Scalar_Type = 2 Scalar_V_NULL Scalar_Type = 3 Scalar_V_OCTETS Scalar_Type = 4 Scalar_V_DOUBLE Scalar_Type = 5 Scalar_V_FLOAT Scalar_Type = 6 Scalar_V_BOOL Scalar_Type = 7 Scalar_V_STRING Scalar_Type = 8 )
func (Scalar_Type) Descriptor ¶
func (Scalar_Type) Descriptor() protoreflect.EnumDescriptor
func (Scalar_Type) Enum ¶
func (x Scalar_Type) Enum() *Scalar_Type
func (Scalar_Type) EnumDescriptor
deprecated
func (Scalar_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scalar_Type.Descriptor instead.
func (Scalar_Type) Number ¶
func (x Scalar_Type) Number() protoreflect.EnumNumber
func (Scalar_Type) String ¶
func (x Scalar_Type) String() string
func (Scalar_Type) Type ¶
func (Scalar_Type) Type() protoreflect.EnumType
func (*Scalar_Type) UnmarshalJSON
deprecated
func (x *Scalar_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.